Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12309>
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