Update TOX_CONSTRAINTS_FILE for stable/xena

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/xena branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I5791d335c70eb70af0f5a52190a60bb6da7dc951
This commit is contained in:
OpenStack Release Bot 2021-09-17 16:11:44 +00:00
parent 50db4b50b9
commit a741bcea4f
3 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,3 @@
# This is used for source-based builds
amphora-agent git /opt/amphora-agent https://opendev.org/openstack/octavia
upper-constraints file /opt/upper-constraints.txt https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt
amphora-agent git /opt/amphora-agent https://opendev.org/openstack/octavia stable/xena
upper-constraints file /opt/upper-constraints.txt https://releases.openstack.org/constraints/upper/xena

View File

@ -1,2 +1,2 @@
# This is used for source-based builds
octavia-lib git /opt/octavia-lib https://opendev.org/openstack/octavia-lib
octavia-lib git /opt/octavia-lib https://opendev.org/openstack/octavia-lib stable/xena

View File

@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
install_command =
pip install {opts} {packages}
allowlist_externals = find
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
@ -23,7 +23,7 @@ commands =
# This environment is called from CI scripts to test and publish
# the API Ref to docs.openstack.org.
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
allowlist_externals = rm
@ -92,7 +92,7 @@ allowlist_externals =
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/doc/requirements.txt
@ -199,7 +199,7 @@ max-line-length = 79
[testenv:releasenotes]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/doc/requirements.txt
allowlist_externals = rm
commands =