Skip to content

Commit

Permalink
Cloud Build: Fix substitutions.
Browse files Browse the repository at this point in the history
Prow hands in some substitutions via arguments we need to ignore.
  • Loading branch information
Gacko committed Aug 11, 2024
1 parent 978bdee commit 5e584fc
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 5e584fc

Please sign in to comment.