project-config/jenkins/jobs/python-bitrot-jobs.yaml

131 lines
2.8 KiB
YAML

- job-template:
name: 'periodic-{name}-python27{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- zuul-git-branch-prep-upper-constraints:
branch: '{branch}'
- install-distro-packages
- revoke-sudo
- python27
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: 'periodic-{name}-python27-db{branch-name}'
description: 'Same job as periodic-{name}-python27 but sets up databases.'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- zuul-git-branch-prep-upper-constraints:
branch: '{branch}'
- install-distro-packages
- mysql-prep
- pgsql-prep
- mysql-db:
db_name: openstack_citest
- pgsql-db:
db_name: openstack_citest
- revoke-sudo
- python27
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: 'periodic-{name}-docs{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- zuul-git-branch-prep-upper-constraints:
branch: '{branch}'
- install-distro-packages
- revoke-sudo
- docs
publishers:
- console-log
node: '{node}'
- job-group:
name: python-kilo-bitrot-jobs
branch: 'stable/kilo'
branch-name: '-kilo'
node: ubuntu-trusty
jobs:
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- job-group:
name: python-liberty-bitrot-jobs
branch: 'stable/liberty'
branch-name: '-liberty'
node: ubuntu-trusty
jobs:
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- job-group:
name: python-mitaka-bitrot-jobs
branch: 'stable/mitaka'
branch-name: '-mitaka'
node: ubuntu-trusty
jobs:
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- job-group:
name: python-kilo-bitrot-db-jobs
branch: 'stable/kilo'
branch-name: '-kilo'
node: ubuntu-trusty
jobs:
- 'periodic-{name}-python27-db{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- job-group:
name: python-liberty-bitrot-db-jobs
branch: 'stable/liberty'
branch-name: '-liberty'
node: ubuntu-trusty
jobs:
- 'periodic-{name}-python27-db{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- job-group:
name: python-mitaka-bitrot-db-jobs
branch: 'stable/mitaka'
branch-name: '-mitaka'
node: ubuntu-trusty
jobs:
- 'periodic-{name}-python27-db{branch-name}'
- 'periodic-{name}-docs{branch-name}'