From 376c19363b0417b45c257562d97bd30ea0c2a0f4 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Thu, 14 Sep 2023 11:15:56 +0900 Subject: [PATCH] github: skip bookworm upgrade check As there is no bookworm package, just skip test case. Signed-off-by: Kentaro Hayashi --- fluent-package/apt/systemd-test/update-from-v4.sh | 5 +++++ .../update-to-next-version-with-backward-compat-for-v4.sh | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/fluent-package/apt/systemd-test/update-from-v4.sh b/fluent-package/apt/systemd-test/update-from-v4.sh index 968f212de..6c81781c8 100755 --- a/fluent-package/apt/systemd-test/update-from-v4.sh +++ b/fluent-package/apt/systemd-test/update-from-v4.sh @@ -4,6 +4,11 @@ set -exu . $(dirname $0)/../commonvar.sh +if [ "${code_name}" == "bookworm" ]; then + echo "As bookworm is not published for v4, so upgrade from v4 check is disabled" + exit 0 +fi + # TODO: Remove it when v5 repository was deployed sudo apt install -y curl ca-certificates curl -O https://packages.treasuredata.com/4/${distribution}/${code_name}/pool/contrib/f/fluentd-apt-source/fluentd-apt-source_2020.8.25-1_all.deb diff --git a/fluent-package/apt/systemd-test/update-to-next-version-with-backward-compat-for-v4.sh b/fluent-package/apt/systemd-test/update-to-next-version-with-backward-compat-for-v4.sh index d7e6ba4cd..afea011da 100755 --- a/fluent-package/apt/systemd-test/update-to-next-version-with-backward-compat-for-v4.sh +++ b/fluent-package/apt/systemd-test/update-to-next-version-with-backward-compat-for-v4.sh @@ -4,6 +4,11 @@ set -exu . $(dirname $0)/../commonvar.sh +if [ "${code_name}" == "bookworm" ]; then + echo "As bookworm is not published for v4, so checking backward compatibility from v4 is disabled" + exit 0 +fi + # TODO: Remove it when v5 repository was deployed sudo apt install -y curl ca-certificates curl -O https://packages.treasuredata.com/4/${distribution}/${code_name}/pool/contrib/f/fluentd-apt-source/fluentd-apt-source_2020.8.25-1_all.deb