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?
-
Changelog entry added, if necessary - [-]
Documentation created/updated=> https://gitlab.com/gitlab-org/gitlab-ce/issues/47173 -
Tests added for this feature/bug - Conform by the code review guidelines
-
Has been reviewed by a Backend maintainer -
Has been reviewed by a Database specialist
-
-
End-to-end tests pass ( package-and-qa
manual pipeline job)
What are the relevant issue numbers?
Edited by Yorick Peterse