aboutgitcodebugslistschat
path: root/hooks
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-28 02:51:34 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-28 02:51:34 +0100
commit8d33ec62de7f777d28e0adfd9a078c2cbaeb8163 (patch)
tree6e33ca7fd6afa83f0211e2ec904c35c0a72b461b /hooks
parent28fb9604518572c579e7516fb161d93295ad2b23 (diff)
downloadpasst-8d33ec62de7f777d28e0adfd9a078c2cbaeb8163.tar
passt-8d33ec62de7f777d28e0adfd9a078c2cbaeb8163.tar.gz
passt-8d33ec62de7f777d28e0adfd9a078c2cbaeb8163.tar.bz2
passt-8d33ec62de7f777d28e0adfd9a078c2cbaeb8163.tar.lz
passt-8d33ec62de7f777d28e0adfd9a078c2cbaeb8163.tar.xz
passt-8d33ec62de7f777d28e0adfd9a078c2cbaeb8163.tar.zst
passt-8d33ec62de7f777d28e0adfd9a078c2cbaeb8163.zip
hooks/pre-push: Keep original cast on gzip, fix uploading with dash
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/pre-push5
1 files changed, 3 insertions, 2 deletions
diff --git a/hooks/pre-push b/hooks/pre-push
index 69bbd18..a3f67f4 100755
--- a/hooks/pre-push
+++ b/hooks/pre-push
@@ -40,8 +40,9 @@ scp test_logs/* "${USER_HOST}:${TEST}/"
./run_demo
for cast in ci demo_pasta demo_podman demo_passt; do
- gzip -9 "${cast}.cast"
- scp "${cast}.cast"{,.gz} "${USER_HOST}:${WEB}/"
+ gzip -fk9 "${cast}.cast"
+ scp "${cast}.cast" "${USER_HOST}:${WEB}/"
+ scp "${cast}.cast.gz" "${USER_HOST}:${WEB}/"
done
cd ..