Extend CI components limit from 30 to 100 per project
## Summary As discussed in https://gitlab.com/gitlab-org/gitlab/-/issues/549641#note_2611031362, we need to extend the current CI components limit from 30 to 100 per project as an immediate improvement before implementing full configurability. ## Background The current `COMPONENTS_LIMIT` is hardcoded to 30 in [`app/models/ci/catalog/components_project.rb`](https://gitlab.com/gitlab-org/gitlab/-/blob/881cd96cd16fcee0078b5e61e5092b9cdcb6e4d6/app/models/ci/catalog/components_project.rb#L11). Multiple customers have expressed the need for higher limits ## Proposed Solution 1. Update the hardcoded `COMPONENTS_LIMIT` from 30 to 100 in `app/models/ci/catalog/components_project.rb` 2. This serves as an immediate improvement while we work on making the limit fully configurable in #549641 ### Additional information - Discussion thread: https://gitlab.com/gitlab-org/gitlab/-/issues/549641#note_2734870453 - Current implementation: https://gitlab.com/gitlab-org/gitlab/-/blob/881cd96cd16fcee0078b5e61e5092b9cdcb6e4d6/app/models/ci/catalog/components_project.rb#L11 ## Implementation plan 1. Update [the limit](https://gitlab.com/gitlab-org/gitlab/-/blob/881cd96cd16fcee0078b5e61e5092b9cdcb6e4d6/app/models/ci/catalog/components_project.rb#L11) 1. Check if any specs need updating, if not consider adding specs 1. Update [the docs](https://gitlab.com/gitlab-org/gitlab/blob/6edb5feb5e0ab193c1b2ceef14b884c942c845d4/doc/ci/components/_index.md#L58)
issue
Advertisement
Advertisement