jjb: Add lttng-modules builds across certain EL kernels
[lttng-ci.git] / automation / ansible / roles / gitmirror / files / update.sh
index d4379db17c439170653c51d536ade2040a247430..d7fa11c08e8aa6be4131cf6dc6f39c4d5e025ea7 100644 (file)
@@ -9,7 +9,7 @@ update_git() {
     local origin="$2"
 
     if [ ! -d "${repodir}" ] ; then
-        git clone --bare "${origin}" "${repodir}"
+        git clone --mirror "${origin}" "${repodir}"
     fi
 
     pushd "$repodir"
@@ -40,17 +40,25 @@ git tag -d v2.6.11-tree || true
 popd
 
 ##
-# Ubuntu kernels
+# EL kernel RPMs
 ##
+update_git rocky.git/ https://git.rockylinux.org/staging/rpms/kernel.git
 
-update_git ubuntu-xenial.git/ https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial
+##
+# SLES kernels
+##
+update_git sles.git/ https://github.com/SUSE/kernel.git
 
-update_git ubuntu-bionic.git/ git://kernel.ubuntu.com/ubuntu/ubuntu-bionic.git
+##
+# Ubuntu kernels
+##
 
 update_git ubuntu-focal.git/ git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal
 
 update_git ubuntu-jammy.git/ git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy
 
+update_git ubuntu-noble.git/ git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble
+
 ##
 # GDB repos
 ##
This page took 0.023805 seconds and 4 git commands to generate.