Skip to content

config/jobs: Add cip configurations #1149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions config/jobs-cip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
_anchors:
baseline-job: &baseline-job
template: baseline.jinja2
kind: job
kcidb_test_suite: boot

kbuild-job: &kbuild-job
template: kbuild.jinja2
kind: kbuild
rules:
tree:
- '!android'
- '!chromiumos'

kbuild-gcc-12-arm: &kbuild-gcc-12-arm-job
<<: *kbuild-job
image: ghcr.io/kernelci/{image_prefix}gcc-12:arm-kselftest-kernelci
params: &kbuild-gcc-12-arm-params
arch: arm
compiler: gcc-12
cross_compile: 'arm-linux-gnueabihf-'
defconfig: multi_v7_defconfig

jobs:
baseline-x86-cip: *baseline-job

kbuild-gcc-12-arm-allnoconfig: &kbuild-gcc-12-arm-allnoconfig-job
<<: *kbuild-gcc-12-arm-job
params:
<<: *kbuild-gcc-12-arm-params
defconfig:
- multi_v7_defconfig
- allnoconfig
rules:
tree:
- 'next'
- 'sashal-next'

kbuild-gcc-12-arm-cip-allnoconfig:
<<: *kbuild-gcc-12-arm-allnoconfig-job
params:
<<: *kbuild-gcc-12-arm-params
defconfig:
- multi_v7_defconfig
- allnoconfig
fragments:
- 'cip://6.12.y-cip/arm/qemu_arm_defconfig'
rules:
branch:
- 'cip:linux-6.12.y-cip'

kbuild-gcc-12-arm-cip-allnoconfig:
<<: *kbuild-gcc-12-arm-allnoconfig-job
params:
<<: *kbuild-gcc-12-arm-params
defconfig:
- multi_v7_defconfig
- allnoconfig
fragments:
- 'cip://6.1.y-cip/arm/qemu_arm_defconfig'
rules:
branch:
- 'cip:linux-6.1.y-cip'

kbuild-gcc-12-arm-cip-allnoconfig:
<<: *kbuild-gcc-12-arm-allnoconfig-job
params:
<<: *kbuild-gcc-12-arm-params
defconfig:
- multi_v7_defconfig
- allnoconfig
fragments:
- 'cip://5.10.y-cip/arm/qemu_arm_defconfig'
rules:
branch:
- 'cip:linux-5.10.y-cip-rt'

kbuild-gcc-12-arm-cip-allnoconfig:
<<: *kbuild-gcc-12-arm-allnoconfig-job
params:
<<: *kbuild-gcc-12-arm-params
defconfig:
- multi_v7_defconfig
- allnoconfig
fragments:
- 'cip://4.19.y-cip/arm/qemu_arm_defconfig'
rules:
branch:
- 'cip:linux-4.19.y-cip-rt'
15 changes: 0 additions & 15 deletions config/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ jobs:
baseline-riscv-clabbe: *baseline-job
baseline-x86: *baseline-job
baseline-x86-baylibre: *baseline-job
baseline-x86-cip: *baseline-job
baseline-x86-kcidebug-amd: *baseline-job
baseline-x86-kcidebug-intel: *baseline-job
baseline-x86-mfd: *baseline-job
Expand Down Expand Up @@ -564,20 +563,6 @@ jobs:
fragments:
- 'CONFIG_CPU_BIG_ENDIAN=y'

kbuild-gcc-12-arm-cip-allnoconfig:
<<: *kbuild-gcc-12-arm-allnoconfig-job
params:
<<: *kbuild-gcc-12-arm-params
defconfig:
- multi_v7_defconfig
- allnoconfig
fragments:
- 'cip://6.1.y-cip/arm/qemu_arm_defconfig'
rules:
branch:
- 'cip:linux-6.1.y-cip'
- 'cip:linux-6.1.y-cip-rt'

kbuild-gcc-12-arm-SMP:
<<: *kbuild-gcc-12-arm-allnoconfig-job
params:
Expand Down
42 changes: 42 additions & 0 deletions config/scheduler-cip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
_anchors:
build-k8s-all: &build-k8s-all
event: &checkout-event
channel: node
kind: checkout
state: available
runtime:
name: k8s-all

node-event: &node-event-kbuild
channel: node
result: pass
kind: kbuild

job-event: &job-event
channel: node
state: done
kind: job

scheduler:
- job: baseline-x86
event: &kbuild-gcc-12-x86-node-event
<<: *node-event-kbuild
name: kbuild-gcc-12-x86
runtime: &lava-collabora-runtime
type: lava
name: lava-collabora
platforms: &collabora-x86-platforms
- qemu-x86
- aaeon-UPN-EHLX4RE-A10-0864

- job: baseline-x86-cip
event: *kbuild-gcc-12-x86-node-event
runtime:
type: lava
name: lava-cip
platforms:
- qemu

- job: kbuild-gcc-12-arm-cip-allnoconfig
<<: *build-k8s-all

11 changes: 0 additions & 11 deletions config/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,6 @@ scheduler:
platforms:
- qemu

- job: baseline-x86-cip
event: *kbuild-gcc-12-x86-node-event
runtime:
type: lava
name: lava-cip
platforms:
- qemu

- job: baseline-x86-kcidebug-amd
event: &kbuild-gcc-12-x86-kcidebug-node-event
<<: *node-event-kbuild
Expand Down Expand Up @@ -479,9 +471,6 @@ scheduler:
- job: kbuild-gcc-12-arm-build-only
<<: *build-k8s-all

- job: kbuild-gcc-12-arm-cip-allnoconfig
<<: *build-k8s-all

- job: kbuild-gcc-12-arm-imx_v6_v7_defconfig
<<: *build-k8s-all

Expand Down