Plug-and-play Kernel CI: From Patch To PR Without a Test Lab
summary
A kernel CI pipeline runs on GitHub Actions with self-hosted KVM runners and uses Podman + guestfish to convert containers into bootable qcow2 images instead of passing bzImage to QEMU. It compiles kernels inside a distro container (Rocky by default), creates three snapshots for boot / Kselftest / LTP, boots real UEFI+grub flows on x86 and arm64, runs Kselftest and LTP in parallel, compares results to the last good run, uploads artifacts for reproduction, and auto-creates PRs. boots full disk images
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker background
- 1:05About CIQ and Rocky Linux
- 3:13Limitations of existing CI solutions
- 5:20Problem with direct boot in CI
- 7:30Why real boot flow matters
- 8:36Solution using containerized disk images
- 10:18Pipeline overview and setup
- 11:43Branch naming and CI configuration
- 13:30Security validation in CI
- 14:12Build stage architecture
- 15:59Creating disk images for testing
- 17:43Parallel test execution
- 19:08Boot and test execution details
- 20:33Regression detection and PR creation
- 21:37Pull request content and Slack notifications
- 22:43Debugging with CI artifacts
- 23:47Future plans and improvements
- 25:12Q&A session
