From: Xiubo Li Date: Tue, 29 Nov 2022 13:24:21 +0000 (+0800) Subject: qa: switch to https protocol for ffsb and xfstests-dev repos X-Git-Tag: v16.2.11~27^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=519ced8a527db98a779ad04e2181b80f05bca09a;p=ceph.git qa: switch to https protocol for ffsb and xfstests-dev repos Since the git protocol is not reachable any more, just switch it to https. Fixes: https://tracker.ceph.com/issues/58133 Signed-off-by: Xiubo Li (cherry picked from commit 4c97a9e469cfe060531be12988ff087ad2ff36c5) Conflicts: - qa/workunits/suites/ffsb.sh: no need to fix --- diff --git a/qa/tasks/cephfs/xfstests_dev.py b/qa/tasks/cephfs/xfstests_dev.py index c0bdf338e1671..c241e0cc5a97e 100644 --- a/qa/tasks/cephfs/xfstests_dev.py +++ b/qa/tasks/cephfs/xfstests_dev.py @@ -41,12 +41,11 @@ class XFSTestsDev(CephFSTestCase): # TODO: make sure that repo is not cloned for every test. it should # happen only once. - remoteurl = 'git://git.ceph.com/xfstests-dev.git' + remoteurl = 'https://git.ceph.com/xfstests-dev.git' self.repo_path = self.mount_a.client_remote.mkdtemp(suffix= 'xfstests-dev') - self.mount_a.run_shell(['git', 'archive', '--remote=' + remoteurl, - 'HEAD', run.Raw('|'), - 'tar', '-C', self.repo_path, '-x', '-f', '-']) + self.mount_a.run_shell(['git', 'clone', remoteurl, '--depth', '1', + self.repo_path]) def get_admin_key(self): import configparser