Update TOX_CONSTRAINTS_FILE for stable/2024.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/2024.2 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I2187f5cc14816ed925550e7ec26aa1a46b174e46
This commit is contained in:
OpenStack Release Bot 2024-11-28 14:21:36 +00:00
parent 28c07cb58d
commit 17dd5a3079

View File

@ -33,7 +33,7 @@ setenv =
[testenv:docs]
deps =
-r{toxinidir}/doc/requirements.txt
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
commands =
bash -c "rm -rf doc/build"
sphinx-build -W --keep-going -b html doc/source doc/build/html
@ -52,7 +52,7 @@ extensions = .rst
[testenv:releasenotes]
deps =
-r{toxinidir}/doc/requirements.txt
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html