mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
install-deps.sh: add a temporary repo for missing el10 deps
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>
This commit is contained in:
parent
5aeaa104d8
commit
a2bc95c9c4
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user