]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 27 Jun 2025 15:04:44 +0000 (11:04 -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>
install-deps.sh

index 5c40be97e8b076970ff3272d0788cdfb365d0195..1510f882f42d23b304485aeef13a04eb7e81202b 100755 (executable)
@@ -247,6 +247,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
@@ -493,8 +507,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"