Publish draft releasenotes

Upload the generated draft releasenotes so that they can be easily
reviewed - similar to documents with just clicking on the gate.

Rename the job to gate-{name}-releasenotes, the tox is not needed
anymore in the name.

Change-Id: Ib542084a275a5bfe82c48517d48372fec6411e16
This commit is contained in:
Andreas Jaeger 2015-11-15 21:07:34 +01:00
parent b95d37ef23
commit dcc3e9cde1
3 changed files with 28 additions and 4 deletions

View File

@ -880,6 +880,16 @@
keep-hierarchy: true keep-hierarchy: true
copy-after-failure: true copy-after-failure: true
- publisher:
name: upload-releasenotes-draft
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'docs-draft/$LOG_PATH'
source: 'releasenotes/build/html/**'
keep-hierarchy: true
copy-after-failure: true
- publisher: - publisher:
name: upload-to-docs-site name: upload-to-docs-site

View File

@ -57,6 +57,20 @@
- console-log - console-log
- job-template:
name: 'gate-{name}-releasenotes'
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- tox:
envlist: 'releasenotes'
publishers:
- upload-releasenotes-draft
- zuul-swift-upload-console-log
- job-group: - job-group:
name: openstack-publish-jobs name: openstack-publish-jobs
jobs: jobs:
@ -67,6 +81,5 @@
- job-group: - job-group:
name: openstack-releasenotes-jobs name: openstack-releasenotes-jobs
jobs: jobs:
- 'gate-{name}-tox-{envlist}': - 'gate-{name}-releasenotes'
envlist: releasenotes
- '{name}-releasenotes' - '{name}-releasenotes'

View File

@ -465,7 +465,7 @@ project-templates:
- name: release-notes-jobs - name: release-notes-jobs
check: check:
- 'gate-{name}-tox-releasenotes' - 'gate-{name}-releasenotes'
post: post:
- '{name}-releasenotes' - '{name}-releasenotes'
@ -2099,7 +2099,8 @@ jobs:
- name: gate-tempest-dsvm-neutron-full-ssh - name: gate-tempest-dsvm-neutron-full-ssh
voting: false voting: false
- name: ^gate-.*-tox-releasenotes$ - name: ^gate-.*-releasenotes$
success-pattern: http://docs-draft.openstack.org/{build.parameters[LOG_PATH]}/releasenotes/build/html/
branch: ^(?!stable/(?:juno|kilo)).*$ branch: ^(?!stable/(?:juno|kilo)).*$
voting: false voting: false
files: files: