Skip to content

Fix gitlab:cleanup:orphan_job_artifact_files rake task limit

Michael Kozono requested to merge mk/fix-cleanup-rake-task-limit into master

What does this MR do?

Methods should not be defined in rake files https://kevinjalbert.com/defined_methods-in-rake-tasks-you-re-gonna-have-a-bad-time/

The limit method was defined in a new rake task, so the old one became overridden. The new method had a default of 100.

This MR also renames the newer method more specifically, since it would be a larger refactor to remove the method entirely.

Resolves #263415 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Michael Kozono

Merge request reports