From 7586d4212826157c22acd8275c2b669a098ca0d5 Mon Sep 17 00:00:00 2001 From: Dave Stanke Date: Tue, 16 Oct 2018 13:56:26 -0400 Subject: [PATCH 1/2] Add GCB cloudbuild.yaml config --- cloudbuild.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cloudbuild.yaml diff --git a/cloudbuild.yaml b/cloudbuild.yaml new file mode 100644 index 0000000..29616e1 --- /dev/null +++ b/cloudbuild.yaml @@ -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' \ No newline at end of file From 8b5012b2cc40778229037dcefcc9ec8259e3c91e Mon Sep 17 00:00:00 2001 From: davidstanke Date: Tue, 16 Oct 2018 15:42:12 -0400 Subject: [PATCH 2/2] Trivial commit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 72a7a09..1226b9a 100644 --- a/README.md +++ b/README.md @@ -178,3 +178,5 @@ Find **Protocol Buffers Descriptions** at the [`./pb` directory](./pb). application. This is not an official Google project. + +