Skip to content

Commit

Permalink
github: skip bookworm upgrade check
Browse files Browse the repository at this point in the history
As there is no bookworm package, just skip test case.

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Sep 14, 2023
1 parent 8c828af commit 376c193
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fluent-package/apt/systemd-test/update-from-v4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 376c193

Please sign in to comment.