Implement actions in CI Variable drawer
What does this MR do and why?
Resolves #421263 (closed).
The CI Variables drawer is being developed under the ci_variable_drawer
feature flag, and will replace the modal for creating, editing, and deleting a CI variables.
This MR makes sure that the following actions are working and has test coverage:
- Select an environment scope
- Search environment scope
- Add a new CI variable (already implemented, just needs more test coverage)
- Editing an existing CI variable (already implemented, just needs more test coverage)
- Deleting an existing CI variable
Most of these are already set in the code but were just missing specs. Most of the implementation changes are with the environment scope dropdown and deleting a CI variable.
Implementation Table
Iteration | MR |
---|---|
Setup drawer with feature flag | !126197 (merged) |
Add form validations | !129684 (merged) |
Ensure that CI variable actions are working with the drawer |
|
Rollout | #418005 (closed) |
Screenshots or screen recordings
How to set up and validate locally
- Enable the
ci_variable_drawer
feature flag. - Go to Settings > CI/CD > Variables for a group or project. If you're testing on a group, make sure you have a Premium+ license.
- Verify that you can search environment scopes as well as add, edit, and delete CI variables.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mireya Andres