Skip to content

Commit

Permalink
fixup! tests: use ubuntu-image edge on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
valentindavid committed May 6, 2024
1 parent 2c4c19c commit 6814c46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ environment:
# a global setting for LXD channel to use in the tests
# TODO: Consider reverting to latest/candidate after Snapcraft compatibility with LXD 5.21 extended version string "5.21 LTS" is fixed
LXD_SNAP_CHANNEL: "latest/candidate"
UBUNTU_IMAGE_SNAP_CHANNEL: "2/stable"
UBUNTU_OLD_IMAGE_SNAP_CHANNEL: "2/stable"
UBUNTU_IMAGE_SNAP_CHANNEL: "latest/edge"
SNAPCRAFT_SNAP_CHANNEL: "latest/candidate"
# controls whether ubuntu-image is built using the current snapd tree as a
# dependency or the one listed in its go.mod
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ setup_reflash_magic() {
elif is_test_target_core 16; then
# the new ubuntu-image expects mkfs to support -d option, which was not
# supported yet by the version of mkfs that shipped with Ubuntu 16.04
snap install ubuntu-image --channel="$UBUNTU_IMAGE_SNAP_CHANNEL" --classic
snap install ubuntu-image --channel="$OLD_UBUNTU_IMAGE_SNAP_CHANNEL" --classic
else
# shellcheck source=tests/lib/image.sh
. "$TESTSLIB/image.sh"
Expand Down

0 comments on commit 6814c46

Please sign in to comment.