Remove direct setup of `shared_runners_seconds` in specs
What does this MR do and why?
Related to #277448 (closed)
This MR builds on top of !71403 (merged)
In this MR we introduce a method Namespace#unsafe_set_ci_minutes_used!
which allows us to override the CI minutes used in specs. This method is will only be used temporarily while we transition from the legacy CI minutes tracking using shared_runners_seconds
to the new monthly CI minutes tracking that uses Ci::Minutes::NamespaceMonthlyUsage
model.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Fabio Pitino