Normally the git_url is git://git.ceph.com/ceph-ci.git, which mirrors
upstream ceph-ci.git. However, the release branches aren't present there.
Allow a custom git_url so we can pull these from the main ceph.git.
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit
5842058d128d48495285242b46e41eba18916084)
# Conflicts:
# qa/suites/upgrade/pacific-x/parallel/1-tasks.yaml
- cephadm:
image: docker.io/ceph/ceph:v15.2.0
cephadm_branch: v15.2.0
+ cephadm_git_url: https://github.com/ceph/ceph
# avoid --cap-add=PTRACE + --privileged for older cephadm versions
allow_ptrace: false
- cephadm:
image: docker.io/ceph/daemon-base:latest-octopus
cephadm_branch: octopus
+ cephadm_git_url: https://github.com/ceph/ceph
conf:
osd:
#set config option for which cls modules are allowed to be loaded / used
if config.get('cephadm_mode') != 'cephadm-package':
ref = config.get('cephadm_branch', ref)
- git_url = teuth_config.get_ceph_git_url()
+ git_url = config.get('cephadm_git_url', teuth_config.get_ceph_git_url())
log.info('Downloading cephadm (repo %s ref %s)...' % (git_url, ref))
if git_url.startswith('https://github.com/'):
# git archive doesn't like https:// URLs, which we use with github.