summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMartin Kopec <mkopec@redhat.com>2021-09-09 09:28:57 +0000
committerMartin Kopec <mkopec@redhat.com>2021-09-09 09:28:57 +0000
commitc43ce23cdc0bf97802d604ef71fdeebcd9f98db0 (patch)
treed89a75d1335b32ae5cb4902f4aea0d7199355a5e /tox.ini
parenta25e9baed18cd890674b07f8a0c4d8c38cc11d32 (diff)
downloadtempest-c43ce23cdc0bf97802d604ef71fdeebcd9f98db0.tar.gz
Use stable constraint in tox to release new tag for Xena
We are going to release Tempest a new tag to declare the start of support for stable/xena so the new tag should use stable/xena constraint in the tox env. For example: if anyone uses Tempest 29.0.0 in the future, say 1 year later, then tox env also should use the xena contstraint instead master for the compatibility. These changes need to be moved back to master constraint once the release is done. Using master constraint in tox.ini for all the older tags is a problem and we faced the issue of constraint incompatibility. Therefore, we have to work around it all over the devstack, tempest, grenade and set the stable constraints via the env var. Change-Id: I2bbf550294e7873eb07598b204ccc8d63ff6b5eb
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 5 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index efdaacc2a..13da2be9f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ setenv =
VIRTUAL_ENV={envdir}
OS_TEST_PATH=./tempest/test_discover
deps =
- -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+ -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/requirements.txt
[testenv]
@@ -28,7 +28,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/xena}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
@@ -275,7 +275,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/xena}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = {posargs}
@@ -290,7 +290,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/xena}
-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/xena}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build