diff options
author | Antonio Caggiano <antonio.caggiano@collabora.com> | 2021-02-10 19:07:32 +0100 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-07-28 13:49:11 +0000 |
commit | 92f9141f009f9ffe98bea42ba002a8c4bd7a74bd (patch) | |
tree | 92dbcc06df266f79f4bfc50c511a2426e648d51c /.gitlab-ci/piglit | |
parent | b88fd3ccc0deeb3776ed4fd0c72b4ab649e1a208 (diff) | |
download | mesa-92f9141f009f9ffe98bea42ba002a8c4bd7a74bd.tar.gz |
ci/freedreno: Test with non-redistributable traces
Add a job to test with traces that we cannot redistribute, listed in a
separate file. Since those traces might not be accessible by everyone,
this job is created only when the pipeline is triggered by `marge-bot`.
This job is optional because otherwise it could be blocking a merge
request of someone who cannot really debug the issue due to lack of
access to these traces.
The documentation available under `docs/ci` goes into more details
explaining the rationale behind optional traces.
Signed-off-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6441>
Diffstat (limited to '.gitlab-ci/piglit')
-rwxr-xr-x | .gitlab-ci/piglit/run.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci/piglit/run.sh b/.gitlab-ci/piglit/run.sh index 10ccad88ae3..5a45b4a3867 100755 --- a/.gitlab-ci/piglit/run.sh +++ b/.gitlab-ci/piglit/run.sh @@ -212,6 +212,10 @@ fi FAILURE_MESSAGE=$(printf "%s" "Unexpected change in results:") +if [ "x$PIGLIT_PROFILES" = "xreplay" ]; then + ci-fairy minio login $MINIO_ARGS $CI_JOB_JWT +fi + eval $RUN_CMD if [ $? -ne 0 ]; then @@ -237,8 +241,6 @@ mkdir -p .gitlab-ci/piglit if [ "x$PIGLIT_PROFILES" = "xreplay" ] \ && [ ${PIGLIT_REPLAY_UPLOAD_TO_MINIO:-0} -eq 1 ]; then - ci-fairy minio login $MINIO_ARGS $CI_JOB_JWT - __PREFIX="trace/$PIGLIT_REPLAY_DEVICE_NAME" __MINIO_PATH="$PIGLIT_REPLAY_ARTIFACTS_BASE_URL" __MINIO_TRACES_PREFIX="traces" |