-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
320 lines (311 loc) · 12.6 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
prowjob_namespace: default
pod_namespace: test-pods
deck:
spyglass:
size_limit: 500000000
lenses:
- lens:
name: buildlog
config:
highlight_regexes:
- timed_out
- 'ERROR:'
- (\s|^)(FAIL|Failure \[)\b
- (\s|^)panic\b
- ^E\d{4} \d\d:\d\d:\d\d.\d\d\d]
required_files:
- build-log.txt
plank:
allow_cancellation: true
job_url_prefix: 'https://prow.cop.rht-labs.com/view/gcs'
default_decoration_config:
utility_images:
clonerefs: gcr.io/k8s-prow/clonerefs:v20190823-9f991db2d
initupload: gcr.io/k8s-prow/initupload:v20190823-9f991db2d
entrypoint: gcr.io/k8s-prow/entrypoint:v20190823-9f991db2d
sidecar: gcr.io/k8s-prow/sidecar:v20190823-9f991db2d
gcs_configuration:
bucket: prow-artifacts-cop
path_strategy: explicit
gcs_credentials_secret: gcs-credentials
periodics:
- name: pl-daily-master
interval: 24h
decorate: true
always_run: true
skip_report: true
extra_refs:
- org: redhat-cop
repo: pipeline-library
base_ref: master
spec:
automountServiceAccountToken: true
containers:
- image: quay.io/redhat-cop/openshift-applier:v2.1.1
command: ["/usr/local/bin/entrypoint", "/bin/bash", "-c"]
args: ["oc login --token $(cat /run/secrets/kubernetes.io/serviceaccount/token) --server https://kubernetes.default.svc --certificate-authority /run/secrets/kubernetes.io/serviceaccount/ca.crt && _test/setup.sh applier plci-${PROW_JOB_ID} && _test/setup.sh test plci-${PROW_JOB_ID} && oc delete project plci-${PROW_JOB_ID}{,-promotion-testing,-build-s2i-executable,-sonarqube}"]
env:
- name: GIT_COMMITTER_NAME
value: RedHat Containers CoP
- name: GIT_COMMITTER_EMAIL
value: redhat-cop@redhat.com
- name: cq-daily-master
interval: 24h
decorate: true
always_run: true
skip_report: true
extra_refs:
- org: redhat-cop
repo: containers-quickstarts
base_ref: master
spec:
automountServiceAccountToken: true
containers:
- image: quay.io/redhat-cop/openshift-applier:v2.1.1
command: ["/usr/local/bin/entrypoint", "/bin/bash", "-c"]
args: ["oc login --token $(cat /run/secrets/kubernetes.io/serviceaccount/token) --server https://kubernetes.default.svc --certificate-authority /run/secrets/kubernetes.io/serviceaccount/ca.crt && _test/setup.sh applier cqci-${PROW_JOB_ID} && _test/setup.sh test cqci-${PROW_JOB_ID} && oc delete project cqci-${PROW_JOB_ID}"]
env:
- name: GIT_COMMITTER_NAME
value: RedHat Containers CoP
- name: GIT_COMMITTER_EMAIL
value: redhat-cop@redhat.com
- name: cq-rabbitmq-daily-master
interval: 24h
decorate: true
always_run: true
skip_report: true
extra_refs:
- org: redhat-cop
repo: containers-quickstarts
base_ref: master
spec:
automountServiceAccountToken: true
containers:
- image: quay.io/redhat-cop/openshift-applier:v2.1.1
command: ["/usr/local/bin/entrypoint", "/bin/bash", "-c"]
args: ["mkdir -p $HOME/bin && curl -Lo $HOME/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x $HOME/bin/jq && export PATH=$PATH:$HOME/bin && oc login --token $(cat /run/secrets/kubernetes.io/serviceaccount/token) --server https://kubernetes.default.svc --certificate-authority /run/secrets/kubernetes.io/serviceaccount/ca.crt && _test/rabbitmq.sh applier cqci-rabbitmq-${PROW_JOB_ID} && _test/rabbitmq.sh test cqci-rabbitmq-${PROW_JOB_ID} && oc delete project cqci-rabbitmq-${PROW_JOB_ID}"]
env:
- name: GIT_COMMITTER_NAME
value: RedHat Containers CoP
- name: GIT_COMMITTER_EMAIL
value: redhat-cop@redhat.com
- name: openshift-templates-daily-master
interval: 24h
decorate: true
always_run: true
skip_report: true
extra_refs:
- org: pabrahamsson
repo: openshift-templates
base_ref: ci_test
spec:
containers:
- image: quay.io/redhat-cop/openshift-applier:v2.1.1
command: ["/usr/local/bin/entrypoint", "/bin/bash", "-c"]
args: ["_test/run.sh"]
env:
- name: GIT_COMMITTER_NAME
value: RedHat Containers CoP
- name: GIT_COMMITTER_EMAIL
value: redhat-cop@redhat.com
- name: org-update-configs-sync
decorate: true
interval: 24h
run_if_changed: config.yaml
extra_refs:
- org: redhat-cop
repo: org
base_ref: master
spec:
containers:
- args:
- --config-path=./config.yaml
- --confirm=true
- --github-token-path=/etc/github/oauth
- --github-endpoint=http://ghproxy.default.svc
- --github-endpoint=https://api.github.com
- --github-graphql-endpoint=http://ghproxy.default.svc/graphql
- --fix-org
- --fix-org-members
- --fix-teams
- --fix-team-members
- --fix-team-repos
command:
- /app/prow/cmd/peribolos/app.binary
image: gcr.io/k8s-prow/peribolos:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/github
name: token
readOnly: true
volumes:
- name: token
secret:
secretName: github-oauth-token
- name: pl-test-daily-master
interval: 24h
decorate: true
always_run: true
skip_report: true
extra_refs:
- org: pabrahamsson
repo: pipeline-library
base_ref: prow_support
spec:
automountServiceAccountToken: true
containers:
- image: quay.io/redhat-cop/openshift-applier:v2.1.1
command: ["/usr/local/bin/entrypoint", "/bin/bash", "-c"]
args: ["oc login --token $(cat /run/secrets/kubernetes.io/serviceaccount/token) --server https://kubernetes.default.svc --certificate-authority /run/secrets/kubernetes.io/serviceaccount/ca.crt && _test/setup.sh applier -n plci-${PROW_JOB_ID} && _test/setup.sh test -n plci-${PROW_JOB_ID} && oc delete project plci-${PROW_JOB_ID}{,-promotion-testing,-build-s2i-executable,-sonarqube}"]
env:
- name: GIT_COMMITTER_NAME
value: RedHat Containers CoP
- name: GIT_COMMITTER_EMAIL
value: redhat-cop@redhat.com
presubmits:
redhat-cop/containers-quickstarts:
- name: cq-jenkins-slaves-pr-build
decorate: true
#always_run: true
run_if_changed: "jenkins-slaves/.*"
skip_report: false
spec:
automountServiceAccountToken: true
containers:
- image: quay.io/redhat-cop/openshift-applier:v2.1.1
command: ["/usr/local/bin/entrypoint", "/bin/bash", "-c"]
args: ["mkdir -p $HOME/bin && curl -Lo $HOME/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x $HOME/bin/jq && export PATH=$PATH:$HOME/bin && oc login --token $(cat /run/secrets/kubernetes.io/serviceaccount/token) --server https://kubernetes.default.svc --certificate-authority /run/secrets/kubernetes.io/serviceaccount/ca.crt && _test/setup.sh applier cqci-${PROW_JOB_ID} $(echo ${JOB_SPEC}|jq -r '.refs.pulls[0].author')/${REPO_NAME} ${PULL_PULL_SHA} && _test/setup.sh test cqci-${PROW_JOB_ID} && oc delete project cqci-${PROW_JOB_ID}"]
env:
- name: GIT_COMMITTER_NAME
value: RedHat Containers CoP
- name: GIT_COMMITTER_EMAIL
value: redhat-cop@redhat.com
- name: cq-rabbitmq-pr-build
decorate: true
run_if_changed: "rabbitmq/.*"
skip_report: false
spec:
automountServiceAccountToken: true
containers:
- image: quay.io/redhat-cop/openshift-applier:v2.1.1
command: ["/usr/local/bin/entrypoint", "/bin/bash", "-c"]
args: ["mkdir -p $HOME/bin && curl -Lo $HOME/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x $HOME/bin/jq && export PATH=$PATH:$HOME/bin && oc login --token $(cat /run/secrets/kubernetes.io/serviceaccount/token) --server https://kubernetes.default.svc --certificate-authority /run/secrets/kubernetes.io/serviceaccount/ca.crt && _test/rabbitmq.sh applier cqci-${PROW_JOB_ID} $(echo ${JOB_SPEC}|jq -r '.refs.pulls[0].author')/${REPO_NAME} ${PULL_PULL_SHA} && _test/rabbitmq.sh test cqci-${PROW_JOB_ID} && oc delete project cqci-${PROW_JOB_ID}"]
env:
- name: GIT_COMMITTER_NAME
value: RedHat Containers CoP
- name: GIT_COMMITTER_EMAIL
value: redhat-cop@redhat.com
redhat-cop/pipeline-library:
- name: pipeline-library-pr-build
decorate: true
always_run: true
skip_report: false
spec:
automountServiceAccountToken: true
containers:
- image: quay.io/redhat-cop/openshift-applier:v2.1.1
command: ["/usr/local/bin/entrypoint", "/bin/bash", "-c"]
args: ["mkdir -p $HOME/bin && curl -Lo $HOME/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x $HOME/bin/jq && export PATH=$PATH:$HOME/bin && oc login --token $(cat /run/secrets/kubernetes.io/serviceaccount/token) --server https://kubernetes.default.svc --certificate-authority /run/secrets/kubernetes.io/serviceaccount/ca.crt && _test/setup.sh applier plci-${PROW_JOB_ID} $(echo ${JOB_SPEC}|jq -r '.refs.pulls[0].author')/${REPO_NAME} ${PULL_PULL_SHA} && _test/setup.sh test plci-${PROW_JOB_ID} && oc delete project plci-${PROW_JOB_ID}{,-promotion-testing,-build-s2i-executable,-sonarqube}"]
env:
- name: GIT_COMMITTER_NAME
value: RedHat Containers CoP
- name: GIT_COMMITTER_EMAIL
value: redhat-cop@redhat.com
redhat-cop/org:
- name: org-validate-configs
decorate: true
run_if_changed: config.yaml
spec:
containers:
- args:
- --config-path=./config.yaml
- --confirm=false
- --github-token-path=/etc/github/oauth
- --github-endpoint=http://ghproxy.default.svc
- --github-endpoint=https://api.github.com
- --github-graphql-endpoint=http://ghproxy.default.svc/graphql
- --fix-org
- --fix-org-members
- --fix-teams
- --fix-team-members
- --fix-team-repos
command:
- /app/prow/cmd/peribolos/app.binary
image: gcr.io/k8s-prow/peribolos:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/github
name: token
readOnly: true
volumes:
- name: token
secret:
secretName: github-oauth-token
postsubmits:
redhat-cop/org:
- name: org-update-configs
decorate: true
run_if_changed: config.yaml
spec:
containers:
- args:
- --config-path=./config.yaml
- --confirm=true
- --github-token-path=/etc/github/oauth
- --github-endpoint=http://ghproxy.default.svc
- --github-endpoint=https://api.github.com
- --github-graphql-endpoint=http://ghproxy.default.svc/graphql
- --fix-org
- --fix-org-members
- --fix-teams
- --fix-team-members
- --fix-team-repos
command:
- /app/prow/cmd/peribolos/app.binary
image: gcr.io/k8s-prow/peribolos:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/github
name: token
readOnly: true
volumes:
- name: token
secret:
secretName: github-oauth-token
tide:
merge_method:
redhat-cop/containers-quickstarts: squash
redhat-cop/pipeline-library: squash
redhat-cop/org: squash
target_url: https://prow.cop.rht-labs.com/tide
queries:
- repos:
- redhat-cop/containers-quickstarts
- redhat-cop/pipeline-library
- redhat-cop/org
labels:
- lgtm
- approved
missingLabels:
- do-not-merge
- do-not-merge/hold
- do-not-merge/work-in-progress
- needs-ok-to-test
- needs-rebase
context_options:
# Use branch protection options to define required and optional contexts
from-branch-protection: true
# Treat unknown contexts as optional
skip-unknown-contexts: true