From: Sage Weil Date: Thu, 23 Jan 2020 14:25:34 +0000 (-0600) Subject: qa/tasks/cephadm: work around .git suffix on ceph_repo X-Git-Tag: v15.1.0~89^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1ebe7950ed4df1fbbdaa974df763a8529ef5cd20;p=ceph.git qa/tasks/cephadm: work around .git suffix on ceph_repo githubusercontent.com doesn't like the .git suffix Signed-off-by: Sage Weil --- diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 60118d02522a..aa3244fa3fb9 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -91,6 +91,7 @@ def download_cephadm(ctx, config, ref): if git_url.startswith('https://github.com/'): # git archive doesn't like https:// URLs, which we use with github. rest = git_url.split('https://github.com/', 1)[1] + rest.replace('.git/', '/') # no .git suffix ctx.cluster.run( args=[ 'curl', '--silent',