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:
parent
c2939bc613
commit
a8a35e088c
@ -1,3 +1,3 @@
|
|||||||
# This is used for source-based builds
|
# This is used for source-based builds
|
||||||
amphora-agent git /opt/amphora-agent https://opendev.org/openstack/octavia
|
amphora-agent git /opt/amphora-agent https://opendev.org/openstack/octavia stable/yoga
|
||||||
upper-constraints file /opt/upper-constraints.txt https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt
|
upper-constraints file /opt/upper-constraints.txt https://releases.openstack.org/constraints/upper/yoga
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# This is used for source-based builds
|
# 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
|
||||||
|
8
tox.ini
8
tox.ini
@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
install_command =
|
install_command =
|
||||||
pip install {opts} {packages}
|
pip install {opts} {packages}
|
||||||
allowlist_externals = find
|
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}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
@ -23,7 +23,7 @@ commands =
|
|||||||
# This environment is called from CI scripts to test and publish
|
# This environment is called from CI scripts to test and publish
|
||||||
# the API Ref to docs.openstack.org.
|
# the API Ref to docs.openstack.org.
|
||||||
deps =
|
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}/requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
allowlist_externals = rm
|
allowlist_externals = rm
|
||||||
@ -92,7 +92,7 @@ allowlist_externals =
|
|||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps =
|
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}/requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
allowlist_externals = rm
|
allowlist_externals = rm
|
||||||
@ -198,7 +198,7 @@ max-line-length = 79
|
|||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
deps =
|
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
|
-r{toxinidir}/doc/requirements.txt
|
||||||
allowlist_externals = rm
|
allowlist_externals = rm
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user