Skip to content

Commit

Permalink
test/suites: Use 1/candidate instead of 1/stable for upgrade tests (#581
Browse files Browse the repository at this point in the history
)
  • Loading branch information
roosterfish authored Jan 13, 2025
2 parents e04ef18 + 9b1cf60 commit 9577442
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
- "quincy/stable"
microovn: ["22.03/stable"]
lxd: ["5.21/stable"]
microcloud: ["1/stable"]
microcloud: ["1/candidate"]
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion test/includes/microcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ validate_system_lxd() {

# Check core config options
lxd_address="$(lxc config get core.https_address)"
if [ "${MICROCLOUD_SNAP_CHANNEL}" = "1/stable" ]; then
if [ "${MICROCLOUD_SNAP_CHANNEL}" = "1/candidate" ]; then
# There was a bug in MicroCloud 1 that set different addresses.
# See https://github.com/canonical/microcloud/issues/214
system_address="$(lxc ls local:"${name}" -f json -c4 | jq -r '.[0].state.network.enp5s0.addresses[] | select(.family == "inet") | .address')"
Expand Down
2 changes: 1 addition & 1 deletion test/suites/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test_upgrade() {
done

# Perform upgrade test from MicroCloud 1 to 2.
if [ "${MICROCLOUD_SNAP_CHANNEL}" = "1/stable" ]; then
if [ "${MICROCLOUD_SNAP_CHANNEL}" = "1/candidate" ]; then
microceph_target="squid/edge" # TODO: squid/stable when available
microovn_target="latest/edge" # TODO: 24.03/stable when available
lxd_target="5.21/edge"
Expand Down

0 comments on commit 9577442

Please sign in to comment.