ci: Fix URL to imagediff page in traces dashboard
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 5 Aug 2020 09:56:06 +0000 (11:56 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 19 Aug 2020 05:47:48 +0000 (07:47 +0200)
It has been updated recently.

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

.gitlab-ci/tracie/tracie.py

index 2c96bf4ec7de1df8854a5074d46c1a37121f32c4..170400d9d54347ed879972694dfaa9ef4548a239 100644 (file)
@@ -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