From: David Galloway Date: Fri, 31 Oct 2025 16:21:39 +0000 (-0400) Subject: get-tarballs: Stop looking for orig tarball X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=330f1a3c958e3560059eb3e00de0ba03642fdb98;p=ceph-build.git get-tarballs: Stop looking for orig tarball As far as we know, nothing uses this. We were literally just making copies of the exact same tarball and offering it with 'orig' in the name. Signed-off-by: David Galloway --- diff --git a/scripts/get-tarballs.sh b/scripts/get-tarballs.sh index d44df254a..19c500c73 100644 --- a/scripts/get-tarballs.sh +++ b/scripts/get-tarballs.sh @@ -1,8 +1,6 @@ #!/bin/bash -# Helper to get tarballs for releases -# Does not do any placement, you must be on the destination directory. - -# There are two files it grabs, one with 'orig' and one without +set -x +# Helper to get tarball for releases : ${2?"Usage: $0 \$release \$sha1 \$version"} @@ -12,10 +10,11 @@ version=$3 pushd /data/download.ceph.com/www/prerelease/ceph/tarballs -if [ ! -f ceph_$version.orig.tar.gz ]; then - wget https://chacra.ceph.com/binaries/ceph/$release/$sha1/ubuntu/noble/x86_64/flavors/default/ceph_$version.orig.tar.gz || wget https://chacra.ceph.com/binaries/ceph/$release/$sha1/ubuntu/jammy/x86_64/flavors/default/ceph_$version.orig.tar.gz - wget https://chacra.ceph.com/binaries/ceph/$release/$sha1/ubuntu/noble/x86_64/flavors/default/ceph-$version.tar.gz || wget https://chacra.ceph.com/binaries/ceph/$release/$sha1/ubuntu/jammy/x86_64/flavors/default/ceph-$version.tar.gz +if [[ ! -f ceph_${version}.tar.gz ]]; then + wget -q https://chacra.ceph.com/binaries/ceph/${release}/${sha1}/ubuntu/noble/x86_64/flavors/default/ceph_${version}-1noble.tar.gz \ + || wget -q https://chacra.ceph.com/binaries/ceph/${release}/${sha1}/ubuntu/jammy/x86_64/flavors/default/ceph_${version}-1jammy.tar.gz + + mv ceph_${version}*.tar.gz ceph-${version}.tar.gz fi popd -