Fix releasenotes build in tox
This patch is to ensure the old files are not left over when running these document builds. Change-Id: Ia69f470e8cfb1a830b08f0076547465cf6cf624a
This commit is contained in:
parent
90c2f6d9f7
commit
f8ec935b0f
5
tox.ini
5
tox.ini
|
@ -148,7 +148,10 @@ deps =
|
|||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
whitelist_externals = rm
|
||||
commands =
|
||||
rm -rf releasenotes/build
|
||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
# If you are running the tests locally you should set the env variable
|
||||
# TEMPEST_CONFIG_DIR=/opt/stack/tempest/etc
|
||||
|
|
Loading…
Reference in New Issue