Skip to content

Fix Rake/Require offence in backup rake task

Pushpa Raj Badu requested to merge (removed):pl-rake-require-backup into master

What does this MR do and why?

Contributes to: #391459 (closed)

This MR moves all requires into task definition of backup (lib/tasks/gitlab/backup.rake) rake task.

image

Screenshots or screen recordings

image

How to set up and validate locally

rake gitlab:backup:create
rake gitlab:backup:restore
bundle exec rubocop lib/tasks/gitlab/backup.rake
Inspecting 1 file
.

1 file inspected, no offenses detected

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Pushpa Raj Badu

Merge request reports