[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
This commit is contained in:
parent
5d6fd1a176
commit
51121d1255
5
tox.ini
5
tox.ini
|
@ -37,7 +37,10 @@ commands = {posargs}
|
|||
|
||||
[testenv:docs]
|
||||
whitelist_externals = rm
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -fr doc/build
|
||||
sphinx-build -W --keep-going -b html doc/source doc/build/html
|
||||
|
|
Loading…
Reference in New Issue