[stable-only] [ci] Make docs job use upper-constraints
Without this, the docs build get an incompatible version of oslo.utils
and fails reliably.
Change-Id: Ia1d93b8f54c75de0a91eb1f7554eb554e6aab4b2
(cherry picked from commit 51121d1255
)
This commit is contained in:
parent
391ce7fc69
commit
542d0e0803
5
tox.ini
5
tox.ini
|
@ -37,7 +37,10 @@ commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
whitelist_externals = rm
|
whitelist_externals = rm
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps =
|
||||||
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/victoria}
|
||||||
|
-r{toxinidir}/requirements.txt
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -fr doc/build
|
rm -fr doc/build
|
||||||
sphinx-build -W --keep-going -b html doc/source doc/build/html
|
sphinx-build -W --keep-going -b html doc/source doc/build/html
|
||||||
|
|
Loading…
Reference in New Issue