Use oneiric for stable/diablo.

For all python27 jobs, use oneiric slaves if the branch is
stable/diablo.  Python26 jobs are already on oneiric due to
lack of python 2.6 on anything later.

Change-Id: Id440e14721ccdd4225c5e5b170510c3c000a36b3
This commit is contained in:
James E. Blair 2012-08-02 13:04:00 -07:00
parent ec58d088fb
commit 856ca2b2e8
3 changed files with 12 additions and 0 deletions

View File

@ -116,6 +116,12 @@ logrotate:
artifactDaysToKeep: -1
artifactNumToKeep: -1
parameters:
- name: NODE_LABEL
description: Label of node to use for this build
type: label
default: '@NODE@'
triggers:
- zuul

View File

@ -53,6 +53,8 @@ jobs:
hold-following-changes: true
- name: gate-tempest-devstack-vm
parameter-function: devstack_params
- name: ^.*-python27$
parameter-function: python27_params
projects:

View File

@ -1,3 +1,7 @@
def devstack_params(change, params):
if change.branch == 'stable/diablo':
params['NODE_LABEL'] = 'devstack-oneiric'
def python27_params(change, params):
if change.branch == 'stable/diablo':
params['NODE_LABEL'] = 'oneiric'