# Where teuthology and ceph-qa-suite repos should be stored locally
src_base_path: /home/foo/src
+ # Where the teuthology git repo is considered to reside.
+ teuthology_git_url: https://github.com/ceph/teuthology.git
+
# Where teuthology path is located: do not clone if present
#teuthology_path: .
'ceph_git_url': None,
'ceph_qa_suite_git_url': None,
'ceph_cm_ansible_git_url': None,
+ 'teuthology_git_url': None,
'use_conserver': False,
'conserver_master': 'conserver.front.sepia.ceph.com',
'conserver_port': 3109,
return (self.ceph_git_url or
self.ceph_git_base_url + 'ceph-ci.git')
+ def get_teuthology_git_url(self):
+ return (self.teuthology_git_url or
+ self.ceph_git_base_url + 'teuthology.git')
+
class JobConfig(YamlConfig):
pass
base = config.get_ceph_cm_ansible_git_url()
elif project == 'ceph':
base = config.get_ceph_git_url()
+ elif project == 'teuthology':
+ base = config.get_teuthology_git_url()
else:
base = 'https://github.com/{project_owner}/{project}'
url_templ = re.sub(r'\.git$', '', base)
:param commit: The sha1 to checkout. Defaults to None, which uses HEAD of the branch.
:returns: The destination path
"""
- url = config.ceph_git_base_url + 'teuthology.git'
+ url = config.get_teuthology_git_url()
return fetch_repo(url, branch, commit, bootstrap_teuthology, lock)