]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
get-tarballs: Stop looking for orig tarball 2456/head
authorDavid Galloway <david.galloway@ibm.com>
Fri, 31 Oct 2025 16:21:39 +0000 (12:21 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Tue, 4 Nov 2025 16:09:33 +0000 (11:09 -0500)
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 <david.galloway@ibm.com>
scripts/get-tarballs.sh

index d44df254acb0e3a7587390a168372d2a4e0fa7b0..19c500c73ce85c119e5c41046725aee9ba10cd20 100644 (file)
@@ -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
-