Apache DataFusion SQL Query Engine
ARROW-12354: [Packaging][RPM] Use apache.jfrog.io/artifactory/ instead of apache.bintray.com/
Sutou Kouheiec95e1caffc7
diff --git a/dev/release/verify-yum.sh b/dev/release/verify-yum.shindex 0bde804c3c..b9c46c4389 100755--- a/dev/release/verify-yum.sh+++ b/dev/release/verify-yum.sh@@ -21,26 +21,22 @@ set -exuif [ $# -lt 2 ]; thenecho "Usage: $0 VERSION rc"- echo " $0 VERSION rc BINTRAY_REPOSITORY"echo " $0 VERSION release"- echo " $0 VERSION release BINTRAY_REPOSITORY"echo " $0 VERSION local"echo " e.g.: $0 0.13.0 rc # Verify 0.13.0 RC"echo " e.g.: $0 0.13.0 release # Verify 0.13.0"- echo " e.g.: $0 0.13.0 rc kou/arrow # Verify 0.13.0 RC at https://bintray.com/kou/arrow"echo " e.g.: $0 0.13.0-dev20210203 local # Verify 0.13.0-dev20210203 on local"exit 1fiVERSION="$1"TYPE="$2"-BINTRAY_REPOSITORY="${3:-apache/arrow}"local_prefix="/arrow/dev/tasks/linux-packages"-bintray_base_url="https://dl.bintray.com/${BINTRAY_REPOSITORY}/centos"+artifactory_base_url="https://apache.jfrog.io/artifactory/arrow/centos"if [ "${TYPE}" = "rc" ]; then- bintray_base_url="${bintray_base_url}-rc"+ artifactory_base_url+="-rc"fidistribution=$(. /etc/os-release && echo "${ID}")@@ -87,30 +83,23 @@ if [ "${TYPE}" = "local" ]; thenelsepackage_version="${VERSION}"${install_command} \- ${bintray_base_url}/${distribution_version}/apache-arrow-release-latest.rpm+ ${artifactory_base_url}/${distribution_version}/apache-arrow-release-latest.rpmfiif [ "${TYPE}" = "local" ]; thensed \-i"" \- -e "s,baseurl=https://apache.bintray.com/arrow/,baseurl=file://${local_prefix}/yum/repositories/,g" \+ -e "s,baseurl=https://apache\.jfrog\.io/artifactory/arrow/,baseurl=file://${local_prefix}/yum/repositories/,g" \/etc/yum.repos.d/Apache-Arrow.repokeys="${local_prefix}/KEYS"if [ -f "${keys}" ]; thencp "${keys}" /etc/pki/rpm-gpg/RPM-GPG-KEY-Apache-Arrowfielse- if [ "${BINTRAY_REPOSITORY}" = "apache/arrow" ]; then- if [ "${TYPE}" = "rc" ]; then- sed \- -i"" \- -e "s,/centos/,/centos-rc/,g" \- /etc/yum.repos.d/Apache-Arrow.repo- fi- else+ if [ "${TYPE}" = "rc" ]; thensed \-i"" \- -e "s,baseurl=https://apache.bintray.com/arrow/centos,baseurl=${bintray_base_url},g" \+ -e "s,/centos/,/centos-rc/,g" \/etc/yum.repos.d/Apache-Arrow.repofifidiff --git a/dev/tasks/linux-packages/apache-arrow-release/yum/Apache-Arrow.repo b/dev/tasks/linux-packages/apache-arrow-release/yum/Apache-Arrow.repoindex 16a6d742fb..fd77306e6f 100644--- a/dev/tasks/linux-packages/apache-arrow-release/yum/Apache-Arrow.repo+++ b/dev/tasks/linux-packages/apache-arrow-release/yum/Apache-Arrow.repo@@ -17,21 +17,21 @@[apache-arrow-amazon-linux]name=Apache Arrow for Amazon Linux 2 - $basearch-baseurl=https://apache.bintray.com/arrow/centos/7/$basearch/+baseurl=https://apache.jfrog.io/artifactory/arrow/centos/7/$basearch/gpgcheck=1enabled=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Apache-Arrow[apache-arrow-centos]name=Apache Arrow for CentOS $releasever - $basearch-baseurl=https://apache.bintray.com/arrow/centos/$releasever/$basearch/+baseurl=https://apache.jfrog.io/artifactory/arrow/centos/$releasever/$basearch/gpgcheck=1enabled=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Apache-Arrow[apache-arrow-rhel]name=Apache Arrow for RHEL $releasever - $basearch-baseurl=https://apache.bintray.com/arrow/centos/$releasever/$basearch/+baseurl=https://apache.jfrog.io/artifactory/arrow/centos/$releasever/$basearch/gpgcheck=1enabled=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Apache-Arrow