From: Dan Mick Date: Tue, 3 Dec 2024 22:05:24 +0000 (-0800) Subject: scripts/get-tarballs.sh: pull to prerelease area X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a7222be2d82ebb56944535e69f8375adc90967e2;p=ceph-build.git scripts/get-tarballs.sh: pull to prerelease area I've got a bunch of doc work to do to the release process; this is one of them. Maybe we should also add this, and its copy, to the ceph-cm-ansible role for d.c.c Signed-off-by: Dan Mick --- diff --git a/scripts/get-tarballs.sh b/scripts/get-tarballs.sh index 8186d0f1..6aa1b508 100644 --- a/scripts/get-tarballs.sh +++ b/scripts/get-tarballs.sh @@ -2,7 +2,7 @@ # 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 (unsure why we need both) +# There are two files it grabs, one with 'orig' and one without : ${2?"Usage: $0 \$release \$sha1 \$version"} @@ -10,7 +10,7 @@ release=$1 sha1=$2 version=$3 -pushd /data/download.ceph.com/www/tarballs +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/focal/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