LukeShortCloud / ansible_role_fedora_kernel_lts

An Ansible role for automating the build of the LTS Linux kernel RPMs for Fedora.
GNU General Public License v3.0
1 stars 0 forks source link

Automated builds of latest LTS kernels #15

Open GoodMirek opened 5 years ago

GoodMirek commented 5 years ago

Hello,

First of all, thank you very much for providing LTS kernel for Fedora. If has helped me to troubleshoot an issue with an unusual filesystem setup.

Is there any chance to automate the builds so last LTS kernel is built automatically upon release? E.g. the latest build available from copr is 4.19.32, while from kernel.org 4.19.35 is available.

LukeShortCloud commented 5 years ago

@GoodMirek I am glad that this kernel and repository was of use to you! Having a LTS kernel usually means one less thing to worry about when running a bleeding edge distribution.

I would love to have automated builds. In fact, this role is already written in a way to allow that via a CI/CD system. I have found that normally a new kernel release leads to one or more conflicting patches between the Fedora RPM spec file that was forked vs. the upstream kernel code meaning there will need to be human intervention every once in awhile. This is typically because Red Hat has gotten their relevant patches submitted upstream to Linux. On the Fedora COPR, old packages are deleted after 14 days. This is a bit of a problem because even if a new build fails it will still remove the old working packages.

Most CI/CD systems allow for scheduled builds and releases. I currently use Travis CI for my other projects but hate the fact that I am forced to use an old version of Ubuntu for builds. Running anything CentOS or Fedora related is a bit of a pain, too, as the workarounds to run builds in containers are very hacky. I will look into the possibility of using a public GitLab or Jenkins instance. If worse comes to worse, I will stick with Travis CI. If you have any other recommendations, feel free to let me know!