ea15c64952
Change-Id: I90f97a48ddb3fad61f3f6551a7d118e0bb48f178 Reviewed-on: https://review.openstack.org/11498 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
234 lines
3.5 KiB
YAML
234 lines
3.5 KiB
YAML
- job-template:
|
|
name: '{name}-coverage'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- coverage
|
|
|
|
publishers:
|
|
- coverage
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pep8'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- pep8
|
|
|
|
publishers:
|
|
- pep8
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pylint'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 120
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- pylint
|
|
|
|
publishers:
|
|
- pylint
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-python26'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- python26
|
|
|
|
# >= precise does not have python2.6
|
|
node: oneiric
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-python27'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: '{node}'
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- python27
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-merge'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-docs'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- docs
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-pyflakes'
|
|
project-type: freestyle
|
|
concurrent: true
|
|
node: precise
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- pyflakes
|
|
|
|
|
|
- job-group:
|
|
name: python-jobs
|
|
jobs:
|
|
- '{name}-coverage'
|
|
- 'gate-{name}-merge'
|
|
- 'gate-{name}-pep8'
|
|
- 'gate-{name}-python26'
|
|
- 'gate-{name}-python27'
|
|
- 'gate-{name}-docs'
|
|
# pyflakes isn't standard
|