Add gating for security-doc repo
The security-guide has moved from openstack-manuals repo to the security-doc repository. Add the usual manual gating jobs for the security-doc repository. The guide is translated into Japanese, so publish the Japanese document as well. This needs a new job 'security-doc-{lang}'. Add all jobs to Zuul for execution. Change also translation scripts, the security-guide document is on top-level of the repository and not below doc. Thus, we need to special case it. Change-Id: Ib267a35566d446fa13675e4c7247222916f6ffe4
This commit is contained in:
parent
81ea767afc
commit
46cb634424
modules/openstack_project/files
jenkins_job_builder/config
slave_scripts
zuul
@ -46,6 +46,22 @@
|
||||
- console-log
|
||||
- upload-to-docs-site
|
||||
|
||||
- job-template:
|
||||
name: 'security-doc-{lang}'
|
||||
node: '{node}'
|
||||
|
||||
builders:
|
||||
- revoke-sudo
|
||||
- gerrit-git-prep
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack security-guide
|
||||
tox -v -e buildlang -- {lang}
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
- upload-to-docs-site
|
||||
|
||||
- job-template:
|
||||
name: 'gate-{name}-tox-doc-publish-{envlist}'
|
||||
|
||||
|
@ -2849,3 +2849,17 @@
|
||||
jobs:
|
||||
- gate-{name}-python27
|
||||
- gate-{name}-docs
|
||||
|
||||
- project:
|
||||
name: security-doc
|
||||
github-org: openstack
|
||||
node: 'bare-precise || bare-trusty'
|
||||
|
||||
jobs:
|
||||
- openstack-doc-jobs
|
||||
- '{name}-tox-doc-{envlist}':
|
||||
envlist: publishdocs
|
||||
- manual-translation-jobs
|
||||
- security-doc-{lang}:
|
||||
lang: ja
|
||||
|
||||
|
@ -69,7 +69,7 @@ function init_manuals ()
|
||||
project=$1
|
||||
|
||||
DocFolder="doc"
|
||||
if [ $project = "api-site" ] ; then
|
||||
if [ $project = "api-site" -o $project = "security-doc" ] ; then
|
||||
DocFolder="./"
|
||||
fi
|
||||
}
|
||||
|
@ -2435,10 +2435,12 @@ projects:
|
||||
- noop
|
||||
|
||||
- name: openstack/security-doc
|
||||
check:
|
||||
- noop
|
||||
gate:
|
||||
- noop
|
||||
template:
|
||||
- name: openstack-doc-gate
|
||||
- name: openstack-doc-translation
|
||||
post:
|
||||
- security-doc-tox-doc-publishdocs
|
||||
- security-doc-ja
|
||||
|
||||
# Section: OpenStack development projects
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user