Project:Kernel/Kernel CI

From Gentoo Wiki
Jump to: navigation, search

Introduction

Gentoo kernel CI is a autonomous kernel building and testing system based on buildbot.

URL

http://kernel1.amd64.dev.gentoo.org:8010

if you want a user account please ask to alicef

Code

contribute is welcome

https://github.com/gentoo/Gentoo_kernelCI

Mirror of linux-patches on Github

https://github.com/gentoo/linux-patches

Changelog

  • Build kernel upon github pull request and git push
  • updated buildbot to 0.9.7
  • added 4.12 4.11 4.10
  • added password file for keeping password safe

Todo (if you have any idea please add it here):

  • Test kernel if tagged as stabilize
  • create Qemu kernel testing image
  • add possibility to reboot the machine and get the dmesg (using serial console emulator with qemu)

(maybe from u-boot or using grub https://statusq.org/archives/2012/10/24/4584/ https://www.gnu.org/software/grub/manual/legacy/Booting-once_002donly.html)

Using Github

With Github changes are immediate, there is no need to wait. The result is also display near the commit on Github.

Testing before committing

we can just send a pull request toward a branch with the needed changes to https://github.com/gentoo/linux-patches

Using Git

With git we are using a time check done every 10 minutes.
So the build can take some time before starting.

Testing before committing

making a branch like 4.11_001 will test the new commit in the new branch

root #git checkout 4.11
root #git branch 4.11_001

change files

root #git push -u origin 4.11_001

check buildbot that is building the pushed branch

for removing the branch

root #git push origin --delete 4.11_001

for removing it locally

root #git branch -D 4.11_001

Stabilizing

pushing files to git.gentoo.org/repo/gentoo.git will start to run some test for stabilizing the package.
enabled only for:
sys-kernel/gentoo-sources-*

If you want to add other packages please ask to alicef