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:
parent
8d3334bbeb
commit
580ef98b21
7
playbooks/python-docs/post-infra.yaml
Normal file
7
playbooks/python-docs/post-infra.yaml
Normal 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"
|
@ -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/"
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user