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: v18.1.0~743^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4c97a9e469cfe060531be12988ff087ad2ff36c5;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 --- diff --git a/qa/tasks/cephfs/xfstests_dev.py b/qa/tasks/cephfs/xfstests_dev.py index de1f860d3d9..c9902fa9266 100644 --- a/qa/tasks/cephfs/xfstests_dev.py +++ b/qa/tasks/cephfs/xfstests_dev.py @@ -43,12 +43,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 diff --git a/qa/workunits/suites/ffsb.sh b/qa/workunits/suites/ffsb.sh index a6ec7d198af..bf95a05c4e8 100755 --- a/qa/workunits/suites/ffsb.sh +++ b/qa/workunits/suites/ffsb.sh @@ -9,10 +9,10 @@ trap -- 'retry' EXIT retry() { rm -rf ffsb # double the timeout value - timeout 3600 git clone git://git.ceph.com/ffsb.git --depth 1 + timeout 3600 git clone https://git.ceph.com/ffsb.git --depth 1 } rm -rf ffsb -timeout 1800 git clone git://git.ceph.com/ffsb.git --depth 1 +timeout 1800 git clone https://git.ceph.com/ffsb.git --depth 1 trap - EXIT cd ffsb