Create a playbook for publishing contributor-guide

The Documentation team has previously used /contributor-guide for their
own on-boarding documentation. This publishes the general contributor
guide to /contributors.

Change-Id: I223610d480b7754176dd00366ae093676cf612c9
This commit is contained in:
Mike Perez 2017-10-17 14:17:46 -07:00
parent 3b025bac56
commit b4c57620b0
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,15 @@
- hosts: all
roles:
- fetch-tox-output
- role: write-root-marker
root_marker_dir: "src/{{ zuul.project.canonical_name }}/doc/build/html"
- role: fetch-sphinx-output
sphinx_output_src: "{{ zuul.project.src_dir }}/doc/build/html"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
- hosts: localhost
roles:
- create-afs-token
- role: upload-afs
afs_target: "{{ afs.path }}/contributors"
- destroy-afs-token

View File

@ -155,6 +155,23 @@
- secret: afsdocs_secret
name: afs
- job:
name: publish-openstack-contributor-guide
description: |
Publish contributor-guide documents to
https://docs.openstack.org/contributors
final: True
pre-run: playbooks/python-docs/pre
run: playbooks/project-config/run-tox
post-run: playbooks/publish/openstack-contributor-guide-afs
roles:
- zuul: openstack-infra/zuul-jobs
- zuul: openstack-infra/openstack-zuul-jobs
branches: master
secrets:
- secret: afsdocs_secret
name: afs
- job:
name: publish-openstack-releasenotes
description: |