From 3bc2b8d81179a17db6ac17847ec75a25f9a4b8d1 Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 14 Jun 2023 15:59:09 +0100 Subject: [PATCH] workflows: test stable and edge Test with stable and edge channels of the charms. Also bump Juju version to 3.2/stable. --- .github/workflows/deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 84ab320..5f337e5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,6 +6,11 @@ on: jobs: deploy: + strategy: + matrix: + risk: + - stable + - edge name: deploy runs-on: ubuntu-latest steps: @@ -16,7 +21,7 @@ jobs: with: provider: microk8s channel: 1.26-strict/stable - juju-channel: 3.1/stable + juju-channel: 3.2/stable microk8s-addons: hostpath-storage dns rbac metallb:10.64.140.40-10.64.140.49 - name: Install dependencies run: | @@ -25,7 +30,9 @@ jobs: - name: Apply terraform run: | terraform init - terraform apply -auto-approve + terraform apply -auto-approve \ + -var "ovn-channel=23.03/${{ matrix.risk }}" \ + -var "openstack-channel=2023.1/${{ matrix.risk }}" juju model-config -m openstack automatically-retry-hooks=true juju-wait -vw -m openstack -t 3600 -x cinder-ceph -r 3 - name: Collect juju status