Skip to content

Commit f34b87f

Browse files
authored
Merge pull request ceph#56785 from cbodley/wip-uninstall-motr
install-deps: remove cortx-motr integration Reviewed-by: Zack Cerza <[email protected]>
2 parents 7714874 + 453be87 commit f34b87f

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

install-deps.sh

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -224,39 +224,6 @@ function install_boost_on_ubuntu {
224224

225225
}
226226

227-
motr_pkgs_url='https://github.com/Seagate/cortx-motr/releases/download/2.0.0-rgw'
228-
229-
function install_cortx_motr_on_ubuntu {
230-
if dpkg -l cortx-motr-dev &> /dev/null; then
231-
return
232-
fi
233-
if [ "$(lsb_release -sc)" = "jammy" ]; then
234-
install_pkg_on_ubuntu \
235-
cortx-motr \
236-
39f89fa1c6945040433a913f2687c4b4e6cbeb3f \
237-
jammy \
238-
check \
239-
cortx-motr \
240-
cortx-motr-dev
241-
else
242-
local deb_arch=$(dpkg --print-architecture)
243-
local motr_pkg="cortx-motr_2.0.0.git3252d623_$deb_arch.deb"
244-
local motr_dev_pkg="cortx-motr-dev_2.0.0.git3252d623_$deb_arch.deb"
245-
$SUDO curl -sL -o/var/cache/apt/archives/$motr_pkg $motr_pkgs_url/$motr_pkg
246-
$SUDO curl -sL -o/var/cache/apt/archives/$motr_dev_pkg $motr_pkgs_url/$motr_dev_pkg
247-
# For some reason libfabric pkg is not available in arm64 version
248-
# of Ubuntu 20.04 (Focal Fossa), so we borrow it from more recent
249-
# versions for now.
250-
if [[ "$deb_arch" == 'arm64' ]]; then
251-
local lf_pkg='libfabric1_1.11.0-2_arm64.deb'
252-
$SUDO curl -sL -o/var/cache/apt/archives/$lf_pkg http://ports.ubuntu.com/pool/universe/libf/libfabric/$lf_pkg
253-
$SUDO apt-get install -y /var/cache/apt/archives/$lf_pkg
254-
fi
255-
$SUDO apt-get install -y /var/cache/apt/archives/{$motr_pkg,$motr_dev_pkg}
256-
$SUDO apt-get install -y libisal-dev
257-
fi
258-
}
259-
260227
function version_lt {
261228
test $1 != $(echo -e "$1\n$2" | sort -rV | head -n 1)
262229
}
@@ -414,7 +381,6 @@ if [ x$(uname)x = xFreeBSDx ]; then
414381
else
415382
[ $WITH_SEASTAR ] && with_seastar=true || with_seastar=false
416383
[ $WITH_PMEM ] && with_pmem=true || with_pmem=false
417-
[ $WITH_RADOSGW_MOTR ] && with_rgw_motr=true || with_rgw_motr=false
418384
source /etc/os-release
419385
case "$ID" in
420386
debian|ubuntu|devuan|elementary|softiron)
@@ -496,11 +462,6 @@ else
496462
ci_debug "Removing ceph-build-deps"
497463
$SUDO env DEBIAN_FRONTEND=noninteractive apt-get -y remove ceph-build-deps
498464
if [ "$control" != "debian/control" ] ; then rm $control; fi
499-
500-
# for rgw motr backend build checks
501-
if $with_rgw_motr; then
502-
install_cortx_motr_on_ubuntu
503-
fi
504465
;;
505466
rocky|centos|fedora|rhel|ol|virtuozzo)
506467
builddepcmd="dnf -y builddep --allowerasing"
@@ -556,14 +517,6 @@ else
556517
fi
557518
IGNORE_YUM_BUILDEP_ERRORS="ValueError: SELinux policy is not managed or store cannot be accessed."
558519
sed "/$IGNORE_YUM_BUILDEP_ERRORS/d" $DIR/yum-builddep.out | grep -i "error:" && exit 1
559-
# for rgw motr backend build checks
560-
if ! rpm --quiet -q cortx-motr-devel &&
561-
{ [[ $FOR_MAKE_CHECK ]] || $with_rgw_motr; }; then
562-
$SUDO dnf install -y \
563-
"$motr_pkgs_url/isa-l-2.30.0-1.el7.${ARCH}.rpm" \
564-
"$motr_pkgs_url/cortx-motr-2.0.0-1_git3252d623_any.el8.${ARCH}.rpm" \
565-
"$motr_pkgs_url/cortx-motr-devel-2.0.0-1_git3252d623_any.el8.${ARCH}.rpm"
566-
fi
567520
;;
568521
opensuse*|suse|sles)
569522
echo "Using zypper to install dependencies"

0 commit comments

Comments
 (0)