Fix Rake/Require offense in migrate and pages rake task
What does this MR do and why?
This MR aims to solve the issue #391459 (closed)
This MR moves all require
s into task definition of migrate
(lib/tasks/gitlab/packages/migrate.rake
) and pages
(lib/tasks/gitlab/pages.rake
) rake task.
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 Siddharth Asthana