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:
parent
2d5b6ada6d
commit
6d096d3280
28
jenkins/jobs/governance-jobs.yaml
Normal file
28
jenkins/jobs/governance-jobs.yaml
Normal 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
|
@ -2352,6 +2352,8 @@ projects:
|
|||||||
- gate-governance-docs
|
- gate-governance-docs
|
||||||
gate:
|
gate:
|
||||||
- gate-governance-docs
|
- gate-governance-docs
|
||||||
|
post:
|
||||||
|
- governance-publish
|
||||||
|
|
||||||
#TODO: add docs
|
#TODO: add docs
|
||||||
- name: openstack/heat-cfntools
|
- name: openstack/heat-cfntools
|
||||||
|
Loading…
Reference in New Issue
Block a user