summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2021-09-06 09:02:11 +0200
committerMarge Bot <eric+marge@anholt.net>2021-09-10 18:15:45 +0000
commit95c1de96eac727d4f0538287471accfcc135931f (patch)
tree56aa76a75513d4892244dd155c2328d179545789 /.gitlab-ci
parentd324748e92af2c596b71c7051e9c0c879fe9f525 (diff)
ci: Stop adding link to tracie dashboard
Besides the sed being broken for some trace names, now we have all needed information in the artifacts so the dashboard isn't needed. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12675>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/piglit/run.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/.gitlab-ci/piglit/run.sh b/.gitlab-ci/piglit/run.sh
index bc7e57787c1..e5fa819d744 100755
--- a/.gitlab-ci/piglit/run.sh
+++ b/.gitlab-ci/piglit/run.sh
@@ -160,18 +160,6 @@ replay_minio_upload_images() {
else
__MINIO_PATH="$JOB_ARTIFACTS_BASE"
__DESTINATION_FILE_PATH="$__MINIO_TRACES_PREFIX/${line##*-}"
- # Adding to the JUnit the direct link to the diff page in
- # the dashboard
- __PIGLIT_TESTCASE_CLASSNAME="piglit\.trace\.$PIGLIT_REPLAY_DEVICE_NAME\.$(dirname $__TRACE | sed 's%/%\\.%g;s@%@\\%@')"
- __PIGLIT_TESTCASE_NAME="$(basename $__TRACE | sed 's%\.%_%g;s@%@\\%@')"
- __DASHBOARD_URL="https://tracie.freedesktop.org/dashboard/imagediff/${CI_PROJECT_PATH}/${CI_JOB_ID}/${__TRACE}"
- __START_TEST_PATTERN='<testcase classname="'"${__PIGLIT_TESTCASE_CLASSNAME}"'" name="'"${__PIGLIT_TESTCASE_NAME}"'" status="fail"'
- __REPLACE_TEST_PATTERN='</system-out><failure type="fail"/></testcase>'
- # Replace in the range between __START_TEST_PATTERN and
- # __REPLACE_TEST_PATTERN leaving __START_TEST_PATTERN out
- # from the substitution
- sed '\%'"${__START_TEST_PATTERN}"'%,\%'"${__REPLACE_TEST_PATTERN}"'%{\%'"${__START_TEST_PATTERN}"'%b;s%'"${__REPLACE_TEST_PATTERN}"'%</system-out><failure type="fail">To view the image differences visit: '"${__DASHBOARD_URL}"'</failure></testcase>%}' \
- -i "$RESULTS"/junit.xml
fi
ci-fairy minio cp $MINIO_ARGS "$RESULTS/$__PREFIX/$line" \