Use juju 3.1 for CI tests

Update the snaps to use in functional tests:
juju snap to 3.1 and microk8s snap to 1.26-strict.

Update zaza requirement to use libjuju-3.1 branch.

Change-Id: I9d11caa4dc2176a72297c6cc1e406372d906d048
This commit is contained in:
Hemanth Nakkina 2023-03-08 09:21:39 +05:30
parent d73eee3964
commit aaa5fca487
2 changed files with 6 additions and 1 deletions

View File

@ -5,3 +5,7 @@
- microk8s-func-test - microk8s-func-test
vars: vars:
charm_build_name: ovn-relay-k8s charm_build_name: ovn-relay-k8s
juju_channel: 3.1/stable
juju_classic_mode: false
microk8s_channel: 1.26-strict/stable
microk8s_classic_mode: false

View File

@ -24,6 +24,7 @@ setenv =
PYTHONPATH = {toxinidir}:{[vars]lib_path}:{[vars]src_path} PYTHONPATH = {toxinidir}:{[vars]lib_path}:{[vars]src_path}
passenv = passenv =
PYTHONPATH PYTHONPATH
HOME
install_command = install_command =
pip install {opts} {packages} pip install {opts} {packages}
commands = stestr run --slowest {posargs} commands = stestr run --slowest {posargs}
@ -116,7 +117,7 @@ commands =
[testenv:func-noop] [testenv:func-noop]
basepython = python3 basepython = python3
deps = deps =
git+https://github.com/openstack-charmers/zaza.git#egg=zaza git+https://github.com/openstack-charmers/zaza.git@libjuju-3.1#egg=zaza
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack
git+https://opendev.org/openstack/tempest.git#egg=tempest git+https://opendev.org/openstack/tempest.git#egg=tempest
commands = commands =