a8afbe03b8
We use Tempest master for testing the supported stable
branches, so using master upper constraints works fine for
such master or stable branch testing, but when we need to
use old Tempest in the below cases then master upper constraints
do not work for Tempest venv:
- Testing Extended Maintenance branch
Example: stable/train tempest cap
- https://review.opendev.org/c/openstack/manila/+/825246
manila run tempest tests via contrib/ci/post_test_hook.sh
and it use master constraints even for stable branches when we need
to use stable constraints. using master constraints end up recreating
the Tempest venv and flush the already installed tempest plugins
and their deps.
This commit set the compatible upper constraint
according to TEMPEST_VENV_UPPER_CONSTRAINTS variable, which is
what used in devstack while creating the Tempest venv and install
tempest plugins in that venv.
This fixes the script until stable/ussuri as later stable
has deprecated this script.
[stable-only]
Related-Bug: #1922597
Change-Id: If2a68f9f12e163fccffbf1c70946e5c97d7063d1
(cherry picked from commit
|
||
---|---|---|
.. | ||
ci | ||
share_driver_hooks |