project-config/playbooks/publish/contributor-guide-afs.yaml
Monty Taylor 6e0cb7c8d1 Switch remaining docs publications jobs to sphinx
This gets the main publish-openstack-sphinx jobs, plus api-ref,
api-guide, deploy-guide, install-guide and placement-api-ref.

The write_root_marker and prepare-docs-for-afs roles have been udpated
to have good defaults and also to honor sphinx_build_dir as a variable,
so remove setting those explicitly.

Depends-On: I7c3d578a00a4aa4c9e175f5f83e3171c6f6a4a61
Change-Id: I9ed0b02d6ca20a6b679507c4d988531abc55b09d
2017-12-21 19:45:01 +00:00

18 lines
471 B
YAML

- hosts: all
roles:
- role: write-root-marker
when: zuul_success | bool
- role: fetch-sphinx-output
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
when: zuul_success | bool
- hosts: localhost
roles:
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/contributors"
when: zuul_success | bool
- role: destroy-afs-token
when: zuul_success | bool