system-config/modules/openstack_project/files/jenkins_job_builder/config/manuals-jobs.yaml
Andreas Jaeger 6daca6d37a Create gate for api-site
Create a new job-group that will be used by operations-guide, api-site,
openstack-manuals and perhaps API project repositories.
Use job-group for gating of api-site.

Setup template openstack-doc-gate in Zuul.
Setup api-site gates using new template openstack-doc-gate.
The niceness gate is non-voting for now.

Change-Id: I48b95fe17b79150c64f73e742a2e6e9d06050516
2014-01-16 15:52:49 +01:00

171 lines
5.1 KiB
YAML

- job-template:
name: gate-openstack-manuals-validate-{check}
node: precise
builders:
- gerrit-git-prep
- shell: "./tools/test.py --check-{check}"
publishers:
- console-log
- job-template:
name: 'openstack-{manual}'
project-type: maven
node: precise
concurrent: false
prebuilders:
- gerrit-git-prep
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/{manual}/pom.xml
goals: '-Drelease.path.name=${{DOC_RELEASE_PATH}} -Dcomments.enabled=${{DOC_COMMENTS_ENABLED}} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/{manual}/target/docbkx/webhelp/**'
target: ''
remove-prefix: 'doc/{manual}/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
- ftp:
site: docs.openstack.org
source: 'doc/{manual}/target/docbkx/webhelp/**/atom.xml'
target: ''
remove-prefix: 'doc/{manual}/target/docbkx/webhelp/'
- job-template:
name: 'openstack-install-deploy-guide-{distribution}'
project-type: maven
concurrent: false
node: precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/install-guide/pom.xml
goals: '-Doperating.system={system} -Dprofile.os={profileos} -Drelease.path.name=${{DOC_RELEASE_PATH}} -Dcomments.enabled=${{DOC_COMMENTS_ENABLED}} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/install-guide/target/docbkx/webhelp/**'
target: '/'
remove-prefix: 'doc/install-guide/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
- ftp:
site: docs.openstack.org
source: 'doc/install-guide/target/docbkx/webhelp/**/atom.xml'
target: '/'
remove-prefix: 'doc/install-guide/target/docbkx/webhelp/'
- job-template:
name: openstack-{oldmanual}-old
project-type: maven
node: precise
concurrent: false
prebuilders:
- gerrit-git-prep
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/openstack-{oldmanual}/pom.xml
goals: '-Drelease.path.name=${{DOC_RELEASE_PATH}} -Dcomments.enabled=${{DOC_COMMENTS_ENABLED}} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/openstack-{oldmanual}/target/docbkx/webhelp/**'
target: '/'
remove-prefix: 'doc/src/docbkx/openstack-{oldmanual}/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/openstack-{oldmanual}/target/docbkx/webhelp/**/atom.xml'
target: '/'
remove-prefix: 'doc/src/docbkx/openstack-{oldmanual}/target/docbkx/webhelp/'
- job-template:
name: openstack-{install}-{distribution}-old
project-type: maven
node: precise
concurrent: false
prebuilders:
- gerrit-git-prep
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/{install}/pom.xml
goals: '-Doperating.system={system} -Dprofile.os={profileos} -Drelease.path.name=${{DOC_RELEASE_PATH}} -Dcomments.enabled=${{DOC_COMMENTS_ENABLED}} clean generate-sources -B'
publishers:
- console-log
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/{install}/target/docbkx/webhelp/**'
target: ''
remove-prefix: 'doc/src/docbkx/{install}/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/{install}/target/docbkx/webhelp/**/atom.xml'
target: ''
remove-prefix: 'doc/src/docbkx/{install}/target/docbkx/webhelp/'
- job-group:
name: openstack-doc-jobs
jobs:
- gate-{name}-tox-{envlist}:
envlist: checkniceness
- gate-{name}-tox-{envlist}:
envlist: checksyntax
- gate-{name}-tox-{envlist}:
envlist: checkdeletions
- gate-{name}-tox-{envlist}:
envlist: checkbuild