Skip to content

Update fetch path of raw logs

Miguel Rincon requested to merge 455585-use-raw-trace-instead-of-url into master

What does this MR do and why?

This change fixes the issue in which logs cannot be loaded due to having the logs archived in a CDN under another domain.

Changelog: fixed

Details

In this MR we used proxy: true to skip the CDN and allow the frontend to directly download artifact files.

This MR makes use of proxy to fetch the load log files in the same way to avoid CSP issues.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Example UI:

image

How to set up and validate locally

  1. Visit the log viewer (e.g http://gdk.test:3000/my-group/my-project/-/jobs/1175/viewer)
  2. Check the logs can fetch the logs

Related to #455585 (closed)

Edited by Miguel Rincon

Merge request reports