From: Don Zickus on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2732
This is an attempt to automate the rt and automotive devel branches using the upstream linux-rt-devel tree as the base combined with os-build.
The overall process isn't too complicated but there are enough steps to make it compilicated.
Steps: * map upstream linux-rt-devel to master-rt branch * update os-build * grab linux version from master-rt and os-build * if version the same then merge os-build and master-rt to os-build-rt-automated * else merge linux-stable and master-rt to os-build-rt-automated until master-rt is update to os-build * merge os-build-rt-automated into os-build-rt-devel * merge os-build-rt-automated into os-build-automotive-devel * run the generate pending-rhel config scripts on rt-devel and automotive-devel
The script has beginning logic to handle rebasing if necessary when the rt-devel branch transitions from linux-stable to linux master again.
The script has no effect on the day-to-day operations of os-build. They are designed to be run from a gitlab cron job and update in the background. Once they are deemed stable, adding ARK MRs that target either os-build-rt-devel or os-build-automotive-devel will be possible and those branches can start proper parallel developement with os-build.
Signed-off-by: Don Zickus dzickus@redhat.com
--- redhat/scripts/ci/ark-ci-env.sh | 178 ++++++++++++++++++++++++++++++++++++- redhat/scripts/ci/ark-merge-rt.sh | 173 ++++++++++++++++++++++++++++++++++++ redhat/kernel.spec.template | 2 +- 3 files changed, 345 insertions(+), 8 deletions(-)