Skip to content

Add background migrations to archive legacy job traces

What does this MR do?

This MR does

  • Add background migrations to archive legacy job traces
  • the same thing with gitlab:traces:archive rake task

Here is the long description

In Gitlab %10.6, we prepared a rake task to archive job traces (FYI, We used this script to migrate files from file storage to object storage), however, on-prem instances still has not archived job traces. Users can do this by running rake gitlab:traces:archive manually, but ideally this should be done by background migrations to make it happen automatically.

%11.0 is the good timing to arhicve this.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/46642

/cc @ayufan @yorickpeterse @grzesiek

Edited by Yorick Peterse

Merge request reports