Skip to content

Remove Attributes column from Inherited CI/CD Variables table

Mireya Andres requested to merge ci/remove-attributes-column into master

What does this MR do and why?

This column was removed from the Project CI/CD Variables table, but not the table for inherited group variables. We don't need to show this column anymore since we already render the attributes as labels under the variable key.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screenshot_2024-05-24_at_15.24.30 Screenshot_2024-05-24_at_15.23.56

For reference, this is how the project variables table looks like. We do not show the value or actions column for inherited variables.

Screenshot_2024-05-24_at_15.25.07

How to set up and validate locally

  1. Use this rake task to add group variables for your group.
    bundle exec rake "gitlab:seed:ci_variables_group[<group_name>, 5]"
  2. Visit the CI/CD settings of a project under the group: /path-to-project/-/settings/ci_cd
  3. Scroll to Variables > Group variables (inherited) (it's another table under the project variables table) and verify that the Attributes column is no longer there.
Edited by Mireya Andres

Merge request reports