Backend: Export/Import CI/CD environment variables
Summary
From the frontend issue:
Hi guys, it would be nice to have a feature in the GitLab frontend where the users can export the Environment variables in the CI/CD settings. This way, when you have too many projects and too many environment variables and you need to replicate all those variables in all your projects, it's easier just importing them from a file.
Why this matters and how we measure
User Stories
Proposal
-
Create import functionality
-
Create export functionality
TBD: file format
Performance Considerations
- We should monitor to see if/how performance degrades for files with a large number of variables
Out of Scope
- This is only be for type ENV variables. No other types should be considered.
Acceptance Criteria
Additional details
Some relevant technical details, if applicable, such as:
- Does this need a feature flag?
- Does there need to be an associated instrumentation issue created related to this work?
- Is there an example response showing the data structure that should be returned (new endpoints only)?
- What permissions should be used?
- Which tier(s) is this for?
- Additional comments:
Implementation Table
Group | Issue Link |
---|---|
backend |
|
frontend | Frontend: Export/Import CI/CD environment variables |
documentation | Issue Title |
Instrumentation | Issue Title |
Links/References
Edited by Jocelyn Eillis