ci: implement unified sections

in after_script, variable $SCRIPTS_DIR is lost

Acked-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20272>
This commit is contained in:
David Heidelberg
2022-12-11 17:46:41 +01:00
committed by Marge Bot
parent 5bfc17b2da
commit 4cc0cec473
20 changed files with 192 additions and 59 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash
section_switch prepare-artifacts "artifacts: prepare"
set -e
set -o xtrace
@@ -56,3 +58,5 @@ if [ -n "$MINIO_ARTIFACT_NAME" ]; then
zstd artifacts/install.tar -o ${MINIO_ARTIFACT_NAME}
ci-fairy s3cp --token-file "${CI_JOB_JWT_FILE}" ${MINIO_ARTIFACT_NAME} https://${PIPELINE_ARTIFACTS_BASE}/${MINIO_ARTIFACT_NAME}
fi
section_end prepare-artifacts