This commit is contained in:
davidstanke 2018-10-16 19:42:16 +00:00 committed by GitHub
commit 2ce7b03ee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View file

@ -178,3 +178,5 @@ Find **Protocol Buffers Descriptions** at the [`./pb` directory](./pb).
application.
This is not an official Google project.

18
cloudbuild.yaml Normal file
View file

@ -0,0 +1,18 @@
# Cloudbuild.yaml to deploy to prod
#
# PREREQUISITES:
# Skaffold builder image must be present in this project's container registry
# (see https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/skaffold)
#
# Cloud Build service account must have "Kubernetes Engine Developer" role
steps:
- name: gcr.io/$PROJECT_ID/skaffold
args: ['run', '-f=skaffold.yaml']
env:
- 'CLOUDSDK_COMPUTE_ZONE=us-central1-b'
- 'CLOUDSDK_CONTAINER_CLUSTER=demo-app-staging'
timeout: 1800s
options: # Add more power, and more time, for heavy Skaffold build
machineType: 'N1_HIGHCPU_8'