2014-07-10 12:38:15 -04:00
|
|
|
# Jobs for the various *-specs repositories
|
|
|
|
|
|
|
|
- job-template:
|
|
|
|
name: '{name}-publish-specs'
|
2016-07-29 01:39:01 -07:00
|
|
|
node: ubuntu-xenial
|
2014-07-10 12:38:15 -04:00
|
|
|
|
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:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 18:12:46 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2014-07-10 12:38:15 -04:00
|
|
|
- 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
|
2017-01-27 20:38:05 +01:00
|
|
|
node: ubuntu-xenial
|
2014-07-10 12:38:15 -04:00
|
|
|
jobs:
|
2016-07-20 10:53:35 -07:00
|
|
|
- gate-{name}-docs-{node}:
|
|
|
|
- gate-{name}-python27-{node}:
|
2014-07-10 12:38:15 -04:00
|
|
|
- '{name}-publish-specs'
|
2014-12-11 16:22:48 -05:00
|
|
|
|
|
|
|
|
|
|
|
- builder:
|
|
|
|
name: generate-specs-site
|
|
|
|
|
|
|
|
builders:
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 18:12:46 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2014-12-11 16:22:48 -05:00
|
|
|
envlist: specs
|
|
|
|
|
|
|
|
- job:
|
2015-07-14 14:19:40 +02:00
|
|
|
name: gate-generate-specs-site
|
2014-12-11 16:22:48 -05:00
|
|
|
description: Render the specs sites templates without publishing them.
|
2016-07-29 01:39:01 -07:00
|
|
|
node: ubuntu-xenial
|
2014-12-11 16:22:48 -05:00
|
|
|
|
|
|
|
builders:
|
|
|
|
- generate-specs-site
|
|
|
|
|
2016-07-14 07:09:09 +02:00
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
|
2014-12-11 16:22:48 -05:00
|
|
|
- job:
|
|
|
|
name: publish-specs-site
|
|
|
|
description: Render the specs sites templates and publish them.
|
2016-07-29 01:39:01 -07:00
|
|
|
node: ubuntu-xenial
|
2014-12-11 16:22:48 -05:00
|
|
|
|
|
|
|
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:
|
2015-07-14 14:19:40 +02:00
|
|
|
- gate-generate-specs-site
|
2014-12-11 16:22:48 -05:00
|
|
|
- publish-specs-site
|