From 1ebe7950ed4df1fbbdaa974df763a8529ef5cd20 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 23 Jan 2020 08:25:34 -0600 Subject: [PATCH] qa/tasks/cephadm: work around .git suffix on ceph_repo githubusercontent.com doesn't like the .git suffix Signed-off-by: Sage Weil --- qa/tasks/cephadm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 60118d02522a7..aa3244fa3fb96 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', -- 2.39.5