From a3bd47f05532c9aac948553019ec0a73816947df Mon Sep 17 00:00:00 2001 From: Will Holland Date: Wed, 30 Sep 2015 16:16:11 +0100 Subject: Add temporary slave workaround This needs changing for true elasticity --- ciatlib/master.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ciatlib/master.py b/ciatlib/master.py index 04c0edc..22ccfcb 100644 --- a/ciatlib/master.py +++ b/ciatlib/master.py @@ -114,8 +114,11 @@ class Pipeline: def get_slaves(self,slave_type): ''' this returns a list of slaves given a slave-type ''' - #TODO - pass + #TODO this needs doing properly + if slave_type['arch'] == 'x86_64': + return 'local-slave' + elif slave_type['arch'] == 'arm': + return 'arm-slave' def __init__(self, name, -- cgit v1.2.1