Fix release notes job

Recently there have been a few changes to the release notes and docs jobs.
This patch returns a blank line after the release notes ToC on the index page
and updates the release notes tox job to use the new docs requirements.txt

Change-Id: I0ab2545a670a65853a9f37564d700c945d3a5092
This commit is contained in:
Michael Johnson 2018-02-07 09:20:31 -08:00
parent 8846bb88e9
commit c548c21c3f
4 changed files with 7 additions and 2 deletions

View File

@ -12,6 +12,7 @@ sphinx!=1.6.6,>=1.6.2 # BSD
graphviz!=0.5.0,>=0.4 # MIT License graphviz!=0.5.0,>=0.4 # MIT License
openstackdocstheme>=1.18.1 # Apache-2.0 openstackdocstheme>=1.18.1 # Apache-2.0
sadisplay>=0.4.8 # BSD sadisplay>=0.4.8 # BSD
reno>=2.5.0 # Apache-2.0
# This needs to be installed after above modules # This needs to be installed after above modules
pydotplus>=2.0.2 # MIT License pydotplus>=2.0.2 # MIT License

View File

@ -23,4 +23,5 @@ Octavia Release Notes
ocata ocata
newton newton
mitaka mitaka
liberty liberty

View File

@ -14,7 +14,6 @@ testtools>=2.2.0 # MIT
testresources>=2.0.0 # Apache-2.0/BSD testresources>=2.0.0 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD
doc8>=0.6.0 # Apache-2.0 doc8>=0.6.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0 bandit>=1.1.0 # Apache-2.0
tempest>=17.1.0 # Apache-2.0 tempest>=17.1.0 # Apache-2.0
# Required for pep8 - doc8 tests # Required for pep8 - doc8 tests

View File

@ -138,6 +138,10 @@ local-check-factory = octavia.hacking.checks.factory
max-line-length = 79 max-line-length = 79
[testenv:releasenotes] [testenv:releasenotes]
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 commands = 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 # If you are running the tests locally you should set the env variable