Create build-openstack-sphinx-docs job

Since we don't need docs-draft to be special, we can do this job
here rather than in project-config. The new name will not conflict
with the name in project-config, but also matches the infra-manual
guidelines on job naming (action first)

Change-Id: I08f5e7aab981098ad053e39fbb614bd6d0606fc7
This commit is contained in:
Paul Belanger 2017-09-17 11:04:41 -04:00 committed by Monty Taylor
parent b656f84132
commit 728a942131
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
4 changed files with 22 additions and 15 deletions

View File

@ -1,3 +0,0 @@
- hosts: all
roles:
- prepare-infra-docs-for-afs

View File

@ -0,0 +1,3 @@
- hosts: all
roles:
- prepare-docs-for-afs

View File

@ -44,17 +44,24 @@
nodes: ubuntu-xenial nodes: ubuntu-xenial
- job: - job:
name: openstack-doc-build-to-move name: build-openstack-sphinx-docs
parent: tox-docs parent: tox-docs
run: playbooks/openstack-doc-build/run description: |
post-run: playbooks/openstack-doc-build/post Builds docuemtation using Sphinx per the OpenStack PTI and then
collects the results into the log directory so that they can be
examined in their published form after a successful build.
It runs the prepare-docs-for-afs role so that AFS stamp files
can be examined if desired, and also validates htaccess files
using the whereto tool.
run: playbooks/sphinx-docs/run
post-run: playbooks/sphinx-docs/post
success-url: html/
required-projects: required-projects:
- name: openstack/requirements - name: openstack/requirements
roles: roles:
- zuul: openstack-infra/zuul-jobs - zuul: openstack-infra/zuul-jobs
vars: vars:
tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt" tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt"
tox_upper_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt"
tox_envlist: venv tox_envlist: venv
tox_extra_args: -vv python setup.py build_sphinx tox_extra_args: -vv python setup.py build_sphinx
@ -344,10 +351,10 @@
name: publish-openstack-python-docs-infra name: publish-openstack-python-docs-infra
check: check:
jobs: jobs:
- openstack-doc-build-to-move - build-openstack-sphinx-docs
gate: gate:
jobs: jobs:
- openstack-doc-build-to-move - build-openstack-sphinx-docs
post: post:
jobs: jobs:
- publish-openstack-python-docs-infra - publish-openstack-python-docs-infra
@ -439,12 +446,12 @@
name: openstack-python-jobs name: openstack-python-jobs
check: check:
jobs: jobs:
- openstack-doc-build-to-move - build-openstack-sphinx-docs
- openstack-tox-pep8 - openstack-tox-pep8
- openstack-tox-py27 - openstack-tox-py27
gate: gate:
jobs: jobs:
- openstack-doc-build-to-move - build-openstack-sphinx-docs
- openstack-tox-pep8 - openstack-tox-pep8
- openstack-tox-py27 - openstack-tox-py27
post: post:
@ -496,7 +503,7 @@
name: openstack-python-jobs-trusty name: openstack-python-jobs-trusty
check: check:
jobs: jobs:
- openstack-doc-build-to-move: - build-openstack-sphinx-docs:
nodes: ubuntu-trusty nodes: ubuntu-trusty
- openstack-tox-pep8: - openstack-tox-pep8:
nodes: ubuntu-trusty nodes: ubuntu-trusty
@ -504,7 +511,7 @@
nodes: ubuntu-trusty nodes: ubuntu-trusty
gate: gate:
jobs: jobs:
- openstack-doc-build-to-move: - build-openstack-sphinx-docs:
nodes: ubuntu-trusty nodes: ubuntu-trusty
- openstack-tox-pep8: - openstack-tox-pep8:
nodes: ubuntu-trusty nodes: ubuntu-trusty
@ -534,7 +541,7 @@
- base-integration-ubuntu-trusty - base-integration-ubuntu-trusty
- base-integration-ubuntu-xenial - base-integration-ubuntu-xenial
- base-integration-opensuse423 - base-integration-opensuse423
- openstack-doc-build-to-move - build-openstack-sphinx-docs
- tox-linters - tox-linters
gate: gate:
jobs: jobs:
@ -543,5 +550,5 @@
- base-integration-ubuntu-trusty - base-integration-ubuntu-trusty
- base-integration-ubuntu-xenial - base-integration-ubuntu-xenial
- base-integration-opensuse423 - base-integration-opensuse423
- openstack-doc-build-to-move - build-openstack-sphinx-docs
- tox-linters - tox-linters