Skip to content

Add wildcard scope to environments

Payton Burdette requested to merge refactor-env-scope into master

What does this MR do?

This MR takes any wildcard scopes that were created with the old project/group setting CI variables UI and adds them to the environments array state. This will allow this functionality to work with the new UI.

This MR also introduces ci_envrioments_dropdown.vue which is a refactor of ee/app/assets/javascripts/feature_flags/components/environments_dropdown.vue. This component allows the creation of wildcard scopes on variables. Or selection of previously defined wildcard scopes or any environments defined within gitlab-ci.yml.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Payton Burdette

Merge request reports