Creates a publishing job for the infra-manual repo
The new infra-manual repo will need a publishing job. This patch templates a publishing job for the check queue and a job for the post queue. It also uses the templates. Change-Id: Ic94094cebec4d80e6c76e1994bea69888326a49f
This commit is contained in:
parent
79cd2bd745
commit
442e4f60b1
@ -0,0 +1,25 @@
|
||||
- job-template:
|
||||
name: '{name}-infra-docs'
|
||||
node: '{node}'
|
||||
|
||||
builders:
|
||||
- revoke-sudo
|
||||
- gerrit-git-prep
|
||||
- docs:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
- ftp:
|
||||
site: '{doc-publisher-site}'
|
||||
source: 'doc/build/html/**'
|
||||
target: 'infra/{doc-publisher-folder}'
|
||||
remove-prefix: 'doc/build/html'
|
||||
excludes: ''
|
||||
|
||||
- job-group:
|
||||
name: infra-publish-jobs
|
||||
jobs:
|
||||
- 'gate-{name}-docs'
|
||||
- '{name}-infra-docs'
|
@ -159,9 +159,11 @@
|
||||
name: infra-manual
|
||||
github-org: openstack-infra
|
||||
node: bare-precise
|
||||
doc-publisher-site: docs.openstack.org
|
||||
doc-publisher-folder: manual
|
||||
|
||||
jobs:
|
||||
- gate-{name}-docs
|
||||
- infra-publish-jobs
|
||||
|
||||
- project:
|
||||
name: sahara
|
||||
|
@ -338,6 +338,12 @@ project-templates:
|
||||
periodic:
|
||||
- '{name}-manuals-propose-translation-update'
|
||||
|
||||
- name: infra-publish-jobs
|
||||
check:
|
||||
- 'gate-{name}-docs'
|
||||
post:
|
||||
- '{name}-infra-docs'
|
||||
|
||||
jobs:
|
||||
- name: ^.*$
|
||||
parameter-function: single_use_node
|
||||
@ -2834,8 +2840,8 @@ projects:
|
||||
- groups-release-master
|
||||
|
||||
- name: openstack-infra/infra-manual
|
||||
check:
|
||||
- noop
|
||||
template:
|
||||
- name: infra-publish-jobs
|
||||
gate:
|
||||
- noop
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user