hooks/pre-push: Keep original cast on gzip, fix uploading with dash

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-02-28 02:51:34 +01:00
parent 28fb960451
commit 8d33ec62de

View file

@ -40,8 +40,9 @@ scp test_logs/* "${USER_HOST}:${TEST}/"
./run_demo ./run_demo
for cast in ci demo_pasta demo_podman demo_passt; do for cast in ci demo_pasta demo_podman demo_passt; do
gzip -9 "${cast}.cast" gzip -fk9 "${cast}.cast"
scp "${cast}.cast"{,.gz} "${USER_HOST}:${WEB}/" scp "${cast}.cast" "${USER_HOST}:${WEB}/"
scp "${cast}.cast.gz" "${USER_HOST}:${WEB}/"
done done
cd .. cd ..