From 3b07bc780c13c207c010e6b9caecf6acc4d9a0aa Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 30 Mar 2017 20:40:28 +0800 Subject: [PATCH] suite: use "suite_branch" for workunit if avaiable "git clone" allows us to clone a single branch, but not a sha1, so prefer "branch" if it's available. Signed-off-by: Kefu Chai --- teuthology/suite/placeholder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/suite/placeholder.py b/teuthology/suite/placeholder.py index 64f9a9303..73e58d1ef 100644 --- a/teuthology/suite/placeholder.py +++ b/teuthology/suite/placeholder.py @@ -89,6 +89,7 @@ dict_templ = { } }, 'workunit': { + 'branch': Placeholder('suite_branch'), 'sha1': Placeholder('suite_hash'), } }, -- 2.47.3