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
61e69a81bc
commit
c4f34c50ce
@ -46,6 +46,22 @@
|
|||||||
- console-log
|
- console-log
|
||||||
- upload-to-docs-site
|
- 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:
|
- job-template:
|
||||||
name: 'gate-{name}-tox-doc-publish-{envlist}'
|
name: 'gate-{name}-tox-doc-publish-{envlist}'
|
||||||
|
|
||||||
|
@ -2849,3 +2849,17 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- gate-{name}-python27
|
- gate-{name}-python27
|
||||||
- gate-{name}-docs
|
- 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
|
project=$1
|
||||||
|
|
||||||
DocFolder="doc"
|
DocFolder="doc"
|
||||||
if [ $project = "api-site" ] ; then
|
if [ $project = "api-site" -o $project = "security-doc" ] ; then
|
||||||
DocFolder="./"
|
DocFolder="./"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -2435,10 +2435,12 @@ projects:
|
|||||||
- noop
|
- noop
|
||||||
|
|
||||||
- name: openstack/security-doc
|
- name: openstack/security-doc
|
||||||
check:
|
template:
|
||||||
- noop
|
- name: openstack-doc-gate
|
||||||
gate:
|
- name: openstack-doc-translation
|
||||||
- noop
|
post:
|
||||||
|
- security-doc-tox-doc-publishdocs
|
||||||
|
- security-doc-ja
|
||||||
|
|
||||||
# Section: OpenStack development projects
|
# Section: OpenStack development projects
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user