Skip to content

Instantly share code, notes, and snippets.

View webyneter's full-sized avatar
🎯
Focusing

Nikita Shupeyko webyneter

🎯
Focusing
View GitHub Profile
# terraform apply ./tfp
helm_release.cert_manager: Creating...
helm_release.nginx_ingress: Creating...
helm_release.cert_manager: Still creating... [10s elapsed]
helm_release.nginx_ingress: Still creating... [10s elapsed]
helm_release.nginx_ingress: Creation complete after 16s [id=staging-nginx-ingress-60f41c36]
helm_release.cert_manager: Still creating... [20s elapsed]
helm_release.cert_manager: Still creating... [30s elapsed]
helm_release.cert_manager: Still creating... [40s elapsed]
# terraform plan -out ./tfp
# ...
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
Error: Unsupported argument
on main.tf line 50, in resource "google_container_cluster" "cluster":
50: end_time = "03:00" # Has failed with `An argument named "end_time" is not expected here.`
An argument named "end_time" is not expected here.
Error: Unsupported argument
Error: Unsupported block type
on main.tf line 89, in resource "google_container_node_pool" "cluster_nodes":
89: release_channel {
Blocks of type "release_channel" are not expected here.
@webyneter
webyneter / ssh_from_gitlab_ci_runner.bash
Created August 6, 2018 18:34
SSH from GitLab CI runner
#!/usr/bin/env bash
### Source:
### https://gist.github.com/yannhowe/5ab1501156bd84c8ac261e2c17b8e3e0#gistcomment-2564991
mkdir -p ~/.ssh
# https://docs.gitlab.com/ee/ci/ssh_keys/#how-it-works
echo "${CI_RUNNER_SSH_PRIVATE_KEY}" | tr -d '\r' > ~/.ssh/id_rsa
@webyneter
webyneter / .travis.yml
Last active October 9, 2019 02:04
Travis CI + Codecov + Docker / Docker Compose (+ Python / Django, but that's not the point anyway)
# This setup took me a few hours to come up with; codecov docs turned out to be useless in the end.
# With this gist I hope to be the last one to have ever faced it again :)
sudo: required
services:
- docker
before_install:
- docker version