Add a job to publish governance documents

This publishes Sphinx-generated documents to the
governance.openstack.org site.

Change-Id: I0e777f29309fedbf41d16ebdc2f9faec619c0334
This commit is contained in:
Jeremy Stanley 2014-11-02 15:54:51 +00:00
parent 2d5b6ada6d
commit 6d096d3280
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Jobs for the governance repository
- job:
name: governance-publish
node: 'bare-precise || bare-trusty'
# We want to publish to the docroot but the scp publisher cannot remove
# paths, so use a shell builder to move the content in the right place and
# publish from there.
builders:
- revoke-sudo
- gerrit-git-prep
- docs:
project: governance
- shell: |
mv doc/build/html/* .html
rm -rf *
mv .html/* ./
publishers:
- scp:
site: static.openstack.org
files:
- target: governance/
source: '**'
keep-hierarchy: true
copy-after-failure: false
- console-log

View File

@ -2352,6 +2352,8 @@ projects:
- gate-governance-docs
gate:
- gate-governance-docs
post:
- governance-publish
#TODO: add docs
- name: openstack/heat-cfntools