Skip to content

Commit

Permalink
test/main: warn on non-latest/edge snap channels
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Apr 19, 2024
1 parent ce2101d commit 9cba25e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions microcloud/test/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ import_subdir_files includes
echo "==> Checking for dependencies"
check_dependencies lxc lxd curl awk jq git python3 shuf rsync openssl

echo "===> Checking that all snap channels are set to latest/edge"
check_snap_channels

cleanup() {
# Do not exit if commands fail on cleanup. (No need to reset -e as this is only run on test suite exit).
set -eux
Expand Down

0 comments on commit 9cba25e

Please sign in to comment.