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:
parent
75c4d7df41
commit
3785712be3
@ -34,6 +34,29 @@
|
|||||||
node: 'proposal'
|
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:
|
- job-group:
|
||||||
name: openstack-publish-jobs
|
name: openstack-publish-jobs
|
||||||
jobs:
|
jobs:
|
||||||
@ -46,3 +69,4 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- 'gate-{name}-tox-{envlist}':
|
- 'gate-{name}-tox-{envlist}':
|
||||||
envlist: releasenotes
|
envlist: releasenotes
|
||||||
|
- '{name}-releasenotes'
|
||||||
|
@ -466,6 +466,8 @@ project-templates:
|
|||||||
- name: release-notes-jobs
|
- name: release-notes-jobs
|
||||||
check:
|
check:
|
||||||
- 'gate-{name}-tox-releasenotes'
|
- 'gate-{name}-tox-releasenotes'
|
||||||
|
post:
|
||||||
|
- '{name}-releasenotes'
|
||||||
|
|
||||||
- name: openstack-server-release-jobs-constraints
|
- name: openstack-server-release-jobs-constraints
|
||||||
pre-release:
|
pre-release:
|
||||||
|
Loading…
Reference in New Issue
Block a user