This is an automated email from the ASF dual-hosted git repository. raulcd pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push: new beaa47b4d2 GH-43122: [CI][Packaging][RPM][CentOS] Use vault.centos.org for SCL (#43127) beaa47b4d2 is described below commit beaa47b4d22301988b71ec781d0307652d0451e1 Author: Sutou Kouhei <k...@clear-code.com> AuthorDate: Wed Jul 3 19:42:37 2024 +0900 GH-43122: [CI][Packaging][RPM][CentOS] Use vault.centos.org for SCL (#43127) ### Rationale for this change We can't use http://mirrorlist.centos.org because CentOS 7 reached EOL. ### What changes are included in this PR? Use https://vault.centos.org/ instead. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #43122 Authored-by: Sutou Kouhei <k...@clear-code.com> Signed-off-by: Raúl Cumplido <raulcumpl...@gmail.com> --- dev/release/verify-yum.sh | 5 +++++ dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dev/release/verify-yum.sh b/dev/release/verify-yum.sh index aad82af21f..31ed9c160b 100755 --- a/dev/release/verify-yum.sh +++ b/dev/release/verify-yum.sh @@ -201,6 +201,11 @@ echo "::group::Test Apache Arrow C++" ${install_command} ${enablerepo_epel} arrow-devel-${package_version} if [ -n "${devtoolset}" ]; then ${install_command} ${scl_package} + sed -i \ + -e 's/^mirrorlist/#mirrorlist/' \ + -e 's/^#baseurl/baseurl/' \ + -e 's/mirror\.centos\.org/vault.centos.org/' \ + /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo fi ${install_command} \ ${cmake_package} \ diff --git a/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile b/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile index 8c029d87c2..e834e17a4b 100644 --- a/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile +++ b/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile @@ -24,7 +24,7 @@ ENV \ ARG DEBUG # GH-42128 -# Switch repos to point to to vault.centos.org because Centos 7 is EOL +# Switch repos to point to to vault.centos.org because CentOS 7 is EOL RUN sed -i \ -e 's/^mirrorlist/#mirrorlist/' \ -e 's/^#baseurl/baseurl/' \ @@ -37,6 +37,11 @@ RUN \ yum install -y ${quiet} \ centos-release-scl-rh \ epel-release && \ + sed -i \ + -e 's/^mirrorlist/#mirrorlist/' \ + -e 's/^#baseurl/baseurl/' \ + -e 's/mirror\.centos\.org/vault.centos.org/' \ + /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo && \ yum install -y ${quiet} \ ${SCL}-gcc-c++ \ ${SCL}-make \