public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH] hooks/pre-push: Keep original cast on gzip, fix uploading with dash
@ 2022-02-28 15:42 Stefano Brivio
  0 siblings, 0 replies; only message in thread
From: Stefano Brivio @ 2022-02-28 15:42 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com>
---
 hooks/pre-push | 5 +++--
 1 file 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 ..
-- 
@@ -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 ..
-- 
2.34.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-28 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28 15:42 [PATCH] hooks/pre-push: Keep original cast on gzip, fix uploading with dash Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).