From 19ac374a52d0ff2d0e20c5b97e46d7ab6b0144c7 Mon Sep 17 00:00:00 2001 From: "Mark T. Voelker" Date: Mon, 17 Aug 2015 20:14:20 -0400 Subject: [PATCH] Fix DefCore Docs Gate Jobs Over the past week or so we've seen docs jobs failing on the DefCore repo. The trouble started at around the same time the gate was having other issues, so we mostly let it slide. However upon further review, it appears a change in the run-docs.sh script in infra [1] is actually the root of the issue. The problem is that our tox.ini doesn't have a testenv configuration that most other projects do, and the change to run-docs.sh exposed that. This patch should be sufficient to get our docs builds working again by fixing our tox.ini file. [1] https://review.openstack.org/#/c/211239/ Change-Id: I771df06d07080daba8ae0d7beb81d7e2a601aa68 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 4e9ea0b5..65d460a0 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,9 @@ setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/test-requirements.txt +[testenv:venv] +commands = {posargs} + [testenv:doc8] commands = doc8 -e .rst doc/source