From 330f1a3c958e3560059eb3e00de0ba03642fdb98 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Fri, 31 Oct 2025 12:21:39 -0400 Subject: [PATCH] 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 --- scripts/get-tarballs.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/scripts/get-tarballs.sh b/scripts/get-tarballs.sh index d44df254..19c500c7 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 - -- 2.39.5