mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02:00
Upload Cloud Build schema-deploy config to GCS (#435)
* Upload Cloud Build schema-deploy config to GCS Forgot to upload cloudbuild-schema-deploy.yaml to GCS.
This commit is contained in:
parent
d3ff53466e
commit
36cfd31b80
2 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,7 @@ artifacts:
|
|||
- 'release/cloudbuild-tag.yaml'
|
||||
- 'release/cloudbuild-sync.yaml'
|
||||
- 'release/cloudbuild-deploy-*.yaml'
|
||||
- 'release/cloudbuild-schema-deploy-*.yaml'
|
||||
|
||||
timeout: 3600s
|
||||
options:
|
||||
|
|
|
@ -129,6 +129,10 @@ steps:
|
|||
sed -i s/schema_deployer:latest/schema_deployer@$schema_deployer_digest/g \
|
||||
release/cloudbuild-schema-deploy.yaml
|
||||
sed -i s/'$${TAG_NAME}'/${TAG_NAME}/g release/cloudbuild-schema-deploy.yaml
|
||||
for environment in alpha crash sandbox production; do
|
||||
sed s/'$${_ENV}'/${environment}/g release/cloudbuild-schema-deploy.yaml \
|
||||
> release/cloudbuild-schema-deploy-${environment}.yaml
|
||||
done
|
||||
# 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
|
||||
|
|
Loading…
Add table
Reference in a new issue