From 5ad6b8e6344f412b0e7b7e88910f280f505d697d Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 22 Sep 2017 12:28:51 -0500 Subject: [PATCH] Add infra version of doc build job Infra doesn't use constraints nor does it prevent branch publication. Change-Id: I15fce2938222166e75984b75c568fa0fc083a8ee --- playbooks/sphinx-docs/post-infra.yaml | 3 +++ zuul.yaml | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 playbooks/sphinx-docs/post-infra.yaml diff --git a/playbooks/sphinx-docs/post-infra.yaml b/playbooks/sphinx-docs/post-infra.yaml new file mode 100644 index 00000000..9dfb9fc6 --- /dev/null +++ b/playbooks/sphinx-docs/post-infra.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - prepare-infra-docs-for-afs diff --git a/zuul.yaml b/zuul.yaml index 54594ab5..9395bdb6 100644 --- a/zuul.yaml +++ b/zuul.yaml @@ -65,6 +65,23 @@ tox_envlist: venv tox_extra_args: -vv python setup.py build_sphinx +- job: + name: build-openstack-infra-sphinx-docs + parent: tox-docs + description: | + Builds docuemtation using Sphinx per the OpenStack PTI but with + the Infra-specific publication prep applied. It then + collects the results into the log directory so that they can be + examined in their published form after a successful build. + run: playbooks/sphinx-docs/run + post-run: playbooks/sphinx-docs/post-infra + success-url: html/ + roles: + - zuul: openstack-infra/zuul-jobs + vars: + tox_envlist: venv + tox_extra_args: -vv python setup.py build_sphinx + - job: name: tox-py35-on-zuul parent: tox-py35