mirror of
https://github.com/google/nomulus.git
synced 2025-07-27 04:58:37 +02:00
Remove bracket in Cloud Build script (#1658)
* Remove bracket around varname in CloudBuild script Due to spinnaker restriction: it cannot handle variable references where the var name has brackets around it. Added spinnaker error message to the comments
This commit is contained in:
parent
9912e35ea2
commit
4f69e1e0a6
1 changed files with 4 additions and 2 deletions
|
@ -23,7 +23,9 @@
|
||||||
# variable references must avoid the ${var} format. Valid formats include
|
# variable references must avoid the ${var} format. Valid formats include
|
||||||
# $var or ${"${var}"}. This file use the former. Since _ENV is expanded in the
|
# $var or ${"${var}"}. This file use the former. Since _ENV is expanded in the
|
||||||
# copies sent to Spinnaker, we preserve the brackets around them for safe
|
# copies sent to Spinnaker, we preserve the brackets around them for safe
|
||||||
# pattern matching during release.
|
# pattern matching during release. If the invalid ${var} format is used, the
|
||||||
|
# Spinnaker error message will have the following:
|
||||||
|
# 'Invalid JSON payload received. Unknown name \"expressionEvaluationSummary\"'
|
||||||
# See https://github.com/spinnaker/spinnaker/issues/3028 for more information.
|
# See https://github.com/spinnaker/spinnaker/issues/3028 for more information.
|
||||||
steps:
|
steps:
|
||||||
# Download and decrypt the nomulus tool credential, which has the privilege to
|
# Download and decrypt the nomulus tool credential, which has the privilege to
|
||||||
|
@ -69,7 +71,7 @@ steps:
|
||||||
set -e
|
set -e
|
||||||
deployed_schema_tag=$(gsutil cat \
|
deployed_schema_tag=$(gsutil cat \
|
||||||
gs://$PROJECT_ID-deployed-tags/sql.${_ENV}.tag)
|
gs://$PROJECT_ID-deployed-tags/sql.${_ENV}.tag)
|
||||||
gsutil cp gs://$PROJECT_ID-deploy/${deployed_schema_tag}/schema.jar \
|
gsutil cp gs://$PROJECT_ID-deploy/$deployed_schema_tag/schema.jar \
|
||||||
/schema
|
/schema
|
||||||
# Verify the schema
|
# Verify the schema
|
||||||
- name: 'gcr.io/$PROJECT_ID/schema_verifier:latest'
|
- name: 'gcr.io/$PROJECT_ID/schema_verifier:latest'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue