Set beam deployment environment in GCB trigger (#157)

This commit is contained in:
Lai Jiang 2019-07-03 16:28:28 -04:00 committed by GitHub
parent 6536631857
commit 82f51accbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ steps:
sed -i s/GCP_PROJECT/${PROJECT_ID}/ proxy/kubernetes/proxy-*.yaml
sed -i s/'$${TAG_NAME}'/${TAG_NAME}/g release/cloudbuild-sync.yaml
sed -i s/'$${TAG_NAME}'/${TAG_NAME}/g release/cloudbuild-beam.yaml
sed -i s/'$${_ENV}'/production/g release/cloudbuild-beam.yaml
sed -i s/'$${_ENV}'/${_ENV}/g release/cloudbuild-beam.yaml
# Upload the gradle binary to GCS if it does not exist and point URL in gradle wrapper to it.
- name: 'gcr.io/cloud-builders/gsutil'
entrypoint: /bin/bash