From 92b938735a281d3755fa472c9a5afd01b4e8191b Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 27 Sep 2013 11:04:52 -0400 Subject: [PATCH] Use rackspace for tempest check tests * modules/openstack_project/files/zuul/openstack_functions.py: Update single use function to select rackspace for tempest check tests. Change-Id: I9f930dbddb2284e6c5a9672f454456b98953967a --- modules/openstack_project/files/zuul/openstack_functions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/openstack_project/files/zuul/openstack_functions.py b/modules/openstack_project/files/zuul/openstack_functions.py index 15275dbeaa..eafd9277b2 100644 --- a/modules/openstack_project/files/zuul/openstack_functions.py +++ b/modules/openstack_project/files/zuul/openstack_functions.py @@ -12,6 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. + def set_log_url(item, job, params): if hasattr(item.change, 'refspec'): path = "%s/%s/%s/%s" % ( @@ -31,3 +32,5 @@ def set_log_url(item, job, params): def single_use_node(item, job, params): set_log_url(item, job, params) params['OFFLINE_NODE_WHEN_COMPLETE'] = '1' + if params['ZUUL_PIPELINE'] == 'check': + params['NODE_LABEL'] = 'devstack-precise-check'