-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.prow.yaml
113 lines (113 loc) · 3.57 KB
/
.prow.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
postsubmits:
- branches:
- ^main$
context: community-management/prow/peribolos
decorate: true
name: thoth-station-peribolos
run_if_changed: ^community/github-config\.yaml$
skip_report: false
spec:
containers:
- args:
- -c
- "set -ex\n/ko-app/peribolos --config-path community/github-config.yaml --github-token-path\
\ /etc/github/oauth \\\n --github-endpoint=http://ghproxy \\\n --github-endpoint=https://api.github.com\
\ \\\n --min-admins=2 \\\n --maximum-removal-delta=0.15 \\\n --require-self=true\
\ \\\n --fix-org \\\n --fix-org-members \\\n --fix-repos \\\n --fix-teams\
\ \\\n --fix-team-members \\\n --fix-team-repos \\\n --allow-repo-archival\
\ \\\n --confirm\n"
command:
- /bin/sh
image: gcr.io/k8s-prow/peribolos:latest
volumeMounts:
- mountPath: /etc/github
name: github-oauth
volumes:
- name: github-oauth
secret:
secretName: oauth-token
- branches:
- ^main$
context: community-management/prow/labels
decorate: true
name: thoth-station-labels
run_if_changed: ^community/(github-config|labels)\.yaml$
skip_report: false
spec:
containers:
- args:
- -c
- "set -ex\n/ko-app/label_sync \\\n --github-endpoint=http://ghproxy \\\n \
\ --github-endpoint=https://api.github.com \\\n --config=community/labels.yaml\
\ \\\n --orgs=thoth-station \\\n --github-token-path=/etc/github/oauth\
\ \\\n --confirm\n"
command:
- /bin/sh
image: gcr.io/k8s-prow/label_sync:latest
volumeMounts:
- mountPath: /etc/github
name: github-oauth
volumes:
- name: github-oauth
secret:
secretName: oauth-token
presubmits:
- always_run: true
context: op1st/prow/pre-commit
decorate: true
name: pre-commit
skip_report: false
spec:
containers:
- command:
- pre-commit
- run
- --all-files
image: quay.io/thoth-station/thoth-precommit-py38:v0.15.0
- context: community-management/prow/peribolos
decorate: true
name: peribolos
run_if_changed: ^community/github-config\.yaml$
skip_report: false
spec:
containers:
- args:
- -c
- "set -ex\n/ko-app/peribolos --config-path community/github-config.yaml --github-token-path\
\ /etc/github/oauth \\\n --github-endpoint=http://ghproxy \\\n --github-endpoint=https://api.github.com\
\ \\\n --min-admins=2 \\\n --maximum-removal-delta=0.15 \\\n --require-self=true\
\ \\\n --fix-org \\\n --fix-org-members \\\n --fix-repos \\\n --fix-teams\
\ \\\n --fix-team-members \\\n --fix-team-repos \\\n --allow-repo-archival\
\ \\\n"
command:
- /bin/sh
image: gcr.io/k8s-prow/peribolos:v0.15.0
volumeMounts:
- mountPath: /etc/github
name: github-oauth
volumes:
- name: github-oauth
secret:
secretName: oauth-token
- context: community-management/prow/labels
decorate: true
name: labels
run_if_changed: ^community/labels.yaml$
skip_report: false
spec:
containers:
- args:
- -c
- "set -ex\n/ko-app/label_sync \\\n --github-endpoint=http://ghproxy \\\n \
\ --github-endpoint=https://api.github.com \\\n --config=community/labels.yaml\
\ \\\n --orgs=thoth-station \\\n --github-token-path=/etc/github/oauth\n"
command:
- /bin/sh
image: gcr.io/k8s-prow/label_sync:v0.15.0
volumeMounts:
- mountPath: /etc/github
name: github-oauth
volumes:
- name: github-oauth
secret:
secretName: oauth-token