[isar-cip-core][PATCH 09/12] deploy-cip-core: Use multi-threaded compression


Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Should accelerate this step a bit.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
scripts/deploy-cip-core.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/deploy-cip-core.sh b/scripts/deploy-cip-core.sh
index 1eb93d59..ab984686 100755
--- a/scripts/deploy-cip-core.sh
+++ b/scripts/deploy-cip-core.sh
@@ -30,7 +30,7 @@ S3_TARGET=s3://download2.cip-project.org/cip-core/$REF/$TARGET/

if [ -f $BASE_PATH.wic ] ; then
echo "Compressing $BASE_FILENAME.wic..."
- xz -9 -k $BASE_PATH.wic
+ xz -9 -k -T0 $BASE_PATH.wic

echo "Uploading artifacts..."
aws s3 cp --no-progress --acl public-read $BASE_PATH.wic.xz ${S3_TARGET}
--
2.35.3