Skip to content

Extend reduced cost factor to all public projects

Fabio Pitino requested to merge enforce-cost-factor-public-projects into master

Use a feature flag to set a non-zero cost factor (reduced 0.008 cost factor) to all public projects any time a shared runner is used.

We are removing scenarios where public projects use unlimited CI/CD minutes due to cost factor being set to 0. In this MR we are using a feature flag to force the cost factor to be at least 0.008.

When we will remove the feature flag we will also set the cost factor for public projects to 0.008 in the database: ci_runners.public_projects_minutes_cost_factor.

Merge request reports