forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#17652 from aledbf/push
Add ingress-nginx push image postsubmit job
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
postsubmits: | ||
# This is the github repo we'll build from. This block needs to be repeated | ||
# for each repo. | ||
kubernetes/ingress-nginx: | ||
# The name should be changed to match the repo name above | ||
- name: post-ingress-nginx-push-images | ||
cluster: k8s-infra-prow-build-trusted | ||
annotations: | ||
# This is the name of some testgrid dashboard to report to. | ||
# If this is the first one for your sig, you may need to create one | ||
testgrid-dashboards: sig-network-ingress-nginx | ||
decorate: true | ||
# this causes the job to only run on the master branch. Remove it if your | ||
# job makes sense on every branch (unless it's setting a `latest` tag it | ||
# probably does). | ||
branches: | ||
- ^master$ | ||
spec: | ||
serviceAccountName: gcb-builder | ||
containers: | ||
- image: gcr.io/k8s-testimages/image-builder:v20190906-d5d7ce3 | ||
command: | ||
- /run.sh | ||
args: | ||
# this is the project GCB will run in, which is the same as the GCR | ||
# images are pushed to. | ||
- --project=k8s-staging-ingress-nginx | ||
# This is the same as above, but with -gcb appended. | ||
- --scratch-bucket=gs://k8s-staging-ingress-nginx-gcb | ||
- --env-passthrough=PULL_BASE_REF | ||
- . |