1
0
mirror of https://passt.top/passt synced 2024-12-22 05:35:23 +00:00

hooks: Uploaded compressed .cast files too

...to benefit from gzip_static in nginx or equivalent.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-02-23 13:28:26 +01:00
parent 03f7eb945b
commit e221ca7613

View File

@ -34,12 +34,15 @@ ssh "${USER_HOST}" "mkdir -p ${WEB} ${TEST} ${BIN}"
cd test
./ci
scp ci.cast perf.js ci.js ../doc/*.png "${USER_HOST}:${WEB}/"
scp perf.js ci.js ../doc/*.png "${USER_HOST}:${WEB}/"
scp test_logs/* "${USER_HOST}:${TEST}/"
./run_demo
scp demo_pasta.cast demo_podman.cast "${USER_HOST}:${WEB}/"
scp demo_passt.cast "${USER_HOST}:${WEB}/"
for cast in ci demo_pasta demo_podman demo_passt; do
gzip -9 "${cast}.cast"
scp "${cast}.cast"{,.gz} "${USER_HOST}:${WEB}/"
done
cd ..