]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rados: fetch files via GitHub instead of git.ceph.com 69180/head
authorLaura Flores <lflores@ibm.com>
Fri, 29 May 2026 21:45:17 +0000 (16:45 -0500)
committerLaura Flores <lflores@ibm.com>
Fri, 29 May 2026 21:45:17 +0000 (16:45 -0500)
The current method fetches files from git.ceph.com, which is unreliable
and sometimes causes the file to contain HTML output instead of the C++ code.

Fetching from GitHub is a more reliable way to get the C++ code.

Fixes: https://tracker.ceph.com/issues/68669
Signed-off-by: Laura Flores <lflores@ibm.com>
qa/workunits/rados/test_librados_build.sh

index d516d0ba588b47efa781a4d2da25b6a3a0e816fb..386c045379c95c68faea1fa13dfeccce76f982f9 100755 (executable)
@@ -32,8 +32,7 @@ case $(librados-config --release | grep -Po ' \(\K[^\)]+') in
         echo "unknown release '$(librados-config --release)'" >&2
         return 1;;
 esac
-DL_PREFIX="http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=${BRANCH};f=examples/librados/"
-#DL_PREFIX="https://raw.githubusercontent.com/ceph/ceph/master/examples/librados/"
+DL_PREFIX="https://raw.githubusercontent.com/ceph/ceph/${BRANCH}/examples/librados/"
 DESTDIR=$(pwd)
 
 function cleanup () {