Refactor some of ci/deployable.rb to match Rubocop's style guide
What does this MR do and why?
It removes some of the rubocop:disable comments and changes the code in the deployable.rb file to match Rubocop's style standards. I'm aiming to partially solve issue #420255.
How to set up and validate locally
- Traverse to the gitlab folder
- Rubocop the file:
bundle exec rubocop app/models/concerns/ci/deployable.rb
- Run testing suite to ensure changes didn't break anything. Pipelines should pass
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 Ted Tran