Mesa (main): ci: skip minio login if PIGLIT_REPLAY_UPLOAD_TO_MINIO is not set
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Aug 12 13:44:52 UTC 2021
Module: Mesa
Branch: main
Commit: 688d11e4e821ec3934abe571de9899390beceb54
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=688d11e4e821ec3934abe571de9899390beceb54
Author: Italo Nicola <italonicola at collabora.com>
Date: Tue Aug 10 12:58:07 2021 -0300
ci: skip minio login if PIGLIT_REPLAY_UPLOAD_TO_MINIO is not set
Signed-off-by: Italo Nicola <italonicola at collabora.com>
Reviewed-by: Rohan Garg <rohan.garg at collabora.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12309>
---
.gitlab-ci/piglit/run.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci/piglit/run.sh b/.gitlab-ci/piglit/run.sh
index 490a72bab0c..bc7e57787c1 100755
--- a/.gitlab-ci/piglit/run.sh
+++ b/.gitlab-ci/piglit/run.sh
@@ -212,7 +212,8 @@ fi
FAILURE_MESSAGE=$(printf "%s" "Unexpected change in results:")
-if [ "x$PIGLIT_PROFILES" = "xreplay" ]; then
+if [ "x$PIGLIT_PROFILES" = "xreplay" ] \
+ && [ ${PIGLIT_REPLAY_UPLOAD_TO_MINIO:-0} -eq 1 ]; then
ci-fairy minio login $MINIO_ARGS $CI_JOB_JWT
fi
More information about the mesa-commit
mailing list