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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34710>
This commit is contained in:
committed by
Marge Bot
parent
630aef6653
commit
9d0cd43a68
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user