Skip to content

Commit 57479ed

Browse files
author
Travis Clarke
committed
autodeploy docker images for authentikos and genjobs
1 parent 919a342 commit 57479ed

File tree

2 files changed

+57
-6
lines changed

2 files changed

+57
-6
lines changed

prow/cluster/jobs/istio/test-infra/istio.test-infra.trusted.master.yaml

Lines changed: 49 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ postsubmits:
7272
- master
7373
labels:
7474
preset-prow-pusher-service-account: "true"
75+
preset-enable-dind: "true"
7576
annotations:
7677
testgrid-create-test-group: "false"
7778
spec:
@@ -85,14 +86,56 @@ postsubmits:
8586
- docker/prowbazel
8687
- image
8788
- push-safe
89+
90+
- name: post-test-infra-push-authentikos
91+
cluster: test-infra-trusted
92+
run_if_changed: '^authentikos/Makefile$'
93+
decorate: true
94+
max_concurrency: 1
95+
branches:
96+
- master
97+
labels:
98+
preset-prow-pusher-service-account: "true"
99+
preset-enable-dind: "true"
100+
annotations:
101+
testgrid-create-test-group: "false"
102+
spec:
103+
containers:
104+
- image: gcr.io/istio-testing/build-tools:2019-10-18T22-40-12
105+
command:
106+
- entrypoint
107+
args:
108+
- make
109+
- -C
110+
- authentikos
111+
- deploy
112+
securityContext:
113+
privileged: true
114+
115+
- name: post-test-infra-push-genjobs
116+
cluster: test-infra-trusted
117+
run_if_changed: '^prow/genjobs/Makefile$'
118+
decorate: true
119+
max_concurrency: 1
120+
branches:
121+
- master
122+
labels:
123+
preset-prow-pusher-service-account: "true"
124+
preset-enable-dind: "true"
125+
annotations:
126+
testgrid-create-test-group: "false"
127+
spec:
128+
containers:
129+
- image: gcr.io/istio-testing/build-tools:2019-10-18T22-40-12
130+
command:
131+
- entrypoint
132+
args:
133+
- make
134+
- -C
135+
- prow/genjobs
136+
- deploy
88137
securityContext:
89138
privileged: true
90-
volumeMounts:
91-
- name: docker-root
92-
mountPath: /var/lib/docker
93-
volumes:
94-
- name: docker-root
95-
emptyDir: {}
96139

97140
- name: post-test-infra-upload-testgrid-config
98141
cluster: test-infra-trusted

prow/config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,14 @@ presets:
488488
configMapKeyRef:
489489
name: release-1.4-deps
490490
key: dependencies
491+
- labels:
492+
preset-enable-dind: "true"
493+
volumeMounts:
494+
- name: docker-root
495+
mountPath: /var/lib/docker
496+
volumes:
497+
- name: docker-root
498+
emptyDir: {}
491499
# Enable GOPROXY by default
492500
- env:
493501
- name: GOPROXY

0 commit comments

Comments
 (0)