From 9d0cd43a684aa5b15750e2293c70ed80d879899c Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 21 Apr 2025 21:29:28 +0200 Subject: [PATCH] ci/build: drop install.tar from gitlab artifacts Now that everyone uses the S3 url, let's avoid unnecessary uploads of several GB per pipeline. Part-of: --- .gitlab-ci/prepare-artifacts.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci/prepare-artifacts.sh b/.gitlab-ci/prepare-artifacts.sh index 17160c00e5e..7ce5e874877 100755 --- a/.gitlab-ci/prepare-artifacts.sh +++ b/.gitlab-ci/prepare-artifacts.sh @@ -71,15 +71,10 @@ find src/ -path '*/ci/*' \ \) \ -exec cp -p {} install/ \; -# Tar up the install dir so that symlinks and hardlinks aren't each -# packed separately in the zip file. -mkdir -p artifacts/ -tar -cf artifacts/install.tar install - if [ -n "$S3_ARTIFACT_NAME" ]; then # Pass needed files to the test stage S3_ARTIFACT_TAR="$S3_ARTIFACT_NAME.tar.zst" - zstd --quiet --threads ${FDO_CI_CONCURRENT:-0} artifacts/install.tar -o ${S3_ARTIFACT_TAR} + tar -c install | zstd --quiet --threads ${FDO_CI_CONCURRENT:-0} -o ${S3_ARTIFACT_TAR} ci-fairy s3cp --token-file "${S3_JWT_FILE}" ${S3_ARTIFACT_TAR} https://${PIPELINE_ARTIFACTS_BASE}/${S3_ARTIFACT_TAR} fi