Stop doing afs prep in docs build jobs

We don't publish docs to AFS in the build jobs, so the step is
unnecessary and also prevents infra projects from using the normal docs
build job.

Doing this means we're not reorganizing the docs, so we can remove
latest/ from the success-url - and we can also remove the
branch-specific variants.

Remove mention of docs build jobs from the
publish-openstack-sphinx-docs-infra project-template. The build jobs are
in openstack-python-jobs.

A followup will come to change that - but for now let's align these.

Change-Id: I123b4d9f3514542d8ece8e9681c5265dc54961dc
This commit is contained in:
Monty Taylor 2017-10-05 10:02:00 -05:00
parent 9e9c59183f
commit a1d26ad3c2
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
4 changed files with 1 additions and 35 deletions

View File

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

View File

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

View File

@ -167,8 +167,7 @@
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/latest/
success-url: html/
required-projects:
- name: openstack/requirements
roles:
@ -178,26 +177,6 @@
tox_envlist: venv
tox_extra_args: -vv python setup.py build_sphinx
- job:
name: build-openstack-sphinx-docs
branches: stable/queens
success-url: html/queens/
- job:
name: build-openstack-sphinx-docs
branches: stable/pike
success-url: html/pike/
- job:
name: build-openstack-sphinx-docs
branches: stable/ocata
success-url: html/ocata/
- job:
name: build-openstack-sphinx-docs
branches: stable/newton
success-url: html/newton/
- job:
name: build-openstack-infra-sphinx-docs
parent: tox-docs
@ -207,7 +186,6 @@
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

View File

@ -8,12 +8,6 @@
- project-template:
name: publish-openstack-sphinx-docs-infra
check:
jobs:
- build-openstack-infra-sphinx-docs
gate:
jobs:
- build-openstack-infra-sphinx-docs
post:
jobs:
- publish-openstack-sphinx-docs-infra