Skip to content

Commit

Permalink
Cloud Build: Remove substitution_option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gacko committed Aug 10, 2024
1 parent 4ac9666 commit 9458294
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 27 deletions.
12 changes: 4 additions & 8 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
options:
substitution_option: ALLOW_LOOSE
substitutions:
_PULL_BASE_SHA: "12345"
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
- REPO_INFO=https://github.com/kubernetes/ingress-nginx
- COMMIT_SHA=$_PULL_BASE_SHA
- BUILD_ID=$BUILD_ID
- COMMIT_SHA=${_PULL_BASE_SHA}
- BUILD_ID=${BUILD_ID}
entrypoint: bash
args:
- -c
- gcloud auth configure-docker && make release
substitutions:
_GIT_TAG: "12345"
_PULL_BASE_REF: main
_PULL_BASE_SHA: "12345"
timeout: 1800s
2 changes: 0 additions & 2 deletions images/cfssl/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
options:
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
2 changes: 0 additions & 2 deletions images/custom-error-pages/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
options:
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
2 changes: 0 additions & 2 deletions images/ext-auth-example-authsvc/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
options:
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
2 changes: 0 additions & 2 deletions images/fastcgi-helloserver/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
options:
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
2 changes: 0 additions & 2 deletions images/go-grpc-greeter-server/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
options:
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
2 changes: 0 additions & 2 deletions images/httpbun/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
options:
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
2 changes: 0 additions & 2 deletions images/kube-webhook-certgen/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
options:
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down
1 change: 0 additions & 1 deletion images/nginx-1.25/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
options:
substitution_option: ALLOW_LOOSE
# Increase machine type for multi-arch builds.
machineType: E2_HIGHCPU_32
steps:
Expand Down
1 change: 0 additions & 1 deletion images/nginx/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
options:
substitution_option: ALLOW_LOOSE
# Increase machine type for multi-arch builds.
machineType: E2_HIGHCPU_32
steps:
Expand Down
1 change: 0 additions & 1 deletion images/opentelemetry/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
options:
substitution_option: ALLOW_LOOSE
# Increase machine type for multi-arch builds.
machineType: E2_HIGHCPU_8
steps:
Expand Down
2 changes: 0 additions & 2 deletions images/test-runner/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
options:
substitution_option: ALLOW_LOOSE
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
env:
Expand Down

0 comments on commit 9458294

Please sign in to comment.