-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
GitLab: Support Group-level CI/CD Variables #1510
Description
Describe the solution you'd like
GitLab Provider support for GitLab Group-level CI/CD Variables. Currently, only GitLab Project-level CI/CD Variables are supported.
What is the added value?
The ESO GitLab Provider currently supports Project-level CI/CD Variables only. GitLab supports management of Group-level CI/CD Variables in addition to Project-level Variables. The GitLab REST API manages Group Variables and Project Variables independently. However, GitLab itself and GitLab CI allow Projects to "inherit" Group-level CI/CD Variables to enable variable reuse across Projects. Many existing GitLab CI deployments use Group-level Ci/CD Variables for this purpose.
An optimal GitLab Provider enhancement would behave like the GitLab UI and GitLab CI and expose both a project's Project Variables and its "inherited" Group Variables in a single Secret Store. A less ambitious GitLab Provider enhancement would simply introduce support for Group-level CI/CD Variables. In this case, a separate Group Variables Secret Store and a separate Project Variables Secret Store would be required to use both Project Variables and "inherited" Group Variables.