diff --git a/teuthology/repo_utils.py b/teuthology/repo_utils.py index 93ee225a3..7f387d95e 100644 --- a/teuthology/repo_utils.py +++ b/teuthology/repo_utils.py @@ -51,9 +51,9 @@ def build_git_url(project, project_owner='ceph'): elif project == 'ceph': base = config.get_ceph_git_url() else: - base = 'https://github.com/{project_owner}/{project}' + base = '{ceph_git_base_url}/{project_owner}/{project}' url_templ = re.sub(r'\.git$', '', base) - return url_templ.format(project_owner=project_owner, project=project) + return url_templ.format(ceph_git_base_url=config.ceph_git_base_url, project_owner=project_owner, project=project) def ls_remote(url, ref):