diff --git a/constraints.txt b/constraints.txt new file mode 100644 index 00000000..d4203574 --- /dev/null +++ b/constraints.txt @@ -0,0 +1,2 @@ +# Pin python-libjuju until it gets validated against juju-3.x +juju<3.0.0 diff --git a/osci.yaml b/osci.yaml index 7a4e3056..553b1c5f 100644 --- a/osci.yaml +++ b/osci.yaml @@ -114,6 +114,8 @@ parent: cot-func-target vars: tox_extra_args: '-- jammy-caracal' + juju_snap_channel: "3.1/stable" + pip_constraints_url: https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt - job: name: cot_distro-regression_lunar-antelope parent: cot-func-target @@ -129,6 +131,8 @@ parent: cot-func-target vars: tox_extra_args: '-- noble-caracal' + juju_snap_channel: "3.1/stable" + pip_constraints_url: https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt - job: name: cot_distro-regression_bionic-queens-security parent: cot-func-target @@ -154,6 +158,8 @@ parent: cot-func-target vars: tox_extra_args: '-- noble-caracal-security' + juju_snap_channel: "3.1/stable" + pip_constraints_url: https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt - job: name: cot_distro-regression_focal-ussuri-to-yoga-upgrades parent: cot-func-target diff --git a/tox.ini b/tox.ini index 8612be01..37a7cabd 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,9 @@ passenv = CS_* OS_* TEST_* -deps = -r{toxinidir}/test-requirements.txt +deps = + -c{env:TEST_CONSTRAINTS_FILE:{toxinidir}/constraints.txt} + -r{toxinidir}/test-requirements.txt install_command = pip install {opts} {packages}