2012-08-10 08:22:11 -07:00
|
|
|
- job-template:
|
|
|
|
name: '{name}-docs'
|
2016-03-06 16:36:01 +01:00
|
|
|
node: ubuntu-trusty
|
2012-08-10 08:22:11 -07:00
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2012-08-10 09:59:37 -07:00
|
|
|
- gerrit-git-prep
|
2016-03-06 16:36:01 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2014-06-27 23:37:48 -07:00
|
|
|
- docs
|
2012-08-10 08:22:11 -07:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- ftp:
|
|
|
|
site: '{doc-publisher-site}'
|
|
|
|
source: 'doc/build/html/**'
|
|
|
|
target: 'developer/{name}'
|
|
|
|
remove-prefix: 'doc/build/html'
|
|
|
|
excludes: ''
|
2013-07-09 10:53:27 -07:00
|
|
|
- console-log
|
2012-08-10 08:22:11 -07:00
|
|
|
|
2012-08-10 09:59:37 -07:00
|
|
|
|
2016-02-11 20:14:21 +01:00
|
|
|
- job-template:
|
|
|
|
name: '{name}-docs-tags-only'
|
|
|
|
description: Publish documents only to tag location
|
2016-03-06 16:36:01 +01:00
|
|
|
node: ubuntu-trusty
|
2016-02-11 20:14:21 +01:00
|
|
|
|
|
|
|
builders:
|
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
|
|
|
- gerrit-git-prep
|
2016-03-06 16:36:01 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-02-11 20:14:21 +01:00
|
|
|
- docs-tags-only-env:
|
|
|
|
env: venv
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- ftp:
|
|
|
|
site: '{doc-publisher-site}'
|
|
|
|
source: 'doc/build/html/**'
|
|
|
|
target: 'developer/{name}'
|
|
|
|
remove-prefix: 'doc/build/html'
|
|
|
|
excludes: ''
|
|
|
|
- console-log
|
|
|
|
|
2013-08-14 10:30:41 -03:00
|
|
|
- job-template:
|
|
|
|
name: '{name}-merge-release-tags'
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2014-02-11 14:15:13 -08:00
|
|
|
- revoke-sudo
|
2013-08-14 10:30:41 -03:00
|
|
|
- gerrit-git-prep
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
TAG=`echo $ZUUL_REFNAME | sed 's/refs.tags.//'`
|
|
|
|
/usr/local/jenkins/slave_scripts/merge_tags.sh $TAG
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
|
|
|
|
node: 'proposal'
|
|
|
|
|
|
|
|
|
2015-11-07 17:18:39 +01:00
|
|
|
# Publish releasenotes to docs.openstack.org/releasenotes/. This is
|
|
|
|
# always published from master branch.
|
|
|
|
- job-template:
|
|
|
|
name: '{name}-releasenotes'
|
2016-03-08 10:50:26 +01:00
|
|
|
node: ubuntu-trusty
|
2015-11-07 17:18:39 +01:00
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2016-01-20 12:25:26 -05:00
|
|
|
- branch-git-prep:
|
|
|
|
branch: master
|
2016-03-08 10:50:26 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-03-08 13:38:25 -05:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
#
|
|
|
|
# When building the release notes after a patch merges we
|
|
|
|
# always want to build from master. Reno will find release
|
|
|
|
# notes on other branches and insert them into the right
|
|
|
|
# places in the documentation build, but only master has all
|
|
|
|
# of the appropriate branch-specific input files for
|
|
|
|
# Sphinx. The branch-git-prep builder checks out the
|
|
|
|
# repository where the current patch just merged, but it
|
|
|
|
# honors zuul configuration variables that may cause it to
|
|
|
|
# check out a patch merged into a stable branch. So, reset
|
|
|
|
# what we've checked out to master.
|
|
|
|
#
|
|
|
|
git checkout origin/master
|
2015-11-07 17:18:39 +01:00
|
|
|
- tox:
|
|
|
|
envlist: 'releasenotes'
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- ftp:
|
|
|
|
site: '{doc-publisher-site}'
|
|
|
|
source: 'releasenotes/build/html/**'
|
|
|
|
target: 'releasenotes/{name}'
|
|
|
|
remove-prefix: 'releasenotes/build/html'
|
|
|
|
excludes: ''
|
|
|
|
- console-log
|
|
|
|
|
|
|
|
|
2015-11-15 21:07:34 +01:00
|
|
|
- job-template:
|
|
|
|
name: 'gate-{name}-releasenotes'
|
2016-03-08 10:50:26 +01:00
|
|
|
node: ubuntu-trusty
|
2015-11-15 21:07:34 +01:00
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2015-11-16 12:46:23 +01:00
|
|
|
- gerrit-git-prep
|
2016-03-08 10:50:26 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2015-11-15 21:07:34 +01:00
|
|
|
- tox:
|
|
|
|
envlist: 'releasenotes'
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- upload-releasenotes-draft
|
2016-04-15 09:44:42 -07:00
|
|
|
- console-log
|
2015-11-15 21:07:34 +01:00
|
|
|
|
|
|
|
|
2012-08-10 08:22:11 -07:00
|
|
|
- job-group:
|
|
|
|
name: openstack-publish-jobs
|
|
|
|
jobs:
|
|
|
|
- '{name}-docs'
|
2016-02-11 20:14:21 +01:00
|
|
|
- '{name}-docs-tags-only'
|
2013-08-14 10:30:41 -03:00
|
|
|
- '{name}-merge-release-tags'
|
2015-11-03 19:24:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
- job-group:
|
|
|
|
name: openstack-releasenotes-jobs
|
|
|
|
jobs:
|
2015-11-15 21:07:34 +01:00
|
|
|
- 'gate-{name}-releasenotes'
|
2015-11-07 17:18:39 +01:00
|
|
|
- '{name}-releasenotes'
|