diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index acc28800..f87b405f 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -18,6 +18,8 @@ jobs: - name: Setup LXD uses: canonical/setup-lxd@main + with: + channel: latest/stable - name: Install dependencies run: | @@ -42,9 +44,9 @@ jobs: echo "GARM_BASE_URL=$GARM_BASE_URL" >> $GITHUB_ENV - cat <> $GITHUB_ENV @@ -66,7 +67,7 @@ sudo chown -R $RUN_USER:$RUN_USER ${GARM_CONFIG_DIR} export LXD_PROVIDER_EXECUTABLE="$PROVIDER_BIN_DIR/garm-provider-lxd" export LXD_PROVIDER_CONFIG="${GARM_CONFIG_DIR}/garm-provider-lxd.toml" -sudo cp $CONFIG_DIR/garm-provider-lxd.toml $LXD_PROVIDER_CONFIG +cat $CONFIG_DIR/garm-provider-lxd.toml| envsubst | sudo tee $LXD_PROVIDER_CONFIG > /dev/null function clone_and_build_lxd_provider() { git clone https://github.com/cloudbase/garm-provider-lxd ~/garm-provider-lxd