Update TOX_CONSTRAINTS_FILE for stable/yoga

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

Change-Id: Ia6b3a520208990e2356c86742423f8dbce5b60fb
This commit is contained in:
OpenStack Release Bot 2022-03-10 08:04:12 +00:00
parent c2939bc613
commit a8a35e088c
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/yoga
upper-constraints file /opt/upper-constraints.txt https://releases.openstack.org/constraints/upper/yoga

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/yoga

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/yoga}
-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/yoga}
-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/yoga}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
allowlist_externals = rm
@ -198,7 +198,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/yoga}
-r{toxinidir}/doc/requirements.txt
allowlist_externals = rm
commands =