Cloud Build: Some chores. (#11757)
* Cloud Build: Remove comment. * Cloud Build: Add newlines at EOF. * Cloud Build: Align comment. * Cloud Build: Remove trailing slash. * Cloud Build: Remove quotes. * Cloud Build: Align indentation. * Cloud Build: Improve quotes. * Cloud Build: Put arguments in one line. * Cloud Build: Bump image. * Cloud Build: Reorder entrypoint. * Cloud Build: Adjust timeouts. * Cloud Build: Remove useless files. * Cloud Build: Remove `substitution_option`. --------- Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
parent
9585eb3384
commit
1330c06235
21 changed files with 71 additions and 240 deletions
|
|
@ -1,25 +1,14 @@
|
|||
# See https://cloud.google.com/cloud-build/docs/build-config
|
||||
|
||||
timeout: 18000s
|
||||
options:
|
||||
substitution_option: ALLOW_LOOSE
|
||||
substitutions:
|
||||
_PULL_BASE_SHA: "12345"
|
||||
steps:
|
||||
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20211118-2f2d816b90'
|
||||
entrypoint: bash
|
||||
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240523-a15ad90fc9
|
||||
env:
|
||||
- DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
|
||||
- REPO_INFO=https://github.com/kubernetes/ingress-nginx
|
||||
- COMMIT_SHA=$_PULL_BASE_SHA
|
||||
- BUILD_ID=$BUILD_ID
|
||||
- HOME=/root
|
||||
- USER=root
|
||||
- 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'
|
||||
- -c
|
||||
- gcloud auth configure-docker && make release
|
||||
timeout: 1800s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue