From 64438c5a3b2253705b4e47bc69c0596395ecbb58 Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Thu, 18 Jan 2024 16:33:56 -0300 Subject: [PATCH] Set a tox_constraints_file for caracal jobs. This allows the jobs to install the right libjuju version based on the snap channel that juju is being installed from. --- zuul.d/jobs.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index e5d029a..32665c7 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -502,7 +502,12 @@ - charm-build vars: tox_extra_args: '-- noble-caracal' - juju_snap_channel: '3.3/stable' + # NOTE: the next two variables need to be updated together, because the + # constraints have pinning to install the right version of python-libjuju + # based on what snap channel is being used to bootstrap the controller + # from. + 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: mantic-bobcat description: Run a functional test against mantic-bobcat @@ -588,7 +593,12 @@ - charm-build vars: tox_extra_args: '-- jammy-caracal' - juju_snap_channel: '3.3/stable' + # NOTE: the next two variables need to be updated together, because the + # constraints have pinning to install the right version of python-libjuju + # based on what snap channel is being used to bootstrap the controller + # from. + 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: jammy-bobcat description: Run a functional test against jammy-bobcat