-
Notifications
You must be signed in to change notification settings - Fork 20
/
config.yaml
228 lines (221 loc) · 5.68 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
prowjob_namespace: prow
pod_namespace: test-pods
log_level: debug
slack_reporter_configs:
'*':
job_types_to_report:
- postsubmit
- periodic
- batch
job_states_to_report:
- failure
- error
channel: prow-job-notifications
report_template: 'Job {{.Spec.Job}} of type {{.Spec.Type}} ended with state {{.Status.State}}. <!subteam^S01E9J0G3EU> <{{.Status.URL}}|View logs>'
in_repo_config:
enabled:
"*": true
deck:
spyglass:
gcs_browser_prefix: https://gcsweb.k8s.io/gcs/
lenses:
- lens:
name: metadata
required_files:
- ^(?:started|finished)\.json$
optional_files:
- ^(?:podinfo|prowjob)\.json$
- lens:
config:
name: buildlog
required_files:
- build-log.txt
- lens:
name: junit
required_files:
- .*/junit.*\.xml
- lens:
name: coverage
required_files:
- artifacts/filtered.cov
optional_files:
- artifacts/filtered.html
- lens:
name: podinfo
config:
runner_configs:
"default":
pod_link_template: "https://us-south.containers.cloud.ibm.com/kubeproxy/clusters/c2mvmdid0fcfdmiub59g/service/#/pod/test-pods/{{ .Name }}?namespace=test-pods"
required_files:
- podinfo.json
optional_files:
- prowjob.json
- lens:
name: links
required_files:
- artifacts/.*\.link\.txt
tide_update_period: 1s
plank:
job_url_prefix_config:
"*": https://prow.ppc64le-cloud.cis.ibm.net/view/
pod_pending_timeout: 15m
pod_unscheduled_timeout: 1m
report_templates:
'*': >-
[Full PR test history](https://prow.ppc64le-cloud.cis.ibm.net/pr-history?org={{.Spec.Refs.Org}}&repo={{.Spec.Refs.Repo}}&pr={{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}).
[Your PR dashboard](https://prow.ppc64le-cloud.cis.ibm.net/pr?query=is:pr+state:open+author:{{with
index .Spec.Refs.Pulls 0}}{{.Author}}{{end}}).
default_decoration_config_entries:
- config:
timeout: 2h
grace_period: 15s
censor_secrets: true
gcs_configuration:
bucket: s3://ppc64le-prow-logs
path_strategy: explicit
s3_credentials_secret: s3-credentials
blobless_fetch: true
utility_images:
clonerefs: gcr.io/k8s-prow/clonerefs:v20240531-8e43f4d08
entrypoint: gcr.io/k8s-prow/entrypoint:v20240531-8e43f4d08
initupload: gcr.io/k8s-prow/initupload:v20240531-8e43f4d08
sidecar: gcr.io/k8s-prow/sidecar:v20240531-8e43f4d08
ssh_key_secrets:
- bot-ssh-secret
tide:
sync_period: 2m
queries:
- orgs:
- ppc64le-cloud
- ocp-power-automation
- PDeXchange
labels:
- lgtm
- approved
missingLabels:
- do-not-merge/hold
- do-not-merge/work-in-progress
- do-not-merge/invalid-owners-file
- do-not-merge/non-mergeable
squash_label: tide/merge-method-squash
decorate_all_jobs: true
presets:
# docker-in-docker preset
- labels:
preset-dind-enabled: "true"
env:
- name: DOCKER_IN_DOCKER_ENABLED
value: "true"
volumes:
# kubekins-e2e legacy path
- name: docker-graph
emptyDir: {}
# krte (normal) path
- name: docker-root
emptyDir: {}
volumeMounts:
- name: docker-graph
mountPath: /docker-graph
- name: docker-root
mountPath: /var/lib/docker
# volume mounts for kind
- labels:
preset-kind-volume-mounts: "true"
volumeMounts:
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /sys/fs/cgroup
name: cgroup
volumes:
- name: modules
hostPath:
path: /lib/modules
type: Directory
- name: cgroup
hostPath:
path: /sys/fs/cgroup
type: Directory
# containerd powervs preset
- labels:
preset-containerd-powervs: "true"
env:
- name: IBMCLOUD_API_KEY
valueFrom:
secretKeyRef:
name: containerd-apikey
key: apikey
volumeMounts:
- name: atos-ssh-volume
readOnly: true
mountPath: "/etc/ssh-volume"
volumes:
- name: atos-ssh-volume
secret:
secretName: atos-powervs-ssh-key
defaultMode: 256
# ocp github deploy key preset
- labels:
preset-ocp-ghdeploykey: "true"
volumeMounts:
- mountPath: /etc/ssh-key
name: github-key
volumes:
- name: github-key
secret:
secretName: ocp-gh-deploykey
# build docker preset
- labels:
preset-build-docker: "true"
env:
- name: S3_SECRET_AUTH
valueFrom:
secretKeyRef:
name: docker-s3-credentials
key: password
volumes:
- name: docker-root
emptyDir: {}
volumeMounts:
- name: docker-root
mountPath: /var/lib/docker
# image-builder preset
- labels:
preset-image-builder: "true"
env:
- name: DOCKER_CONFIG
valueFrom:
secretKeyRef:
name: quay-powercloud-regcred
key: .dockerconfigjson
volumes:
- name: kubeconfig
secret:
secretName: image-builder-ppc-kubeconfig
volumeMounts:
- name: kubeconfig
mountPath: /etc/kubeconfig
# ssh bot preset
- labels:
preset-ssh-bot: "true"
volumeMounts:
- mountPath: /etc/secret-volume
name: powercloud-bot-key
readOnly: true
env:
- name: TF_VAR_powervs_api_key
valueFrom:
secretKeyRef:
name: ibm-cloud-credentials
key: TF_VAR_powervs_api_key
volumes:
- name: powercloud-bot-key
secret:
defaultMode: 256
secretName: bot-ssh-secret
# Building Golang binaries
- labels:
preset-golang-build: "true"
env:
- name: GOPPC64
value: power9