diff options
author | Andres Gomez <agomez@igalia.com> | 2021-01-16 02:46:54 +0200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-01-21 20:33:23 +0000 |
commit | 0773cd33c2bd14605eee471dd0dcc5306dd41cd4 (patch) | |
tree | a55b1848bfdc928341ff6ecac5808e515b0e1b74 /.gitlab-ci | |
parent | 27f8c466486b6e25d301681d3610fbe57ad8c032 (diff) |
ci: correct the trace image URLs in the piglit summary
Fixes: 09429fa85b6 ("ci: add piglit replay jobs and remove tracie ones")
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8531>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x | .gitlab-ci/piglit/run.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci/piglit/run.sh b/.gitlab-ci/piglit/run.sh index e320541a485..d59c3833c47 100755 --- a/.gitlab-ci/piglit/run.sh +++ b/.gitlab-ci/piglit/run.sh @@ -202,9 +202,9 @@ if [ ${PIGLIT_HTML_SUMMARY:-1} -eq 1 ]; then if [ "x$PIGLIT_PROFILES" = "xreplay" ]; then find "$OLDPWD"/summary -type f -name "*.html" -print0 \ - | xargs -0 sed -i 's@<img src="file://'"${RESULTS}"'@<img src="https://'"${MINIO_HOST}${PIGLIT_REPLAY_ARTIFACTS_BASE_URL}"'@g' + | xargs -0 sed -i 's%<img src="file://'"${RESULTS}"'.*-\([0-9a-f]*\)\.png%<img src="https://'"${MINIO_HOST}${PIGLIT_REPLAY_ARTIFACTS_BASE_URL}"'/traces/\1.png%g' find "$OLDPWD"/summary -type f -name "*.html" -print0 \ - | xargs -0 sed -i 's@<img src="file://@<img src="https://'"${MINIO_HOST}${PIGLIT_REPLAY_REFERENCE_IMAGES_BASE_URL}"'/@g' + | xargs -0 sed -i 's%<img src="file://%<img src="https://'"${MINIO_HOST}${PIGLIT_REPLAY_REFERENCE_IMAGES_BASE_URL}"'/%g' fi fi |