Ansible job definitions for Zuul
Go to file
David Moreau Simard 1f8c473765
Add sphinx_python variable to sphinx role and job
Some projects, such as Zuul itself, need to use python3 to build docs.

This adds a new parameter, sphinx_python, which defines the version
of python to build documentation with. The default is python2 and
projects can choose python3 on a need basis.

Remove the comment about the need for a leading comment, since there
is now a real need for the leading comment anyway.

Replace a few direct references to {{ ansible_user_dir }}/.venv that
should have been using zuul_work_virtualenv.

Update sphinx invocation to source the virtualenv activate first.
Some sphinx modules, such as sphinxcontrib.programoutput, attempt to
execute programs and only invoking sphinx-build with the relative
path causes the paths to not be set up properly.

Co-Authored-By: David Moreau Simard <dmsimard@redhat.com>
Change-Id: Ie5e2c93f88465f4aa746827ff88a585dbaa44fd5
2017-12-05 21:10:15 -05:00
doc/source Update the zuul-sphinx extension config 2017-08-04 16:49:39 -07:00
playbooks Combine tox-siblings and tox roles 2017-11-29 15:34:08 -06:00
roles Add sphinx_python variable to sphinx role and job 2017-12-05 21:10:15 -05:00
tests Include ansible-playbook syntax-check for tox pep8 2017-07-17 16:53:55 -04:00
.gitignore Add Sphinx module for Zuul jobs 2017-06-09 09:03:15 -07:00
.gitreview Added .gitreview 2017-05-24 19:48:52 +00:00
bindep.txt Port in tox jobs from openstack-zuul-jobs 2017-07-06 11:18:47 -05:00
LICENSE Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
README.rst Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.cfg Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.py Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
test-requirements.txt Run ansible-lint on repo 2017-10-27 07:49:02 +02:00
tox.ini Simplify ansible invocations in tox.ini 2017-10-28 16:56:30 +02:00
zuul.yaml Add sphinx_python variable to sphinx role and job 2017-12-05 21:10:15 -05:00

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.