diff options
author | Ghanshyam Mann <gmann@ghanshyammann.com> | 2023-03-16 14:50:38 -0500 |
---|---|---|
committer | Ghanshyam Mann <gmann@ghanshyammann.com> | 2023-03-16 14:50:38 -0500 |
commit | 00a315dc9636fb33332ef96ec504660f471e0ec1 (patch) | |
tree | a930e4e513cf4fd27c8d70b344d9a6bbabe5f7f4 | |
parent | b04b102984fa16f4837f63e322baf472c1c76609 (diff) | |
download | tempest-00a315dc9636fb33332ef96ec504660f471e0ec1.tar.gz |
Use stable constraint in tox to release new tag for 2023.1
We will release Tempest new tag to get cinder tests
fix[1] in stable/2023.1. Without the cinder test fix[1], tempest
released for 2023.1 will not work with cinder in 2023.1.
So that new tag use stable/2023.1 constraint in the tox env.
For example: if anyone uses Tempest new tag in future say
1 year later then tox env also should use the 2023.1 contstraint for
compatibility instead master.
These need to be move back to master constraint once release is done.
[1] https://review.opendev.org/c/openstack/tempest/+/875372
Change-Id: Ibb348e0642190b3a83d8b5f86c8b49295cf071e0
-rw-r--r-- | tox.ini | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -11,7 +11,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/2023.1} -r{toxinidir}/requirements.txt [testenv] @@ -43,7 +43,7 @@ usedevelop = True allowlist_externals = find deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.1} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = @@ -361,7 +361,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/2023.1} -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = {posargs} @@ -376,7 +376,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/2023.1} -r{toxinidir}/doc/requirements.txt commands = sphinx-apidoc -f -o doc/source/tests/compute tempest/api/compute @@ -463,7 +463,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/2023.1} -r{toxinidir}/doc/requirements.txt commands = rm -rf releasenotes/build |