summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghanshyam mann <gmann@ghanshyammann.com>2022-09-14 15:09:58 +0530
committerghanshyam mann <gmann@ghanshyammann.com>2022-09-14 15:12:03 +0530
commit979f05a03b3f601b319fada515a523f0fab8c1a0 (patch)
tree5841cac0f40f1829d7f55974bf036a1b13cf749e
parent6ec23b64dc844e0f7c2f01dc7e1f6d87fdb50345 (diff)
downloadtempest-979f05a03b3f601b319fada515a523f0fab8c1a0.tar.gz
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
-rw-r--r--tox.ini10
1 files changed, 5 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 94eb4d933..4f055d7bf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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