From: Kefu Chai Date: Thu, 30 Mar 2017 12:40:28 +0000 (+0800) Subject: suite: use "suite_branch" for workunit if avaiable X-Git-Tag: 1.1.0~439^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b07bc780c13c207c010e6b9caecf6acc4d9a0aa;p=teuthology.git 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 --- 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'), } },