summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-09-09 06:00:09 -0400
committerAndreas Jaeger <jaegerandi@gmail.com>2018-09-23 14:00:58 +0000
commit2602ebc7e5d68eb7488f7409a9657084f1f48a8f (patch)
tree901fe13886f5522e25fd54f420ca9e49bb80e635
parent7a9b85fbf7272044a5090c31019786e34b9bbef2 (diff)
downloadtrove-2602ebc7e5d68eb7488f7409a9657084f1f48a8f.tar.gz
switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Also, add docs tox environment so that the job works. Change-Id: I8dd911d46623c0185d238b293e0218cfa435ed46 Story: #2002586 Task: #24342
-rw-r--r--.zuul.yaml4
-rw-r--r--tox.ini3
2 files changed, 5 insertions, 2 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index ba31d463..ef63dbbe 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -2,10 +2,10 @@
templates:
- openstack-python-jobs
- openstack-python35-jobs
- - publish-openstack-sphinx-docs
+ - publish-openstack-docs-pti
- periodic-stable-jobs
- check-requirements
- - release-notes-jobs
+ - release-notes-jobs-python3
check:
jobs:
- trove-functional-mysql
diff --git a/tox.ini b/tox.ini
index 568e3214..d0a06def 100644
--- a/tox.ini
+++ b/tox.ini
@@ -112,6 +112,9 @@ deps = -r{toxinidir}/requirements.txt
commands = {[testenv]commands}
python tools/trove-pylint.py {posargs:check}
+[testenv:docs]
+basepython = python3
+commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:lower-constraints]
basepython = python3