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)
]
)