Mesa (main): ci: Store the credentials in /tmp
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 9 19:45:39 UTC 2021
Module: Mesa
Branch: main
Commit: 4d5ef807da78ac749095eddda9b10df10f205670
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d5ef807da78ac749095eddda9b10df10f205670
Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date: Thu Feb 4 15:19:16 2021 +0100
ci: Store the credentials in /tmp
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10862>
---
.gitlab-ci/piglit/run.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci/piglit/run.sh b/.gitlab-ci/piglit/run.sh
index bd4f7d344e3..886e237431d 100755
--- a/.gitlab-ci/piglit/run.sh
+++ b/.gitlab-ci/piglit/run.sh
@@ -3,6 +3,7 @@
set -ex
INSTALL=$(realpath -s "$PWD"/install)
+MINIO_ARGS="--credentials=/tmp/.minio_credentials"
RESULTS=$(realpath -s "$PWD"/results)
mkdir -p "$RESULTS"
@@ -173,7 +174,7 @@ replay_minio_upload_images() {
-i "$RESULTS"/junit.xml
fi
- ci-fairy minio cp "$RESULTS/$__PREFIX/$line" \
+ ci-fairy minio cp $MINIO_ARGS "$RESULTS/$__PREFIX/$line" \
"minio://${MINIO_HOST}${__MINIO_PATH}/${__DESTINATION_FILE_PATH}"
done
}
@@ -236,7 +237,7 @@ mkdir -p .gitlab-ci/piglit
if [ "x$PIGLIT_PROFILES" = "xreplay" ] \
&& [ ${PIGLIT_REPLAY_UPLOAD_TO_MINIO:-0} -eq 1 ]; then
- ci-fairy minio login $CI_JOB_JWT
+ ci-fairy minio login $MINIO_ARGS $CI_JOB_JWT
__PREFIX="trace/$PIGLIT_REPLAY_DEVICE_NAME"
__MINIO_PATH="$PIGLIT_REPLAY_ARTIFACTS_BASE_URL"
More information about the mesa-commit
mailing list