Skip to content

Commit

Permalink
github: skip upgrade test from v4 on AmazonLinux 2023
Browse files Browse the repository at this point in the history
Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Dec 8, 2023
1 parent 9d2952b commit 0ec852d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions fluent-package/yum/systemd-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@ dir="/host/fluent-package/yum/systemd-test"
set -eux

test_filenames=(
update-from-v4.sh
update-to-next-version.sh
update-to-next-version-with-backward-compat-for-v4.sh
)

if [ ! $image = "images:amazonlinux/2023" ]; then
# As no AmazonLinux/2023 package for v4, so execute upgrade test for other images.
test_filenames+=(
update-from-v4.sh
update-to-next-version-with-backward-compat-for-v4.sh
)
fi

for yum_repo_type in local v5 lts; do
echo -e "\nRun test: $yum_repo_type\n"
lxc launch $image target
Expand Down

0 comments on commit 0ec852d

Please sign in to comment.