Update tox docs environment to match build-sphinx-docs

docs is a recommended developer convenience environment for doing the
sphinx build locally. The zuul job runs the sphinx-build command. Update
the docs env to do the same thing.

Move the job definitions in-tree - and also remove tox-docs.

Change-Id: Id810b8de1794b11b236eaa04940acbb754dd4b52
This commit is contained in:
Monty Taylor 2018-02-07 17:37:08 -06:00
parent e050908cf2
commit 0cb972b5b0
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 10 additions and 2 deletions

View File

@ -66,7 +66,6 @@
- project:
check:
jobs:
- tox-docs
- tox-cover
- tox-pep8
- tox-py35
@ -74,10 +73,19 @@
voting: false
- nodepool-functional-py35-src:
voting: false
- build-sphinx-docs:
vars:
sphinx_python: python3
gate:
jobs:
- tox-pep8
- tox-py35
- build-sphinx-docs:
vars:
sphinx_python: python3
post:
jobs:
- publish-openstack-sphinx-docs-infra-python3
experimental:
jobs:
- nodepool-zuul-functional

View File

@ -36,7 +36,7 @@ commands =
[testenv:docs]
basepython = python3
commands =
python setup.py build_sphinx
sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
[testenv:venv]
basepython = python3