diff options
author | John L. Villalovos <openstack.org@sodarock.com> | 2018-02-22 11:01:21 -0800 |
---|---|---|
committer | Ruby Loo <ruby.loo@intel.com> | 2018-03-02 12:20:27 +0000 |
commit | fabcf1a402e430c09242e72302f60f14cefa240b (patch) | |
tree | 28986154f3dcf34f59457372bd580d94862b444a | |
parent | e68d1a71b19a2ebb78bac40ebe99f3a4cf910636 (diff) | |
download | ironic-fabcf1a402e430c09242e72302f60f14cefa240b.tar.gz |
Move execution of 'tools/check-releasenotes.py' to pep8
The 'releasenotes' gate job does not run our tox section. This allowed a
releasenote to land that had a filename in an incorrect format because
it was not created with 'reno new'.
Move the running of 'tools/check-releasenotes.py' to the pep8 section
and whitelist the releasenote that got merged.
Change-Id: Id5bd8e0cbc9186c89f682224088a8f23998d59c3
-rwxr-xr-x | tools/check-releasenotes.py | 2 | ||||
-rw-r--r-- | tox.ini | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/check-releasenotes.py b/tools/check-releasenotes.py index 1bf94bc5f..a01cb2f1e 100755 --- a/tools/check-releasenotes.py +++ b/tools/check-releasenotes.py @@ -25,6 +25,8 @@ RELEASE_NOTES_DIR = "releasenotes/notes/" IGNORE_FILES = ( 'releasenotes/notes/fix-get-deploy-info-port.yaml', # Newton 6.0.0 'releasenotes/notes/fix-mitaka-ipa-iscsi.yaml', # Newton 6.0.0 + # Rocky, accidentally got in + 'releasenotes/notes/add-id-and-uuid-filtering-to-sqalchemy-api.yaml', ) @@ -36,6 +36,8 @@ commands = {toxinidir}/tools/run_bashate.sh {toxinidir} # Check the *.rst files doc8 README.rst CONTRIBUTING.rst doc/source --ignore D001 + # Check to make sure reno releasenotes created with 'reno new' + {toxinidir}/tools/check-releasenotes.py [testenv:cover] setenv = VIRTUAL_ENV={envdir} @@ -88,7 +90,6 @@ commands = [testenv:releasenotes] commands = - {toxinidir}/tools/check-releasenotes.py sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:venv] |