Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions dev/release/verify-apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ fi
have_flight=yes
have_gandiva=yes
have_plasma=yes
case "${distribution}-${code_name}-$(arch)" in
debian-stretch-*)
case "${distribution}-${code_name}" in
debian-stretch)
sed \
-i"" \
-e "s/ main$/ main contrib non-free/g" \
Expand All @@ -61,24 +61,20 @@ case "${distribution}-${code_name}-$(arch)" in
deb http://deb.debian.org/debian ${code_name}-backports main
APT_LINE
;;
debian-buster-*)
debian-buster)
sed \
-i"" \
-e "s/ main$/ main contrib non-free/g" \
/etc/apt/sources.list
;;
ubuntu-xenial-x86_64)
ubuntu-xenial)
have_flight=no
;;
ubuntu-xenial-aarch64)
have_flight=no
have_gandiva=no
have_plasma=no
;;
ubuntu-bionic-aarch64)
have_plasma=no
;;
esac
if [ "$(arch)" = "aarch64" ]; then
have_gandiva=no
have_plasma=no
fi

keyring_archive_base_name="apache-arrow-archive-keyring-latest-${code_name}.deb"
curl \
Expand Down
10 changes: 0 additions & 10 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,6 @@ test_apt() {
"arm64v8/ubuntu:eoan" \
"ubuntu:focal" \
"arm64v8/ubuntu:focal"; do \
# We can't build some arm64 binaries by Crossbow for now.
if [ "${target}" = "arm64v8/debian:stretch" ]; then continue; fi
if [ "${target}" = "arm64v8/debian:buster" ]; then continue; fi
if [ "${target}" = "arm64v8/ubuntu:xenial" ]; then continue; fi
if [ "${target}" = "arm64v8/ubuntu:bionic" ]; then continue; fi
if [ "${target}" = "arm64v8/ubuntu:eoan" ]; then continue; fi
if [ "${target}" = "arm64v8/ubuntu:focal" ]; then continue; fi
case "${target}" in
arm64v8/*)
if [ "$(arch)" = "aarch64" -o -e /usr/bin/qemu-aarch64-static ]; then
Expand Down Expand Up @@ -180,9 +173,6 @@ test_yum() {
"arm64v8/centos:7" \
"centos:8" \
"arm64v8/centos:8"; do
# We can't build some arm64 binaries by Crossbow for now.
if [ "${target}" = "arm64v8/centos:7" ]; then continue; fi
if [ "${target}" = "arm64v8/centos:8" ]; then continue; fi
case "${target}" in
arm64v8/*)
if [ "$(arch)" = "aarch64" -o -e /usr/bin/qemu-aarch64-static ]; then
Expand Down
9 changes: 6 additions & 3 deletions dev/release/verify-yum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,23 @@ have_gandiva=yes
have_glib=yes
have_parquet=yes
install_command="dnf install -y --enablerepo=PowerTools"
case "${distribution}-${distribution_version}-$(arch)" in
centos-6-*)
case "${distribution}-${distribution_version}" in
centos-6)
have_flight=no
have_gandiva=no
have_glib=no
have_parquet=no
install_command="yum install -y"
;;
centos-7-*)
centos-7)
have_flight=no
have_gandiva=no
install_command="yum install -y"
;;
esac
if [ "$(arch)" = "aarch64" ]; then
have_gandiva=no
fi

${install_command} \
${bintray_base_url}/${distribution_version}/apache-arrow-release-latest.rpm
Expand Down