]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
install-deps.sh: add a temporary repo for missing el10 deps
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 27 Jun 2025 15:04:44 +0000 (11:04 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Wed, 23 Jul 2025 21:00:07 +0000 (17:00 -0400)
Add a new dnf/yum repository hosted in the ceph lab infra for providing
the last few dependencies missing from other el10 repos.
Hopefully we can remove this soon but it serves as a stopgap as we work
on getting el10 builds working in the ceph CI infra and tested.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit a2bc95c9c45512107d53397405a038df79ead234)

install-deps.sh

index ac7a6582b29153c54ad75287343044926bb7c546..00cc2b54869a9a7877bdaf3a4dec4f6b5b66b9bf 100755 (executable)
@@ -291,6 +291,20 @@ EOF
     fi
 }
 
+function setup_lab_extras_repo() {
+    # NOTE This repo should be temporary while we work to get the
+    # needed deps into EPEL, etc.
+    local baseurlprefix="http://apt-mirror.front.sepia.ceph.com/lab-extras"
+    local path="/etc/yum.repos.d/ceph-lab-extras.repo"
+    $SUDO tee "${path}" <<EOF
+[ceph-lab-extras]
+name=ceph-lab-extras-\$releasever
+baseurl=${baseurlprefix}/\$releasever
+enabled=1
+gpgcheck=0
+EOF
+}
+
 function populate_wheelhouse() {
     ci_debug "Running populate_wheelhouse() in install-deps.sh"
     local install=$1
@@ -540,8 +554,10 @@ else
                     $SUDO dnf config-manager --set-enabled crb
                 elif test $ID = centos -a $MAJOR_VERSION = 10 ; then
                     $SUDO dnf config-manager --set-enabled crb
+                    setup_lab_extras_repo
                 elif test $ID = rocky -a $MAJOR_VERSION = 10 ; then
                     $SUDO dnf config-manager --set-enabled crb
+                    setup_lab_extras_repo
                 elif test $ID = rhel -a $MAJOR_VERSION = 8 ; then
                     dts_ver=11
                     $SUDO dnf config-manager --set-enabled "codeready-builder-for-rhel-8-${ARCH}-rpms"