Jeremy Stanley 3d8b647a70 Run most non-sensitive jobs on single-use workers
* doc/source/jjb.rst
* doc/source/stackforge.rst: Update examples to recommend
bare-precise nodes in new job configuration.

* modules/openstack_project/files/jenkins_job_builder/config/*.yaml:
Change the node label for all jobs opreviously using precise to use
bare-precise instead.

* modules/openstack_project/files/zuul/layout.yaml: Get rid of the
transitional matches for setting the single use parameter function
on specific job names and just set it on everything as a default.
Add patterns for jobs which need long-running slaves to apply a
reusable node parameter function instead.

* modules/openstack_project/files/zuul/openstack_functions.py: Add a
parameter function for reusable nodes which refrains from enabling
auto-offline behavior.

* modules/openstack_project/templates/nodepool/nodepool.yaml.erb:
Double the minimum ready bare-precise nodes to accommodate
additional load.

Change-Id: I2a90c5b120a50bb8033c891702185f054ee84d35
2014-02-18 17:50:49 +00:00

103 lines
2.0 KiB
YAML

- job-template:
name: 'periodic-{name}-python26{branch-name}'
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
builders:
- python26:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
- test-results
- console-log
scm:
- git:
url: 'git://git.openstack.org/{github-org}/{name}'
branches:
- 'origin/{branch}'
node: bare-centos6
- job-template:
name: 'periodic-{name}-python27{branch-name}'
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
builders:
- python27:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
- test-results
- console-log
scm:
- git:
url: 'git://git.openstack.org/{github-org}/{name}'
branches:
- 'origin/{branch}'
node: '{node}'
- job-template:
name: 'periodic-{name}-docs{branch-name}'
wrappers:
- timeout:
timeout: 40
fail: true
- timestamps
builders:
- docs:
github-org: '{github-org}'
project: '{name}'
publishers:
- console-log
scm:
- git:
url: 'git://git.openstack.org/{github-org}/{name}'
branches:
- 'origin/{branch}'
node: '{node}'
- job-group:
name: python-grizzly-bitrot-jobs
branch: 'stable/grizzly'
branch-name: '-grizzly'
node: bare-precise
jobs:
- 'periodic-{name}-python26{branch-name}'
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'
- job-group:
name: python-havana-bitrot-jobs
branch: 'stable/havana'
branch-name: '-havana'
node: bare-precise
jobs:
- 'periodic-{name}-python26{branch-name}'
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'