You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2022/12/26 02:10:31 UTC
[arrow-adbc] branch main updated: chore(dev/release): skip APT/Yum verifications without Docker (#290)
This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 7be768b chore(dev/release): skip APT/Yum verifications without Docker (#290)
7be768b is described below
commit 7be768babaa6616b0ae38cc118b74bab93a0ef1d
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Mon Dec 26 11:10:25 2022 +0900
chore(dev/release): skip APT/Yum verifications without Docker (#290)
Fixes #289.
---
.github/workflows/verify.yml | 1 +
dev/release/verify-release-candidate.sh | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index 004d2de..aa1d98e 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -42,6 +42,7 @@ jobs:
if: inputs.version != '' && inputs.rc != ''
runs-on: ${{ matrix.os }}
strategy:
+ fail-fast: false
matrix:
os: ["macos-latest", "ubuntu-latest"]
steps:
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index ab13e99..7140197 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -168,6 +168,11 @@ test_binary() {
test_apt() {
show_header "Testing APT packages"
+ if ! type docker > /dev/null 2>&1; then
+ show_info "Skip because Docker isn't installed"
+ return 0
+ fi
+
local verify_type=rc
if [ "${TEST_STAGING:-0}" -gt 0 ]; then
verify_type=staging-${verify_type}
@@ -193,6 +198,11 @@ test_apt() {
test_yum() {
show_header "Testing Yum packages"
+ if ! type docker > /dev/null 2>&1; then
+ show_info "Skip because Docker isn't installed"
+ return 0
+ fi
+
local verify_type=rc
if [ "${TEST_STAGING:-0}" -gt 0 ]; then
verify_type=staging-${verify_type}