Backend: Set Public OSS plan cost factor to .5
Problem
Projects migrating to the new OSS Plan are using > 50,000 minutes per month, where 50,000 is the CI minutes monthly limit for OSS plan and Ultimate plan (what OSS program members can have today).
Proposal
Change Ci::Minutes::CostFactor#for_project to apply a cost factor of 0.5
if the project is public and belongs to the OSS plan.
Note that:
- private projects on OSS plan should still get cost factor
1
as of today. - public fork projects on OSS plan should get
0.008
.
Rough docs:
The cost factors for jobs running on shared runners on GitLab.com are:
- 0.5 for public projects in the GitLab for Open Source program.
- 0.008 for all other public projects. For every 125 minutes of job execution time, you use 1 CI/CD minute.
- 1 for internal and private projects.
- Calculated differently for community contributions to GitLab projects.
Decision on how to double OSS plan minutes
Overview
As of 14.5, we have separated out the Open Source Program Plans from Premium and Ultimate plans, so we can apply different treatments of CICD minute consumption based on the usage patterns. Today, OSS plans are assigned 50,000 CICD minutes with a cost factor of 1.
After further research into contributions to forks of OSS projects, we learned that some projects have single contributors using over 200,000 CICD Minutes in a single contribution, where many projects would expect multiple contributors consuming this quantity of minutes each.
Proposals for consideration
- A. Update Open Source Plan Minutes to 100,000 instead of 50,000 at a 0.008 cost factor for forks (duration is 12,500,000 minutes vs. 6,250,000; 2X the current duration for minutes consumed by forks)
- B. Update Open Source Plan cost factor to 0.5 from 1 increasing minutes by project members to 100,000 and reducing duration used by public forks by half.
A: Update CICD minute quota to 100k
- Pros: Incentive for signing up for OSS Program
- Cons: We would need to adjust pricing and documentation as well as all marketing references to 50,000 minutes for Open Source Programs
B: Update cost factor from 1 to .5
- Cons: We could hit a floor of 0 if in fact, the OSS program members are still consuming more than 12,500,000 monthly through member and fork contributions.
- Pros: Code and Docs changes, but marketing and field impacts are minimized