Merge "Genericize static site publishing"
This commit is contained in:
commit
e9d5dcf7bf
@ -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
|
||||
|
@ -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
|
@ -2354,7 +2354,7 @@ projects:
|
||||
gate:
|
||||
- gate-governance-docs
|
||||
post:
|
||||
- governance-publish
|
||||
- static-governance-publish
|
||||
|
||||
#TODO: add docs
|
||||
- name: openstack/heat-cfntools
|
||||
|
Loading…
x
Reference in New Issue
Block a user