]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
install-deps: remove old logic for unsupported centos/rhel 8
authorCasey Bodley <cbodley@redhat.com>
Tue, 4 Nov 2025 16:31:57 +0000 (11:31 -0500)
committerVenky Shankar <vshankar@redhat.com>
Fri, 7 Nov 2025 05:33:39 +0000 (05:33 +0000)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
install-deps.sh

index 0d509d9801447d82e16ee24bf988a8a46862ff35..57bfb81117d6320b72d27ec129176fc1b3b7fb37 100755 (executable)
@@ -522,34 +522,12 @@ else
                     $SUDO dnf -y install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-$MAJOR_VERSION.noarch.rpm
                 $SUDO rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$MAJOR_VERSION
                 $SUDO rm -f /etc/yum.repos.d/dl.fedoraproject.org*
-                if test $ID = centos -a $MAJOR_VERSION = 8 ; then
-                    # for grpc-devel
-                    # See https://copr.fedorainfracloud.org/coprs/ceph/grpc/
-                    # epel is enabled for all major versions couple of lines above
-                    $SUDO dnf copr enable -y ceph/grpc
-
-                    # Enable 'powertools' or 'PowerTools' repo
-                    $SUDO dnf config-manager --set-enabled $(dnf repolist --all 2>/dev/null|gawk 'tolower($0) ~ /^powertools\s/{print $1}')
-                    dts_ver=11
-                    # before EPEL8 and PowerTools provide all dependencies, we use sepia for the dependencies
-                    $SUDO dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
-                    $SUDO dnf config-manager --setopt=apt-mirror.front.sepia.ceph.com_lab-extras_8_.gpgcheck=0 --save
-                    $SUDO dnf -y module enable javapackages-tools
-                elif { [ "$ID" = centos ] || [ "$ID" = rocky ]; } && [ "$MAJOR_VERSION" -ge 9 ]; then
+                if { [ "$ID" = centos ] || [ "$ID" = rocky ]; } && [ "$MAJOR_VERSION" -ge 9 ]; then
                     dts_ver=13
                     $SUDO dnf config-manager --set-enabled crb
                     if [ "$MAJOR_VERSION" -eq 10 ]; then
                         setup_lab_extras_repo
                     fi
-                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"
-                    $SUDO dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
-                    $SUDO dnf config-manager --setopt=apt-mirror.front.sepia.ceph.com_lab-extras_8_.gpgcheck=0 --save
-                    $SUDO dnf -y module enable javapackages-tools
-
-                    # Enable ceph/grpc from copr for el8, this is needed for nvmeof management.
-                    $SUDO dnf copr enable -y ceph/grpc
                 fi
                 ;;
         esac