Skip to content

Add environment scope to CI group variables

Furkan Ayhan requested to merge 2874-environment-specific-group-variables into master

What does this MR do?

Related to #2874 (closed)

  • Add environment_scope to ci_group_variables table
  • Replace unique "group_id & key" index with "group_id & key & environment_scope"
  • Hide this feature behind a FF ci_group_variable_environment_scope

TODO:

NOTES

Screenshots

Screen_Shot_2020-04-06_at_17.08.40

Screen_Shot_2020-04-07_at_13.05.55

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 Furkan Ayhan

Merge request reports