[go: up one dir, main page]

Skip to content

Move immutable tags UI to EE

What does this MR do and why?

Moves the frontend code behind the feature flag containerRegistryImmutableTags to EE.

References

Screenshots or screen recordings

👋 No UI changes

Before After

How to set up and validate locally

  1. Setup & enable Container Registry https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md
  2. In rails console enable the feature flag
    Feature.enable(:container_registry_immutable_tags)
  3. Enable the metadata database https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md#metadata-database
  4. Visit Project > Settings > Packages and registries, Expand Container registry section
  5. In Protected container image tags section, Create container registry protection protected & immutable rules.
  6. Confirm that edit icon is visible only on protected rules.
  7. Confirm that protected/ immutable badges are shown correctly.
  8. Login as maintainer, confirm that
    1. You cannot create immutable rules
    2. You cannot delete immutable rules.
  9. Simulate CE license https://docs.gitlab.com/development/ee_features/#simulate-a-ce-instance-when-unlicensed and ensure you cannot do any of the above steps.

MR acceptance checklist

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

Edited by Payton Burdette

Merge request reports

Loading