Skip to content

Commit

Permalink
Cloud Build: Fix substitutions. (kubernetes#11760)
Browse files Browse the repository at this point in the history
Prow hands in some substitutions via arguments we need to ignore.

Co-authored-by: Marco Ebert <[email protected]>
  • Loading branch information
2 people authored and krunalhinguu committed Aug 20, 2024
1 parent 311d807 commit 8d11f16
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
substitutions:
_PULL_BASE_SHA: "12345"
options:
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
3 changes: 3 additions & 0 deletions images/cfssl/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
options:
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
3 changes: 3 additions & 0 deletions images/custom-error-pages/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
options:
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
3 changes: 3 additions & 0 deletions images/ext-auth-example-authsvc/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
options:
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
3 changes: 3 additions & 0 deletions images/fastcgi-helloserver/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
options:
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
3 changes: 3 additions & 0 deletions images/go-grpc-greeter-server/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
options:
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
3 changes: 3 additions & 0 deletions images/httpbun/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
options:
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
3 changes: 3 additions & 0 deletions images/kube-webhook-certgen/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
options:
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
2 changes: 2 additions & 0 deletions images/nginx-1.25/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
options:
# Increase machine type for multi-arch builds.
machineType: E2_HIGHCPU_32
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
2 changes: 2 additions & 0 deletions images/nginx/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
options:
# Increase machine type for multi-arch builds.
machineType: E2_HIGHCPU_32
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
2 changes: 2 additions & 0 deletions images/opentelemetry/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
options:
# Increase machine type for multi-arch builds.
machineType: E2_HIGHCPU_8
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
3 changes: 3 additions & 0 deletions images/test-runner/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
options:
# Ignore Prow provided substitutions.
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down

0 comments on commit 8d11f16

Please sign in to comment.