]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
add repo update for arrow installation (ubunto/centos). 1827/head
authorgal salomon <gal.salomon@gmail.com>
Tue, 25 May 2021 00:19:31 +0000 (03:19 +0300)
committergal salomon <gal.salomon@gmail.com>
Thu, 10 Jun 2021 07:24:23 +0000 (10:24 +0300)
Signed-off-by: gal salomon <gal.salomon@gmail.com>
scripts/build_utils.sh

index 7d5dfe576ad5e5f026212ece7cb55c63f5761459..c9612e7a5724db0a252e548dcbbde7b292621d84 100644 (file)
@@ -489,6 +489,8 @@ echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ $DIST-backports main
 echo "deb [arch=amd64] http://security.ubuntu.com/ubuntu $DIST-security main restricted universe multiverse" >> /etc/apt/sources.list
 env DEBIAN_FRONTEND=noninteractive apt-get update -y -o Acquire::Languages=none -o Acquire::Translation=none || true
 env DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg
+curl -L https://dist.apache.org/repos/dist/dev/arrow/KEYS | sudo apt-key add -
+sudo add-apt-repository "deb [arch=amd64] http://dl.bintray.com/apache/arrow/ubuntu $DISTRO main"
 EOF
     elif [[ "$ARCH" == "arm64" ]]; then
         cat > $hookdir/D04install-updates-repo <<EOF
@@ -1373,6 +1375,8 @@ setup_rpm_build_deps() {
         # 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 config-manager --add-repo="https://apache.jfrog.io/artifactory/arrow/centos/${RELEASE}/${ARCH}"
     fi
 
     sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec