]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts/build_utils.sh: limit .gz files copied to chacra 2134/head
authorDan Mick <dmick@redhat.com>
Sat, 20 May 2023 00:22:28 +0000 (17:22 -0700)
committerDan Mick <dmick@redhat.com>
Sat, 20 May 2023 00:58:42 +0000 (17:58 -0700)
Don't copy *every* .gz file from the release tree
(which includes the source tree); just ceph*.gz

Fixes: https://tracker.ceph.com/issues/61306
Signed-off-by: Dan Mick <dmick@redhat.com>
scripts/build_utils.sh

index 82d35c3a9c75af3ebc73d228c92024e3cfe54b6c..3d92a13b00c7c08d3e2e51c490b91294d1fd41eb 100755 (executable)
@@ -966,7 +966,7 @@ build_debs() {
     if [ "$THROWAWAY" = false ] ; then
         # push binaries to chacra
         find release/$vers/ | \
-            egrep "*\.(changes|deb|ddeb|dsc|gz)$" | \
+            egrep "*(\.changes|\.deb|\.ddeb|\.dsc|ceph[^/]*\.gz)$" | \
             egrep -v "(Packages|Sources|Contents)" | \
             $venv/chacractl binary ${chacra_flags} create ${chacra_endpoint}