Skip to content

Commit

Permalink
apacheGH-40735: [Packaging][CentOS] Drop support for CentOS 7
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Apr 26, 2024
1 parent 0f56339 commit 1d750dc
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 129 deletions.
3 changes: 0 additions & 3 deletions dev/release/binary-task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,6 @@ def available_yum_targets
["amazon-linux", "2023"],
["centos", "9-stream"],
["centos", "8-stream"],
["centos", "7"],
]
end

Expand Down Expand Up @@ -2179,8 +2178,6 @@ def yum_test_targets_default
# "centos-9-stream-aarch64",
"centos-8-stream",
# "centos-8-stream-aarch64",
"centos-7",
# "centos-7-aarch64",
]
end

Expand Down
10 changes: 1 addition & 9 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ test_yum() {
"arm64v8/almalinux:8" \
"amazonlinux:2023" \
"quay.io/centos/centos:stream9" \
"quay.io/centos/centos:stream8" \
"centos:7"; do
"quay.io/centos/centos:stream8"; do
case "${target}" in
arm64v8/*)
if [ "$(arch)" = "aarch64" -o -e /usr/bin/qemu-aarch64-static ]; then
Expand All @@ -246,13 +245,6 @@ test_yum() {
continue
fi
;;
centos:7)
if [ "$(arch)" = "x86_64" ]; then
: # OK
else
continue
fi
;;
esac
if ! docker run \
--rm \
Expand Down
16 changes: 0 additions & 16 deletions dev/release/verify-yum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,6 @@ case "${distribution}-${distribution_version}" in
install_command="dnf install -y"
info_command="dnf info"
;;
centos-7)
distribution_prefix="centos"
cmake_package=cmake3
cmake_command=cmake3
devtoolset=11
scl_package=centos-release-scl-rh
have_arrow_libs=yes
have_flight=no
have_gandiva=no
have_ruby=no
have_vala=no
install_command="yum install -y"
uninstall_command="yum remove -y"
clean_command="yum clean"
info_command="yum info"
;;
centos-8)
distribution_prefix="centos"
repository_version+="-stream"
Expand Down

This file was deleted.

66 changes: 0 additions & 66 deletions dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile

This file was deleted.

2 changes: 0 additions & 2 deletions dev/tasks/linux-packages/package-task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,6 @@ def yum_targets_default
# "centos-9-stream-aarch64",
"centos-8-stream",
# "centos-8-stream-aarch64",
"centos-7",
# "centos-7-aarch64",
]
end

Expand Down
9 changes: 3 additions & 6 deletions dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -554,12 +554,9 @@ tasks:
"almalinux-8",
"amazon-linux-2023",
"centos-9-stream",
"centos-8-stream",
"centos-7"] %}
{% set is_rhel7_based = (target in ["amazon-linux-2", "centos-7"]) %}
{% for architecture
in ["amd64", "arm64"]
if not (target == "centos-7" and architecture == "arm64") %}
"centos-8-stream"] %}
{% set is_rhel7_based = (target in ["amazon-linux-2"]) %}
{% for architecture in ["amd64", "arm64"] %}
{{ target }}-{{ architecture }}:
ci: github
template: linux-packages/github.linux.yml
Expand Down
2 changes: 1 addition & 1 deletion docs/source/developers/continuous_integration/crossbow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Run only ``conda`` package builds and a Linux one:

.. code::
$ archery crossbow submit --group conda centos-7
$ archery crossbow submit --group conda centos-9
Run ``wheel`` builds:

Expand Down

0 comments on commit 1d750dc

Please sign in to comment.