Swap stage with stage_id column in ci_finished_builds ClickHouse table

What does this MR do and why?

This MR #508077 (closed) resolves by swapping the stage with stage_id column in the ci_finished_builds ClickHouse table. Finally, it ensures the stage_id is added to the CSV export.

TODOs:

  • Implement the two migrations
  • Cross-check if ClickHouse tests are needed
  • Update the CSV exporter

🔧 with at Adfinis

References

Screenshots or screen recordings

n/a

How to set up and validate locally

n/a

MR acceptance checklist

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

Edited by Michael Hofer

Merge request reports

Loading