Skip to content

Commit bf13245

Browse files
committed
config/pipeline.yaml: update to use scheduler events
Update the YAML pipeline config to use event attributes in the scheduler configuration rather than the job run_on attributes. Signed-off-by: Guillaume Tucker <[email protected]>
1 parent 93cd3b5 commit bf13245

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

config/pipeline.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# Not directly loaded into the config, only used for YAML aliases in this file
77
_anchors:
88

9-
checkout: &checkout
10-
- channel: node
9+
checkout: &checkout-event
10+
channel: node
1111
name: checkout
1212
state: available
1313

@@ -73,19 +73,13 @@ jobs:
7373
# fstests:
7474
# template: 'fstests.jinja2'
7575
# image: 'kernelci/staging-kernelci'
76-
# run_on: *checkout
7776

7877
baseline-x86:
7978
template: baseline.jinja2
80-
run_on:
81-
- channel: node
82-
name: kbuild-gcc-10-x86
83-
result: pass
8479

8580
kbuild-gcc-10-x86:
8681
template: kbuild.jinja2
8782
image: kernelci/staging-gcc-10:x86-kselftest-kernelci
88-
run_on: *checkout
8983
params:
9084
arch: x86_64
9185
compiler: gcc-10
@@ -94,7 +88,6 @@ jobs:
9488
kunit: &kunit-job
9589
template: kunit.jinja2
9690
image: kernelci/staging-gcc-10:x86-kunit-kernelci
97-
run_on: *checkout
9891

9992
kunit-x86_64:
10093
<<: *kunit-job
@@ -104,7 +97,6 @@ jobs:
10497
kver:
10598
template: kver.jinja2
10699
image: kernelci/staging-kernelci
107-
run_on: *checkout
108100

109101

110102
trees:
@@ -140,24 +132,32 @@ device_types:
140132
scheduler:
141133

142134
- job: baseline-x86
135+
event:
136+
channel: node
137+
name: kbuild-gcc-10-x86
138+
result: pass
143139
runtime:
144140
type: lava
145141
platforms:
146142
- qemu-x86
147143

148144
- job: kbuild-gcc-10-x86
145+
event: *checkout-event
149146
runtime:
150147
type: kubernetes
151148

152149
- job: kunit
150+
event: *checkout-event
153151
runtime:
154152
type: docker
155153

156154
- job: kunit-x86_64
155+
event: *checkout-event
157156
runtime:
158157
name: k8s-gke-eu-west4
159158

160159
- job: kver
160+
event: *checkout-event
161161
runtime:
162162
type: shell
163163

0 commit comments

Comments
 (0)