Update TOX/UPPER_CONSTRAINTS_FILE for stable/train

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

Change-Id: I1887d6ec6c9307b64f0fa4c3b02b3fa2ce5e291f
This commit is contained in:
OpenStack Release Bot 2019-09-27 09:11:30 +00:00
parent e60f6ac2f6
commit 8f58ade5a5
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ envlist = py27,py37,pep8,api-ref,docs,genconfig,genpolicy,releasenotes,protectio
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/train}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
.[ldap,memcache,mongodb]
@ -50,7 +50,7 @@ passenv = FAST8_NUM_COMMITS
basepython = python3
# NOTE(browne): This is required for the integration test job of the bandit
# project. Please do not remove.
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/train}
-r{toxinidir}/requirements.txt
.[bandit]
commands = bandit -r keystone -x 'keystone/tests/*'