project-config/jenkins/jobs/python-bitrot-jobs.yaml
Jeremy Stanley 0af9b2c178 Get rid of precise||trusty job node declarations
Between the Icehouse and Juno releases, OpenStack changed its
supported Ubuntu LTS platform from Precise to Trusty. In support of
continuing testing stable/icehouse and prior branches on Precise
while starting to test newer branches on Trusty, a branch-based
decision tree was introduced into our Zuul configuration by way of
complex parameter functions with an ever growing list of regular
expression matches on job names.

Now that Icehouse is EOL (in fact, Juno is too) this simply adds
unnecessary complexity and an attractive nuisance for cargo-cult
copying into new job and job-template definitions which don't even
need it. In preparation to remove the associated parameter
functions, get rid of multiple labels in all jobs and set them to
whatever label Zuul would ultimately select.

This change touches a vast number, possibly a majority, of our jobs
and so manual jenkins-jobs updates on all Jenkins masters will be
needed after this merges, before it's safe to approve the
corresponding Zuul configuration cleanup.

Change-Id: Ic952ee02da2c77fe2ace81c4e2fa87531be6119c
2015-12-21 20:52:17 +00:00

107 lines
2.0 KiB
YAML

- job-template:
name: 'periodic-{name}-python27{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- python27
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: 'periodic-{name}-python27-constraints{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- zuul-git-branch-prep-upper-constraints:
branch: '{branch}'
- tox:
envlist: py27-constraints
- 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:
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- docs
publishers:
- console-log
node: '{node}'
- job-template:
name: 'periodic-{name}-docs-constraints{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- zuul-git-branch-prep-upper-constraints:
branch: '{branch}'
- docs-env:
env: venv-constraints
publishers:
- console-log
node: '{node}'
- job-group:
name: python-kilo-bitrot-jobs
branch: 'stable/kilo'
branch-name: '-kilo'
node: bare-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: bare-trusty
jobs:
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-python27-constraints{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- 'periodic-{name}-docs-constraints{branch-name}'