2014-07-10 12:38:15 -04:00
|
|
|
# Jobs for the various *-specs repositories
|
|
|
|
|
|
|
|
- job-template:
|
|
|
|
name: '{name}-publish-specs'
|
|
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
|
2014-06-27 23:37:48 -07:00
|
|
|
# We want to publish to org/name but the scp publisher cannot remove paths,
|
|
|
|
# so use a shell builder to move the content in the right place and publish
|
|
|
|
# from there.
|
2014-07-10 12:38:15 -04:00
|
|
|
builders:
|
|
|
|
- revoke-sudo
|
|
|
|
- gerrit-git-prep
|
|
|
|
- docs:
|
|
|
|
project: '{name}'
|
2014-07-30 17:33:43 +02:00
|
|
|
- shell: |
|
2014-06-27 23:37:48 -07:00
|
|
|
mkdir `dirname $ZUUL_PROJECT`
|
|
|
|
mv doc/build/html $ZUUL_PROJECT
|
2014-07-10 12:38:15 -04:00
|
|
|
|
|
|
|
publishers:
|
2014-07-30 13:02:00 +04:00
|
|
|
- scp:
|
|
|
|
site: 'static.openstack.org'
|
|
|
|
files:
|
2014-07-30 17:33:43 +02:00
|
|
|
- target: 'specs/'
|
2014-06-27 23:37:48 -07:00
|
|
|
source: '$ZUUL_PROJECT/**'
|
2014-07-30 13:02:00 +04:00
|
|
|
keep-hierarchy: true
|
2014-07-30 17:33:43 +02:00
|
|
|
copy-after-failure: false
|
2014-07-10 12:38:15 -04:00
|
|
|
- console-log
|
|
|
|
|
|
|
|
- job-group:
|
|
|
|
name: specs-jobs
|
|
|
|
jobs:
|
|
|
|
- gate-{name}-docs
|
|
|
|
- gate-{name}-python27
|
|
|
|
- '{name}-publish-specs'
|
2014-12-11 16:22:48 -05:00
|
|
|
|
|
|
|
|
|
|
|
- builder:
|
|
|
|
name: generate-specs-site
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- revoke-sudo
|
|
|
|
- gerrit-git-prep
|
|
|
|
- tox:
|
|
|
|
envlist: specs
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: check-generate-specs-site
|
|
|
|
description: Render the specs sites templates without publishing them.
|
|
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- generate-specs-site
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: publish-specs-site
|
|
|
|
description: Render the specs sites templates and publish them.
|
|
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- generate-specs-site
|
2015-01-21 20:08:44 +01:00
|
|
|
- static-publish-prep:
|
|
|
|
source: 'specs/output'
|
2014-12-11 16:22:48 -05:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- scp:
|
|
|
|
site: 'static.openstack.org'
|
|
|
|
files:
|
|
|
|
- target: 'specs/'
|
2015-01-21 20:08:44 +01:00
|
|
|
source: '**'
|
2014-12-11 16:22:48 -05:00
|
|
|
keep-hierarchy: true
|
|
|
|
copy-after-failure: false
|
|
|
|
- console-log
|
|
|
|
|
|
|
|
- job-group:
|
|
|
|
name: generate-specs-site-jobs
|
|
|
|
jobs:
|
|
|
|
- check-generate-specs-site
|
|
|
|
- publish-specs-site
|