forked from openshift/release
-
Notifications
You must be signed in to change notification settings - Fork 1
/
infra-periodics.yaml
522 lines (513 loc) · 13.5 KB
/
infra-periodics.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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
periodics:
- agent: kubernetes
labels:
ci.openshift.io/role: infra
cron: ""
decorate: true
interval: 12m
name: periodic-retester
skip_cloning: true
spec:
containers:
- args:
- |-
--query=is:pr
state:open
label:lgtm
label:approved
status:failure
-label:do-not-merge
-label:do-not-merge/work-in-progress
-label:do-not-merge/hold
-label:needs-rebase
-label:needs-ok-to-test
org:openshift
repo:operator-framework/operator-sdk
repo:tnozicka/openshift-acme
- --token=/etc/oauth/oauth
- --updated=0
- |-
--comment=/retest
Please review the [full test history](https://openshift-gce-devel.appspot.com/pr/{{if ne .Repo "origin"}}{{.Org}}_{{.Repo}}/{{end}}{{.Number}}) for this PR and help us cut down flakes.
- --template
- --ceiling=1
- --confirm
- --random
command:
- /app/robots/commenter/app.binary
image: gcr.io/k8s-prow/commenter:v20190827-70272a1e1
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/oauth
name: token
volumes:
- name: token
secret:
secretName: github-credentials-openshift-bot
- agent: kubernetes
labels:
ci.openshift.io/role: infra
cron: ""
decorate: true
interval: 6h
name: periodic-issue-close
skip_cloning: true
spec:
containers:
- args:
- |-
--query=repo:openshift/origin
repo:operator-framework/operator-sdk
repo:tnozicka/openshift-acme
repo:openshift/openshift-azure
-label:lifecycle/frozen
label:lifecycle/rotten
- --updated=720h
- --token=/etc/oauth/oauth
- |-
--comment=Rotten issues close after 30d of inactivity.
Reopen the issue by commenting `/reopen`.
Mark the issue as fresh by commenting `/remove-lifecycle rotten`.
Exclude this issue from closing again by commenting `/lifecycle frozen`.
/close
- --template
- --ceiling=10
- --confirm
command:
- /app/robots/commenter/app.binary
image: gcr.io/k8s-prow/commenter:v20190827-70272a1e1
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/oauth
name: token
volumes:
- name: token
secret:
secretName: github-credentials-openshift-bot
- agent: kubernetes
labels:
ci.openshift.io/role: infra
cron: ""
decorate: true
interval: 6h
name: periodic-issue-rotten
skip_cloning: true
spec:
containers:
- args:
- |-
--query=repo:openshift/origin
repo:operator-framework/operator-sdk
repo:tnozicka/openshift-acme
repo:openshift/openshift-azure
-label:lifecycle/frozen
label:lifecycle/stale
-label:lifecycle/rotten
- --updated=720h
- --token=/etc/oauth/oauth
- |-
--comment=Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting `/remove-lifecycle rotten`.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting `/lifecycle frozen`.
If this issue is safe to close now please do so with `/close`.
/lifecycle rotten
/remove-lifecycle stale
- --template
- --ceiling=10
- --confirm
command:
- /app/robots/commenter/app.binary
image: gcr.io/k8s-prow/commenter:v20190827-70272a1e1
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/oauth
name: token
volumes:
- name: token
secret:
secretName: github-credentials-openshift-bot
- agent: kubernetes
labels:
ci.openshift.io/role: infra
cron: ""
decorate: true
interval: 6h
name: periodic-issue-stale
skip_cloning: true
spec:
containers:
- args:
- |-
--query=repo:openshift/origin
repo:operator-framework/operator-sdk
repo:tnozicka/openshift-acme
repo:openshift/openshift-azure
-label:lifecycle/frozen
-label:lifecycle/stale
-label:lifecycle/rotten
- --updated=2160h
- --token=/etc/oauth/oauth
- |-
--comment=Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting `/remove-lifecycle stale`.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting `/lifecycle frozen`.
If this issue is safe to close now please do so with `/close`.
/lifecycle stale
- --template
- --ceiling=10
- --confirm
command:
- /app/robots/commenter/app.binary
image: gcr.io/k8s-prow/commenter:v20190827-70272a1e1
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/oauth
name: token
volumes:
- name: token
secret:
secretName: github-credentials-openshift-bot
- agent: kubernetes
labels:
ci.openshift.io/role: infra
cron: ""
decorate: true
decoration_config:
timeout: 28800000000000 # 8h
interval: 24h
name: periodic-label-sync
skip_cloning: true
spec:
containers:
- args:
- --config=/etc/config/labels.yaml
- --confirm=true
- --orgs=openshift,cri-o,operator-framework
- --token=/etc/github/oauth
- --endpoint=http://ghproxy
- --github-graphql-endpoint=http://ghproxy/graphql
- --debug
command:
- /app/label_sync/app.binary
image: gcr.io/k8s-prow/label_sync:v20190827-70272a1e1
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/github
name: token
readOnly: true
- mountPath: /etc/config
name: config
readOnly: true
volumes:
- name: token
secret:
secretName: github-credentials-openshift-ci-robot
- configMap:
name: labels
name: config
- agent: kubernetes
labels:
ci.openshift.io/role: infra
cron: ""
decorate: true
decoration_config:
timeout: 8h
interval: 5m
name: periodic-ipi-deprovision
spec:
containers:
- command:
- /usr/bin/ipi-deprovision.sh
image: registry.svc.ci.openshift.org/ci/ipi-deprovision:latest
imagePullPolicy: Always
env:
- name: AWS_SHARED_CREDENTIALS_FILE
value: "/usr/local/e2e-aws-cluster-profile/.awscred"
- name: CLUSTER_TTL
value: "30 minutes ago"
- name: AWS_REGIONS
value: "us-east-1"
#more than one region
#value: "us-east-1;us-west-1"
name: "ipi-deprovision"
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /usr/local/e2e-aws-cluster-profile
name: cluster-profile
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
serviceAccountName: ipi-deprovisioner
- agent: kubernetes
labels:
ci.openshift.io/role: infra
extra_refs:
- base_ref: master
org: openshift
repo: release
cron: ""
decorate: true
interval: 12h
name: periodic-prow-image-autobump
spec:
containers:
- command:
- /usr/bin/autobumper
args:
- --github-token=/etc/github/oauth
- --git-name=openshift-bot
- --git-email=openshift-bot@redhat.com
- --target-dir=.
image: registry.svc.ci.openshift.org/ci/autobumper:latest
imagePullPolicy: Always
name: "autobump"
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/github
name: token
readOnly: true
volumes:
- name: token
secret:
secretName: github-credentials-openshift-bot
- agent: kubernetes
labels:
ci.openshift.io/role: infra
cron: ""
decorate: true
interval: 30m
name: periodic-branch-protector
skip_cloning: true
spec:
containers:
- args:
- --config-path=/etc/config/config.yaml
- --job-config-path=/etc/job-config
- --confirm=true
- --github-token-path=/etc/github/oauth
- --github-endpoint=http://ghproxy
- --github-endpoint=https://api.github.com
- --github-graphql-endpoint=http://ghproxy/graphql
command:
- /app/prow/cmd/branchprotector/app.binary
image: gcr.io/k8s-prow/branchprotector:v20190827-70272a1e1
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/github
name: token
readOnly: true
- mountPath: /etc/config
name: config
readOnly: true
- name: job-config-misc
mountPath: /etc/job-config/misc
readOnly: true
- name: job-config-master-presubmits
mountPath: /etc/job-config/master/presubmits
readOnly: true
- name: job-config-master-postsubmits
mountPath: /etc/job-config/master/postsubmits
readOnly: true
- name: job-config-3x
mountPath: /etc/job-config/3.x
readOnly: true
- name: job-config-40
mountPath: /etc/job-config/4.0
readOnly: true
- name: job-config-41
mountPath: /etc/job-config/4.1
readOnly: true
- name: job-config-42
mountPath: /etc/job-config/4.2
readOnly: true
- name: job-config-43
mountPath: /etc/job-config/4.3
readOnly: true
volumes:
- name: token
secret:
secretName: github-credentials-openshift-merge-robot
- name: config
configMap:
name: config
- name: job-config-misc
configMap:
name: job-config-misc
- name: job-config-master-presubmits
configMap:
name: job-config-master-presubmits
- name: job-config-master-postsubmits
configMap:
name: job-config-master-postsubmits
- name: job-config-3x
configMap:
name: job-config-3.x
- name: job-config-40
configMap:
name: job-config-4.0
- name: job-config-41
configMap:
name: job-config-4.1
- name: job-config-42
configMap:
name: job-config-4.2
- name: job-config-43
configMap:
name: job-config-4.3
- agent: kubernetes
labels:
ci.openshift.io/role: infra
cron: ""
decorate: true
interval: 30m
name: periodic-org-sync
skip_cloning: true
spec:
containers:
- args:
- --config-path=/etc/config/config.yaml
- --confirm=true
- --github-token-path=/etc/github/oauth
- --github-endpoint=http://ghproxy
- --github-endpoint=https://api.github.com
- --github-graphql-endpoint=http://ghproxy/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:v20190827-70272a1e1
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/github
name: token
readOnly: true
- mountPath: /etc/config
name: config
readOnly: true
volumes:
- name: token
secret:
secretName: github-credentials-openshift-merge-robot
- name: config
configMap:
name: org-config
- agent: kubernetes
labels:
ci.openshift.io/role: infra
app: image-pruner
cron: "@daily"
decorate: true
decoration_config:
skip_cloning: true
name: periodic-ci-image-pruner
spec:
containers:
- args:
- adm
- prune
- images
- --certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt
- --keep-tag-revisions=3
- --keep-younger-than=96h
- --confirm=true
command:
- oc
image: "quay.io/openshift/origin-cli:4.1"
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 1
memory: 4Gi
limits:
cpu: 2
memory: 8Gi
serviceAccountName: "image-pruner"
- agent: kubernetes
labels:
ci.openshift.io/role: infra
pj-rehearse.openshift.io/can-be-rehearsed: "true"
cron: "@midnight"
decorate: true
interval: ""
name: periodic-owners-check
decoration_config:
skip_cloning: true
spec:
containers:
- args:
- --config-path=/etc/config/config.yaml
- --plugin-config=/etc/plugins/plugins.yaml
- --github-token-path=/etc/github/oauth
- --github-endpoint=http://ghproxy
- --github-endpoint=https://api.github.com
- --warnings=verify-owners-presence
- --strict
command:
- /checkconfig
image: gcr.io/k8s-prow/checkconfig:v20190827-70272a1e1
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /etc/github
name: token
readOnly: true
- mountPath: /etc/config
name: config
readOnly: true
- mountPath: /etc/plugins
name: plugins
readOnly: true
volumes:
- name: token
secret:
secretName: github-credentials-openshift-merge-robot
- name: config
configMap:
name: config
- name: plugins
configMap:
name: plugins