Merge "Add publish-install-guide"

This commit is contained in:
Zuul 2017-10-22 21:55:05 +00:00 committed by Gerrit Code Review
commit acf8bc8aa7
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,17 @@
- hosts: all
roles:
- prepare-docs-for-afs
doc_build_dir: "{{ zuul_work_dir }}/install-guide/build"
- fetch-tox-output
- role: write-root-marker
root_marker_dir: "src/{{ zuul.project.canonical_name }}/install-guide/build/html"
- role: fetch-sphinx-output
sphinx_output_src: "{{ zuul.project.src_dir }}/install-guide/build/html/"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
- hosts: localhost
roles:
- create-afs-token
- role: upload-afs
afs_target: "{{ afs.path }}/project-install-guide/{{ zuul.project.short_name }}"
- destroy-afs-token

View File

@ -552,6 +552,28 @@
- secret: afsdeveloper_secret
name: afs
- job:
name: publish-install-guide
description: |
Publish install-guide document to
https://docs.openstack.org/project-install-guide/
pre-run: playbooks/python-docs/pre
run: playbooks/project-config/run-tox
post-run: playbooks/publish/install-guide
roles:
- zuul: openstack-infra/zuul-jobs
- zuul: openstack-infra/openstack-zuul-jobs
# This job runs only pre-pike, with pike the documents have been
# integrated into normal builds.
branches:
- stable/newton
- stable/ocata
vars:
tox_envlist: install-guide
secrets:
- secret: afsdocs_secret
name: afs
- job:
name: publish-deploy-guide
description: |