]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add cbt repo parameter
authorNeha Ojha <nojha@redhat.com>
Wed, 25 Oct 2017 17:22:43 +0000 (10:22 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Mon, 3 Dec 2018 19:43:01 +0000 (11:43 -0800)
Signed-off-by: Neha Ojha <nojha@redhat.com>
qa/tasks/cbt.py

index 89a83a54c33a010fa3e8a91cf061ab236135c671..8046ca63cdc93846249b084b70d72061524c94ee 100644 (file)
@@ -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)
             ]
         )