From 85de24ebc56ef3afb52700f6f31fc6caab6f7b6a Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 29 Jul 2024 18:22:46 +0200 Subject: [PATCH] ci/prepare-artifacts: use more than one thread when compressing the install tarball Also, add `--quiet` to avoid partial progress output. Part-of: --- .gitlab-ci/prepare-artifacts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/prepare-artifacts.sh b/.gitlab-ci/prepare-artifacts.sh index 622e18bca21..3fdadf5b1d6 100755 --- a/.gitlab-ci/prepare-artifacts.sh +++ b/.gitlab-ci/prepare-artifacts.sh @@ -82,7 +82,7 @@ cp bin/ci/structured_logger.py artifacts/ if [ -n "$S3_ARTIFACT_NAME" ]; then # Pass needed files to the test stage S3_ARTIFACT_NAME="$S3_ARTIFACT_NAME.tar.zst" - zstd artifacts/install.tar -o ${S3_ARTIFACT_NAME} + zstd --quiet --threads ${FDO_CI_CONCURRENT:-0} artifacts/install.tar -o ${S3_ARTIFACT_NAME} ci-fairy s3cp --token-file "${S3_JWT_FILE}" ${S3_ARTIFACT_NAME} https://${PIPELINE_ARTIFACTS_BASE}/${S3_ARTIFACT_NAME} fi