Skip to content

Commit af3b2ad

Browse files
committed
Enable Docker CI
1 parent f40c3e4 commit af3b2ad

File tree

1 file changed

+207
-0
lines changed

1 file changed

+207
-0
lines changed
Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
periodics:
2+
- name: periodic-config-docker
3+
cluster: k8s-ppc64le-cluster
4+
labels:
5+
preset-build-docker: "true"
6+
cron: 0 0 * * *
7+
decorate: true
8+
extra_refs:
9+
- base_ref: main
10+
org: ppc64le-cloud
11+
repo: docker-ce-build
12+
reporter_config:
13+
slack:
14+
channel: 'prow-job-notifications'
15+
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
16+
spec:
17+
containers:
18+
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
19+
resources:
20+
requests:
21+
cpu: "4000m"
22+
limits:
23+
cpu: "4000m"
24+
command:
25+
- /bin/bash
26+
args:
27+
- -c
28+
- |
29+
set -o errexit
30+
set -o nounset
31+
set -o pipefail
32+
set -o xtrace
33+
echo "* Start prow-info-docker *"
34+
chmod ug+x $PWD/upstream-master-ci/prow-info-docker.sh
35+
$PWD/upstream-master-ci/prow-info-docker.sh
36+
rc=$?
37+
[ $rc != 0 ] && echo "ERROR: prow-info-docker exited with code:$rc"
38+
exit $rc
39+
securityContext:
40+
privileged: true
41+
volumeMounts:
42+
- name: boot
43+
mountPath: /boot
44+
volumes:
45+
- name: boot
46+
hostpath:
47+
path: /boot/
48+
- name: periodic-build-dev-image-docker
49+
cluster: k8s-ppc64le-cluster
50+
labels:
51+
preset-build-docker: "true"
52+
cron: 0 3 * * *
53+
decorate: true
54+
extra_refs:
55+
- base_ref: main
56+
org: ppc64le-cloud
57+
repo: docker-ce-build
58+
reporter_config:
59+
slack:
60+
channel: 'prow-job-notifications'
61+
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
62+
spec:
63+
containers:
64+
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
65+
resources:
66+
requests:
67+
cpu: "4000m"
68+
limits:
69+
cpu: "4000m"
70+
command:
71+
- /bin/bash
72+
args:
73+
- -c
74+
- |
75+
set -o errexit
76+
set -o nounset
77+
set -o pipefail
78+
set -o xtrace
79+
echo "* Start prow-build-dev-image *"
80+
chmod ug+x $PWD/upstream-master-ci/prow-build-dev-image.sh
81+
$PWD/upstream-master-ci/prow-build-dev-image.sh
82+
rc=$?
83+
[ $rc != 0 ] && echo "ERROR: prow-build-dev-image exited with code:$rc"
84+
exit $rc
85+
securityContext:
86+
privileged: true
87+
- name: periodic-unit-test-docker
88+
cluster: k8s-ppc64le-cluster
89+
labels:
90+
preset-build-docker: "true"
91+
cron: 0 9 * * *
92+
decorate: true
93+
extra_refs:
94+
- base_ref: main
95+
org: ppc64le-cloud
96+
repo: docker-ce-build
97+
reporter_config:
98+
slack:
99+
channel: 'prow-job-notifications'
100+
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
101+
spec:
102+
containers:
103+
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
104+
resources:
105+
requests:
106+
cpu: "4000m"
107+
limits:
108+
cpu: "4000m"
109+
command:
110+
- /bin/bash
111+
args:
112+
- -c
113+
- |
114+
set -o errexit
115+
set -o nounset
116+
set -o pipefail
117+
set -o xtrace
118+
echo "* Start prow-unit-test-docker *"
119+
chmod ug+x $PWD/upstream-master-ci/prow-unit-test-docker.sh
120+
$PWD/upstream-master-ci/prow-unit-test-docker.sh
121+
rc=$?
122+
[ $rc != 0 ] && echo "ERROR: prow-unit-test-docker exited with code:$rc"
123+
exit $rc
124+
securityContext:
125+
privileged: true
126+
- name: periodic-integration-cli-docker
127+
cluster: k8s-ppc64le-cluster
128+
labels:
129+
preset-build-docker: "true"
130+
cron: 0 14 * * *
131+
decorate: true
132+
decoration_config:
133+
timeout: 3h
134+
extra_refs:
135+
- base_ref: main
136+
org: ppc64le-cloud
137+
repo: docker-ce-build
138+
reporter_config:
139+
slack:
140+
channel: 'prow-job-notifications'
141+
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
142+
spec:
143+
containers:
144+
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
145+
resources:
146+
requests:
147+
cpu: "4000m"
148+
limits:
149+
cpu: "4000m"
150+
command:
151+
- /bin/bash
152+
args:
153+
- -c
154+
- |
155+
set -o errexit
156+
set -o nounset
157+
set -o pipefail
158+
set -o xtrace
159+
echo "* Start prow-integration-tests *"
160+
chmod ug+x $PWD/upstream-master-ci/prow-integration-cli.sh
161+
$PWD/upstream-master-ci/prow-integration-cli.sh
162+
rc=$?
163+
[ $rc != 0 ] && echo "ERROR: prow-integration-tests exited with code:$rc"
164+
exit $rc
165+
securityContext:
166+
privileged: true
167+
- name: periodic-integration-test-docker
168+
cluster: k8s-ppc64le-cluster
169+
labels:
170+
preset-build-docker: "true"
171+
cron: 30 14 * * *
172+
decorate: true
173+
decoration_config:
174+
timeout: 3h
175+
extra_refs:
176+
- base_ref: main
177+
org: ppc64le-cloud
178+
repo: docker-ce-build
179+
reporter_config:
180+
slack:
181+
channel: 'prow-job-notifications'
182+
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S02N6DWBX0F> <{{.Status.URL}}|View logs>'
183+
spec:
184+
containers:
185+
- image: quay.io/powercloud/docker-ce-build@sha256:b89afc315f96f5cfd43de82b3b02f9221983592b893f838d816db5954088c9fc
186+
resources:
187+
requests:
188+
cpu: "4000m"
189+
limits:
190+
cpu: "4000m"
191+
command:
192+
- /bin/bash
193+
args:
194+
- -c
195+
- |
196+
set -o errexit
197+
set -o nounset
198+
set -o pipefail
199+
set -o xtrace
200+
echo "* Start prow-integration-tests *"
201+
chmod ug+x $PWD/upstream-master-ci/prow-integration-tests.sh
202+
$PWD/upstream-master-ci/prow-integration-tests.sh
203+
rc=$?
204+
[ $rc != 0 ] && echo "ERROR: prow-integration-tests exited with code:$rc"
205+
exit $rc
206+
securityContext:
207+
privileged: true

0 commit comments

Comments
 (0)