Skip to content

Add subsidized cost factor for Open Source plan

Fabio Pitino requested to merge add-open-source-cost-factor into master

What does this MR do and why?

With the new Open Source plan been added specifically for those namespaces member of the Open Source program we are now able to distinguish open source projects from those in either Free or paid plans.

As we aim to harden CI minutes limits for all public projects we need to first ensure we don't impact public projects that are part of the Open Source program. For this reason, in this MR we are lowering the cost factor to 0.008 for those open source projects, making the Open Source program more appealing for open source projects and ensuring we don't impact them when we are going to raise the cost factor to 1.0 for public projects in upcoming milestones.

Lowering the cost factor means that CI minutes consumption moves at a slower rate (currently 125x slower than on private projects), effectively allowing a namespace to use more CI minutes. The limit cost factor 0.008 is low enough to ensure that a namespace can use 125x more CI minutes than their monthly allowance, but it'a also a non-zero value which means that the consumption is still capped.

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.

Edited by Fabio Pitino

Merge request reports