Skip to content

Commit 87b33df

Browse files
committed
Cloudbuild: fix envsubst that I broke again
Signed-off-by: Maël Valais <[email protected]>
1 parent 4fda671 commit 87b33df

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cloudbuild.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ steps:
3939
- -exc
4040
- |
4141
cat data-test/schema.yaml \
42-
| IMAGE=gcr.io/$PROJECT_ID/jetstack-secure-for-cert-manager/smoke-test:build-${nvsubst \
42+
| IMAGE=gcr.io/$PROJECT_ID/jetstack-secure-for-cert-manager/smoke-test:${_APP_VERSION} envsubst \
4343
| tee /dev/stderr > /tmp/schema.yaml && mv /tmp/schema.yaml data-test/schema.yaml
4444
waitFor:
4545
- "-"
@@ -51,15 +51,17 @@ steps:
5151
- --tag
5252
- gcr.io/$PROJECT_ID/jetstack-secure-for-cert-manager/deployer:${_APP_VERSION}
5353
- "."
54-
waitFor: ["set-data-test-schema-default-values"]
54+
waitFor:
55+
- set-data-test-schema-default-values
5556

5657
- id: retag-deployer
5758
name: gcr.io/cloud-builders/docker
5859
args:
5960
- tag
6061
- gcr.io/$PROJECT_ID/jetstack-secure-for-cert-manager/deployer:${_APP_VERSION}
6162
- gcr.io/$PROJECT_ID/jetstack-secure-for-cert-manager/deployer:${_APP_MINOR_VERSION}
62-
waitFor: ["set-data-test-schema-default-values"]
63+
waitFor:
64+
- build-deployer
6365

6466
- id: push-deployer
6567
name: gcr.io/cloud-builders/docker

0 commit comments

Comments
 (0)