Use stable constraint in tox to release new tag for Zed

We are going to release Tempest new tag to declare the start of
support for stable/zed. So that new tag use stable/zed
constraint in the tox env.

For example: if anyone use Tempest new tag (32.0.0) in future say
1 year later then tox env also should use the zed contstraint for
compatibility instead master.

These need to be move back to master constraint once release is done.

Change-Id: I188a23bf77855358535986256b17fcc4cc6405f9
This commit is contained in:
ghanshyam mann 2022-09-14 15:09:58 +05:30
parent 6ec23b64dc
commit 979f05a03b
1 changed files with 5 additions and 5 deletions

10
tox.ini
View File

@ -12,7 +12,7 @@ setenv =
OS_TEST_PATH=./tempest/test_discover
OS_TEST_TIMEOUT={env:OS_TEST_TIMEOUT:1200}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/zed}
-r{toxinidir}/requirements.txt
[testenv]
@ -29,7 +29,7 @@ usedevelop = True
install_command = pip install {opts} {packages}
allowlist_externals = *
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/zed}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
@ -273,7 +273,7 @@ commands =
[testenv:venv]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/zed}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = {posargs}
@ -288,7 +288,7 @@ commands = {posargs}
[testenv:docs]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/zed}
-r{toxinidir}/doc/requirements.txt
commands =
sphinx-apidoc -f -o doc/source/tests/compute tempest/api/compute
@ -375,7 +375,7 @@ paths =
[testenv:releasenotes]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/zed}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build