Merge "Genericize static site publishing"

This commit is contained in:
Jenkins 2014-11-14 09:16:15 +00:00 committed by Gerrit Code Review
commit e9d5dcf7bf
3 changed files with 8 additions and 6 deletions

View File

@ -1188,9 +1188,11 @@
name: governance
node: 'bare-precise || bare-trusty'
tarball-site: tarballs.openstack.org
docroot: governance
jobs:
- 'gate-{name}-docs'
- 'static-{name}-publish'
- project:
name: heat-cfntools

View File

@ -1,7 +1,7 @@
# Jobs for the governance repository
# Jobs for static site publication
- job:
name: governance-publish
- job-template:
name: static-{name}-publish
node: 'bare-precise || bare-trusty'
# We want to publish to the docroot but the scp publisher cannot remove
@ -11,7 +11,7 @@
- revoke-sudo
- gerrit-git-prep
- docs:
project: governance
project: '{name}'
- shell: |
mv doc/build/html/* .html
rm -rf *
@ -21,7 +21,7 @@
- scp:
site: static.openstack.org
files:
- target: governance/
- target: '{docroot}/'
source: '**'
keep-hierarchy: true
copy-after-failure: false

View File

@ -2354,7 +2354,7 @@ projects:
gate:
- gate-governance-docs
post:
- governance-publish
- static-governance-publish
#TODO: add docs
- name: openstack/heat-cfntools