Rework publish-openstack-python-docs(-infra) job

We need 2 different post-runs playbooks for publishing AFS artifacts,
because infra and openstack projects are currently different.

Post PTG, we can work to align openstack-infra jobs doc publishing
with openstack, if possible.

Change-Id: Ia51320f897445907b5e81aa4bf0d54a04ef6f8d5
Depends-On: I879d42cd04ab051b91c0b636856470cd4126b6f2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-09-06 13:45:17 -04:00
parent 8d3334bbeb
commit 580ef98b21
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,7 @@
- hosts: all
roles:
- prepare-infra-docs-for-afs
- fetch-tox-output
- role: fetch-sphinx-output
sphinx_output_src: "src/{{ zuul.project.canonical_name }}/doc/build/html/"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"

View File

@ -1,6 +1,6 @@
- hosts: all
roles:
- prepare-infra-docs-for-afs
- prepare-docs-for-afs
- fetch-tox-output
- role: fetch-sphinx-output
sphinx_output_src: "src/{{ zuul.project.canonical_name }}/doc/build/html/"

View File

@ -247,7 +247,7 @@
Publish the results of the tox-docs job to /afs/.openstack.org/docs
pre-run: playbooks/python-docs/pre
run: playbooks/python-docs/run
post-run: playbooks/python-docs/post
post-run: playbooks/python-docs/post-infra
required-projects:
- name: openstack/requirements
roles: