Publish releasenotes

Enhance releasenote handling and add a post job that publishes the
release notes.

Note that the post jobs will be run on all branches but we need
to publish the content from master since we generate all content
on the master branch.

Add job to post queue for publishing release-notes.

Change-Id: I204e669d532d59bbf6aec0d8d4da4ab183deaf59
This commit is contained in:
Andreas Jaeger 2015-11-07 17:18:39 +01:00
parent 75c4d7df41
commit 3785712be3
2 changed files with 26 additions and 0 deletions

View File

@ -34,6 +34,29 @@
node: 'proposal'
# Publish releasenotes to docs.openstack.org/releasenotes/. This is
# always published from master branch.
- job-template:
name: '{name}-releasenotes'
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- branch-git-prep:
branch: master
- tox:
envlist: 'releasenotes'
publishers:
- ftp:
site: '{doc-publisher-site}'
source: 'releasenotes/build/html/**'
target: 'releasenotes/{name}'
remove-prefix: 'releasenotes/build/html'
excludes: ''
- console-log
- job-group:
name: openstack-publish-jobs
jobs:
@ -46,3 +69,4 @@
jobs:
- 'gate-{name}-tox-{envlist}':
envlist: releasenotes
- '{name}-releasenotes'

View File

@ -466,6 +466,8 @@ project-templates:
- name: release-notes-jobs
check:
- 'gate-{name}-tox-releasenotes'
post:
- '{name}-releasenotes'
- name: openstack-server-release-jobs-constraints
pre-release: