Skip to content

Commit 822ccd5

Browse files
authored
Merge pull request kubernetes#17652 from aledbf/push
Add ingress-nginx push image postsubmit job
2 parents d4b8cfe + edcb5f0 commit 822ccd5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
postsubmits:
2+
# This is the github repo we'll build from. This block needs to be repeated
3+
# for each repo.
4+
kubernetes/ingress-nginx:
5+
# The name should be changed to match the repo name above
6+
- name: post-ingress-nginx-push-images
7+
cluster: k8s-infra-prow-build-trusted
8+
annotations:
9+
# This is the name of some testgrid dashboard to report to.
10+
# If this is the first one for your sig, you may need to create one
11+
testgrid-dashboards: sig-network-ingress-nginx
12+
decorate: true
13+
# this causes the job to only run on the master branch. Remove it if your
14+
# job makes sense on every branch (unless it's setting a `latest` tag it
15+
# probably does).
16+
branches:
17+
- ^master$
18+
spec:
19+
serviceAccountName: gcb-builder
20+
containers:
21+
- image: gcr.io/k8s-testimages/image-builder:v20190906-d5d7ce3
22+
command:
23+
- /run.sh
24+
args:
25+
# this is the project GCB will run in, which is the same as the GCR
26+
# images are pushed to.
27+
- --project=k8s-staging-ingress-nginx
28+
# This is the same as above, but with -gcb appended.
29+
- --scratch-bucket=gs://k8s-staging-ingress-nginx-gcb
30+
- --env-passthrough=PULL_BASE_REF
31+
- .

0 commit comments

Comments
 (0)