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: I937e88fdb199839fc25122835bee43f63c7e3820
This commit is contained in:
		
							
								
								
									
										4
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tox.ini
									
									
									
									
									
								
							| @@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir} | |||||||
| usedevelop = True | usedevelop = True | ||||||
| install_command = pip install {opts} {packages} | install_command = pip install {opts} {packages} | ||||||
| deps = | deps = | ||||||
|   -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} |   -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/train} | ||||||
|   -r{toxinidir}/requirements.txt |   -r{toxinidir}/requirements.txt | ||||||
|   -r{toxinidir}/test-requirements.txt |   -r{toxinidir}/test-requirements.txt | ||||||
| commands = stestr run --slowest {posargs} | commands = stestr run --slowest {posargs} | ||||||
| @@ -33,7 +33,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html | |||||||
| [testenv:releasenotes] | [testenv:releasenotes] | ||||||
| basepython = python3 | basepython = python3 | ||||||
| deps = | deps = | ||||||
|   -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} |   -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/train} | ||||||
|   -r{toxinidir}/doc/requirements.txt |   -r{toxinidir}/doc/requirements.txt | ||||||
| commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html | commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user