summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSylvain Bauza <sbauza@redhat.com>2016-01-15 16:16:52 +0100
committerMatt Riedemann <mriedem@us.ibm.com>2016-01-15 15:53:10 +0000
commitef8335185a517cb94bfa5d745298f810c304a507 (patch)
treee3650070e29521c76d1b86bf68ded6c8bf783b60 /tox.ini
parentb558d616c3b123dbe2a0914162b45765192f3a12 (diff)
downloadnova-ef8335185a517cb94bfa5d745298f810c304a507.tar.gz
Workaround reno reverts by accepting warnings
b2acc9fa864b6fe10bc0c5f3786b976b472b1b27 on stable/liberty introduced a sphinx warning which was not treated as an error in stable/liberty nova releasenotes tox runs so it slipped in, but it is treated as an error in master branch nova releasenotes tox runs, and since reno scans the branches, master is broken because of the error in stable/liberty. Plus, reno scans the git history, so right now it's not obvious how to travel back in time and fix the stable/liberty change. This change reduces the level of control we have by not treating reno warnings as errors. This is not fun but it's the only way we can still land release notes until an appropriate fix is merged (in reno or nova). Again, this is a temporary patch and we consider reverting it once bug 1534613 is fixed. Change-Id: Iedb69c66632383e056840e3294a90cda651a8778 Related-Bug: #1534613
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 4f3944047f..81f30715f4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -138,7 +138,8 @@ commands = {[testenv:docs]commands}
commands = bandit -c bandit.yaml -r nova -n 5 -ll
[testenv:releasenotes]
-commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+# FIXME(sbauza): warnings are temporarily treated as okay because of bug 1534613
+commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8]
# E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126