From 6acee41c0795d54b64543289e3a324511c26c39b Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 6 Aug 2013 15:17:51 -0700 Subject: [PATCH] add a key for ceph-deploy-branch detection Signed-off-by: Alfredo Deza --- teuthology/task/ceph-deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teuthology/task/ceph-deploy.py b/teuthology/task/ceph-deploy.py index d1c51ea60f..7596e490ba 100644 --- a/teuthology/task/ceph-deploy.py +++ b/teuthology/task/ceph-deploy.py @@ -17,11 +17,11 @@ def download_ceph_deploy(ctx, config): log.info('Downloading ceph-deploy...') testdir = teuthology.get_testdir(ctx) ceph_admin = teuthology.get_first_mon(ctx, config) + ceph_deploy_branch = ctx.get('ceph-deploy', {}).get('ceph-deploy-branch', 'master') ctx.cluster.only(ceph_admin).run( args=[ - 'git', 'clone', -# 'http://github.com/ceph/ceph-deploy.git', + 'git', 'clone', '-b', ceph_deploy_branch, 'git://ceph.com/ceph-deploy.git', '{tdir}/ceph-deploy'.format(tdir=testdir), ], -- 2.39.5