Skip to content

Commit a4a3f0d

Browse files
Cloud Build: Fix substitutions. (#11760)
Prow hands in some substitutions via arguments we need to ignore. Co-authored-by: Marco Ebert <[email protected]>
1 parent 1330c06 commit a4a3f0d

File tree

12 files changed

+33
-2
lines changed

12 files changed

+33
-2
lines changed

cloudbuild.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
substitutions:
2-
_PULL_BASE_SHA: "12345"
1+
options:
2+
# Ignore Prow provided substitutions.
3+
substitution_option: ALLOW_LOOSE
34
steps:
45
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
56
env:

images/cfssl/cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
options:
2+
# Ignore Prow provided substitutions.
3+
substitution_option: ALLOW_LOOSE
14
steps:
25
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
36
env:

images/custom-error-pages/cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
options:
2+
# Ignore Prow provided substitutions.
3+
substitution_option: ALLOW_LOOSE
14
steps:
25
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
36
env:

images/ext-auth-example-authsvc/cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
options:
2+
# Ignore Prow provided substitutions.
3+
substitution_option: ALLOW_LOOSE
14
steps:
25
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
36
env:

images/fastcgi-helloserver/cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
options:
2+
# Ignore Prow provided substitutions.
3+
substitution_option: ALLOW_LOOSE
14
steps:
25
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
36
env:

images/go-grpc-greeter-server/cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
options:
2+
# Ignore Prow provided substitutions.
3+
substitution_option: ALLOW_LOOSE
14
steps:
25
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
36
env:

images/httpbun/cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
options:
2+
# Ignore Prow provided substitutions.
3+
substitution_option: ALLOW_LOOSE
14
steps:
25
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
36
env:

images/kube-webhook-certgen/cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
options:
2+
# Ignore Prow provided substitutions.
3+
substitution_option: ALLOW_LOOSE
14
steps:
25
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
36
env:

images/nginx-1.25/cloudbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
options:
22
# Increase machine type for multi-arch builds.
33
machineType: E2_HIGHCPU_32
4+
# Ignore Prow provided substitutions.
5+
substitution_option: ALLOW_LOOSE
46
steps:
57
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
68
env:

images/nginx/cloudbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
options:
22
# Increase machine type for multi-arch builds.
33
machineType: E2_HIGHCPU_32
4+
# Ignore Prow provided substitutions.
5+
substitution_option: ALLOW_LOOSE
46
steps:
57
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
68
env:

0 commit comments

Comments
 (0)