Update TOX_CONSTRAINTS_FILE for stable/2023.2

Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/2023.2 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I98c365fd344c71eb790b5bb77f3939e7e9f41ca9
This commit is contained in:
OpenStack Release Bot 2023-09-15 14:06:12 +00:00
parent b6df2b3cbe
commit f3ece4198c

View File

@ -10,7 +10,7 @@ setenv =
SQLALCHEMY_WARN_20=1
usedevelop = True
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.2}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
@ -67,7 +67,7 @@ commands = oslo_debug_helper -t barbican/tests {posargs}
# the main docs to https://docs.openstack.org/barbican
description = Build main documentation
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.2}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands=
@ -109,7 +109,7 @@ allowlist_externals =
# Note: This requires local running instances of Barbican and Keystone
# TODO(dmend): remove --serial and uncomment coverage commands
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.2}
-r{toxinidir}/test-requirements.txt
setenv =
OS_TEST_PATH={toxinidir}/functionaltests
@ -129,7 +129,7 @@ passenv = KMIP_PLUGIN_ENABLED
# This tox env is purely to make local test development easier
# Note: This requires local running instances of Barbican and Keystone
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.2}
-r{toxinidir}/test-requirements.txt
setenv =
OS_TEST_PATH={toxinidir}/barbican/cmd/functionaltests