Mesa (master): ci: Fix URL to imagediff page in traces dashboard

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Aug 19 06:27:51 UTC 2020


Module: Mesa
Branch: master
Commit: 91cd7fe97848d8b57a90bea81c41306602cc1b32
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91cd7fe97848d8b57a90bea81c41306602cc1b32

Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date:   Wed Aug  5 11:56:06 2020 +0200

ci: Fix URL to imagediff page in traces dashboard

It has been updated recently.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Reviewed-By: Rohan Garg <rohan.garg at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6185>

---

 .gitlab-ci/tracie/tracie.py | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci/tracie/tracie.py b/.gitlab-ci/tracie/tracie.py
index 2c96bf4ec7d..170400d9d54 100644
--- a/.gitlab-ci/tracie/tracie.py
+++ b/.gitlab-ci/tracie/tracie.py
@@ -158,12 +158,10 @@ def gitlab_check_trace(project_url, device_name, trace, expectation):
                 (trace['path'], expectation['checksum'], checksum))
         print("[check_image] For more information see "
                 "https://gitlab.freedesktop.org/mesa/mesa/blob/master/.gitlab-ci/tracie/README.md")
-        image_diff_url = "%s/imagediff/%s/%s/%s/%s/%s" % (DASHBOARD_URL,
-                                                       os.environ['CI_PROJECT_PATH'],
-                                                       os.environ['CI_PIPELINE_ID'],
-                                                       os.environ['CI_JOB_ID'],
-                                                       expectation['checksum'],
-                                                       checksum)
+        image_diff_url = "%s/imagediff/%s/%s/%s" % (DASHBOARD_URL,
+                                                    os.environ['CI_PROJECT_PATH'],
+                                                    os.environ['CI_JOB_ID'],
+                                                    trace['path'])
         print("[check_image] %s" % image_diff_url)
         ok = False
 



More information about the mesa-commit mailing list