forked from kernelci/kernelci-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline-exp.yaml
265 lines (209 loc) · 4.49 KB
/
pipeline-exp.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
APIs:
docker-host:
url: http://172.17.0.1:8001
staging.kernelci.org:
url: https://staging.kernelci.org:9000
storage:
docker-host:
type: ssh
host: 172.17.0.1
port: 8022
base_url: http://172.17.0.1:8002/
staging.kernelci.org:
type: ssh
host: staging.kernelci.org
port: 9022
base_url: http://staging.kernelci.org:9080/
# Not directly loaded into the config, only used for YAML aliases in this file
_anchors:
checkout: &checkout-node
- channel: node
name: checkout
result: pass
kbuild: &kbuild-node
- channel: node
name: kbuild
result: pass
jobs:
baseline:
template: baseline.jinja2
run_on: *kbuild
checkout:
template: checkout.jinja2
image: kernelci/kernelci
run_on:
- channel: trigger
name: kernel-tree
kbuild-gcc-10-arm: &gcc-10-arm
template: kbuild.jinja2
name: kbuild
image: kernelci/gcc-10:arm-kernelci
run_on: *checkout
params:
arch: arm64
compiler: gcc-10
defconfig: '*_defconfig'
kbuild-gcc-10-arm-kselftest:
<<: *gcc-10-arm
params:
arch: arm64
compiler: gcc-10
defconfig: multi_v7_defconfig
fragments: [kselftest]
kbuild-gcc-10-x86:
template: kbuild.jinja2
name: kbuild
image: kernelci/gcc-10:x86-kernelci
run_on: *checkout
params:
arch: x86_64
compiler: gcc-10
defconfig:
- x86_64_defconfig
- allmodconfig
kselftest-landlock:
template: kselftest.jinja2
run_on:
<<: *kbuild
data.defconfig: kselftest
kunit: &kunit
template: kunit.jinja2
image: kernelci/gcc-10:x86-kunit-kernelci
run_on: *checkout
kunit-x86_64:
<<: *kunit
name: kunit
run_on: *checkout
params:
arch: x86_64
runtimes:
docker:
type: docker
env_file: .docker-env
volumes:
- '/home/user/kernelci/data:/home/kernelci/data' # example
lava-broonie:
type: lava
url: https://lava.sirena.org.uk/RPC2/
job_priority:
min: 0
max: 40
queue_timeout:
days: 1
k8s-gke-eu-west4:
type: kubernetes
context: gke_android-kernelci-external_europe-west4-c_kci-eu-west4
params:
spec:
ttlSecondsAfterFinished: 30
template:
spec:
tolerations:
- key: "kubernetes.azure.com/scalesetpriority"
operator: "Equal"
value: "spot"
effect: "NoSchedule"
shell:
type: shell
platforms:
docker-default:
type: docker
name: docker
kubernetes-default:
type: kubernetes
name: kubernetes
bcm2837-rpi-3-b:
type: lava
params:
arch: arm64
oem: broadcom
boot_method: uboot
context:
console_device: ttyS1
test_character_delay: 10
qemu_x86_64:
type: lava
name: qemu
params:
arch: x86_64
oem: qemu
boot_method: qemu
context:
arch: x86_64
cpu: qemu64
guestfs_interface: ide
shell:
type: shell
shell-dash:
type: shell
name: shell
params:
shebang: /bin/dash
_OFF_schedule:
- job: checkout
runtime:
type: shell
- job: kunit
runtime:
type: kubernetes
- job: kunit-x86_64
runtime:
type: kubernetes
name: k8s-gke-eu-west4
- job: kbuild-gcc-10-x86
runtime:
type: kubernetes
- job: baseline
runtime:
type: lava
# ----------------------------------------------------------------------------
# v1
#
runtimes:
k8s-gke-eu-west4:
type: kubernetes
context: gke_android-kernelci-external_europe-west4-c_kci-eu-west4
lava-lkft:
type: lava
url: https://lkft.validation.linaro.org/
jobs:
baseline:
template: baseline.jinja2
image: debian-bullseye-1234
run_on: *kbuild
kunit: &kunit
template: kunit.jinja2
image: kernelci/gcc-10:x86-kunit-kernelci
run_on: *checkout
platforms:
kubernetes:
runtime-type: kubernetes
bcm2837-rpi-3-b:
runtime-type: lava
arch: arm64
boot_method: uboot
params:
oem: broadcom
context:
console_device: ttyS1
test_character_delay: 10
scheduler:
- job: kunit
runtime:
name: k8s-gke-eu-west4
- job: kbuild-gcc-10-x86
runtime:
type: kubernetes
- job: baseline
runtime:
type: lava
- job: ltp-crypto
runtime:
type: lava
platforms:
- bcm2837-rpi-3-b
- job: v4l2-compliance
runtime:
name: lava-lkft
platforms:
- bcm2837-rpi-3-b