Allow CI limits to be defined at namespace-level
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
This is extracted from a conversation here: #34634 (comment 234982006)
Plan.defaultwould work as default namespace limits on self-hostedPlan.<specific>is defined at namespace level for specific plans on Gitlab.com- Admins should be able to override limits for specific namespaces that are prone to abuses (values must not be higher than
Plan.defaultlimits)I'm a fan of moving limits out of
namespacesandplanstables into dedicatednamespace_limitsandplan_limitshaving the same schema. Then, we could havenamespace.actual_limitsto benamespace.limits || namespace.plan_limits
This essentially allows fine tuning of limits at namespace-level. E.g. admins can drastically reduce limits (even temporary) for a namespace if this is being an abuser.
Edited by 🤖 GitLab Bot 🤖