The source project of this merge request has been removed.
Fix Rake/Require offence in cleanup rake task
What does this MR do and why?
Contributes to: #391459 (closed)
This MR moves all require
s into task definition of cleanup
(lib/tasks/gitlab/cleanup.rake
) rake task.
Screenshots or screen recordings
How to set up and validate locally
rake gitlab:cleanup:block_removed_ldap_users
rake gitlab:cleanup:moved
rake gitlab:cleanup:orphan_job_artifact_files
rake gitlab:cleanup:orphan_lfs_file_references
rake gitlab:cleanup:orphan_lfs_files
rake gitlab:cleanup:project_uploads
rake gitlab:cleanup:remote_upload_files
rake gitlab:cleanup:sessions:active_sessions_lookup_keys
bundle exec rubocop lib/tasks/gitlab/cleanup.rake
Inspecting 1 file
.
1 file inspected, no offenses detected
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 Pushpa Raj Badu