Add worker and controller for exporting storage usage
What does this MR do and why?
As part of https://gitlab.com/gitlab-org/gitlab/-/issues/422501 we need to export namespace storage usage.
This MR adds a controller action/route, sidekiq worker and an email handling the generation and delivery of the CSV.
The CSV generation itself was added in !130857 (merged)
How to set up and validate locally
- Visit
https://gdk.test:3000/admin/namespace_limits/export
- Visit
https://gdk.test:3000/rails/letter_opener
and view the generated email
Screenshots
- | Screenshot |
---|---|
Requesting export | |
HTML email | |
Text email |
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Vijay Hawoldar