From: Neha Ojha Date: Wed, 25 Oct 2017 17:22:43 +0000 (-0700) Subject: qa: add cbt repo parameter X-Git-Tag: v13.0.1~397^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F18543%2Fhead;p=ceph.git qa: add cbt repo parameter Signed-off-by: Neha Ojha --- diff --git a/qa/tasks/cbt.py b/qa/tasks/cbt.py index 89a83a54c33a..8046ca63cdc9 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) ] )