'in branch')
)
parser.add_argument(
- '--ceph-git-url',
- help=("git clone url for Ceph"),
+ '--ceph-repo',
+ help=("Query this repository for Ceph branch and SHA1"),
)
parser.add_argument(
- '--ceph-qa-suite-git-url',
- help=("git clone url for ceph-qa-suite"),
+ '--suite-repo',
+ help=("Use tasks and suite definition in this repository"),
)
return parser
'--archive-upload-url',
'--key-name',
'--key-filename',
- '--simultaneous-jobs',
- '--ceph-git-url',
- '--ceph-qa-suite-git-url'):
+ '--simultaneous-jobs'):
del original_argv[0:2]
elif original_argv[0] in ('--teardown',
'--upload'):
if self.args.upload:
argv.extend(['--archive-upload', self.args.archive_upload,
'--archive-upload-url', self.args.archive_upload_url])
- for arg in ('ceph_git_url', 'ceph_qa_suite_git_url'):
+ for (arg, opt) in (('ceph_repo', 'ceph_git_url'),
+ ('suite_repo', 'ceph_qa_suite_git_url')):
if getattr(self.args, arg):
command = (
- "perl -pi -e 's|.*{arg}.*|{arg}: {value}|'"
+ "perl -pi -e 's|.*{opt}.*|{opt}: {value}|'"
" ~/.teuthology.yaml"
- ).format(arg=arg, value=getattr(self.args, arg))
+ ).format(opt=opt, value=getattr(self.args, arg))
self.ssh(command)
argv.append('/home/' + self.username +
'/teuthology/teuthology/openstack/openstack.yaml')