Fix the docs job

This change fixes the docs job to ensure we have access to development
versions of tripleo-common. This is being done because we have more
modules coming in which are using tripleo-common which may require
unreleased versions of the package when running tests. This change
adds tripleo-common as an upstream constraint which is only used in
the docs and molecule test scenarios.

Change-Id: Ib64307defe4d5a0e06ad862ab9f51d1da3d23312
Signed-off-by: Kevin Carter <>
Kevin Carter 2020-03-19 09:50:55 -05:00 committed by Kevin Carter (cloudnull)
parent 9ac51dc172
commit 3100780e1e
3 changed files with 8 additions and 1 deletions

constraints.txt Normal file
View File

@ -0,0 +1 @@
-e git+

View File

@ -22,3 +22,6 @@ doc8>=0.8.0 # Apache-2.0
bashate>=0.6.0 # Apache-2.0
metalsmith>=0.13.0 # Apache-2.0
jsonschema # MIT
# Upstream requirements from constraints.txt

View File

@ -61,7 +61,9 @@ commands =
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
deps =
-r {toxinidir}/doc/requirements.txt
-c {toxinidir}/constraints.txt
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
@ -69,6 +71,7 @@ commands =
basepython = python3
deps =
-r {toxinidir}/doc/requirements.txt
-c {toxinidir}/constraints.txt
doc8 doc
sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html -T