From 973e21694f6911a76c619b8c01c741a2ac515764 Mon Sep 17 00:00:00 2001 From: Neha Ojha Date: Wed, 25 Oct 2017 10:22:43 -0700 Subject: [PATCH] qa: add cbt repo parameter Signed-off-by: Neha Ojha --- qa/tasks/cbt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/cbt.py b/qa/tasks/cbt.py index 89a83a54c33..8046ca63cdc 100644 --- a/qa/tasks/cbt.py +++ b/qa/tasks/cbt.py @@ -78,13 +78,13 @@ class CBT(Task): def checkout_cbt(self): testdir = misc.get_testdir(self.ctx) + repo = self.config.get('repo', 'https://github.com/ceph/cbt.git') branch = self.config.get('branch', 'master') branch = self.config.get('force-branch', branch) sha1 = self.config.get('sha1') self.first_mon.run( args=[ - 'git', 'clone', '-b', branch, - 'https://github.com/ceph/cbt.git', + 'git', 'clone', '-b', branch, repo, '{tdir}/cbt'.format(tdir=testdir) ] ) -- 2.39.5