Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
Depends on the sidekiq-cron gem.
curl https://gist.githubusercontent.com/ssaunier/e2d488bb931b5dc8df0f329c652eac25/raw/health_check_job.rb > app/jobs/health_check_job.rbYou need to set HEALTH_CHECK_URL in the prod ENV.
| variable "aws_region" { | |
| description = "EC2 Region for the VPC" | |
| default = "us-west-2" | |
| } | |
| variable "aws_availability_zones" { | |
| default = "us-west-2a,us-west-2b,us-west-2c" | |
| description = "List of availability zones, use AWS CLI to find your " | |
| } | 
| image: docker:latest | |
| # When using dind, it's wise to use the overlayfs driver for | |
| # improved performance. | |
| variables: | |
| DOCKER_DRIVER: overlay | |
| GCP_PROJECT_ID: CHANGE-TO-GCP-PROJECT-ID | |
| IMAGE_NAME: image_id | |
| services: | 
These scripts are meant to be run using the Google Cloud Shell
$ curl -o install-director-infrastructure.sh https://gist.githubusercontent.com/raw/2818bdb9ee660d1928c011ac019878a9/install-director-infrastructure.sh && . ./install-director-infrastructure.sh
$ gcloud compute ssh bosh-bastion "curl -o install-director.sh https://gist.githubusercontent.com/raw/2818bdb9ee660d1928c011ac019878a9/install-director.sh && . ./install-director.sh"
then clean up with
$ curl -o destroy-director.sh https://gist.githubusercontent.com/raw/2818bdb9ee660d1928c011ac019878a9/destroy-director.sh && . ./destroy-director.sh
These instructions are for setting up the GitHub Pull Request Builder Plugin from a clean install of Jenkins. If you allready have the plugin installed, jump to: setting up a new job
Please send any questions about this document or report any errors to ibamr-dev@googlegroups.com
| # Set nginx base image | |
| FROM nginx | |
| # Copy custom configuration file from the current directory | |
| COPY nginx.conf /etc/nginx/nginx.conf | 
| gcloud auth | |
| gcloud auth activate-refresh-token | |
| gcloud auth activate-service-account | |
| gcloud auth git-helper | |
| gcloud auth list | |
| gcloud auth login | |
| gcloud auth print-access-token | |
| gcloud auth print-refresh-token | |
| gcloud auth revoke | |
| gcloud components |