Skip to content
Snippets Groups Projects

Modify container registry project settings section with feature flag

Merged Rahul Chanila requested to merge 500217-reorganize-container-registry-section into master

What does this MR do and why?

Modify container registry project settings section with feature flag

Updates components to render card layout based on feature flag.

Also tweaking container registry cleanup policy temporarily so that it can be completed in Update the container registry cleanup setting t... (#503389 - closed)

Changelog is not required since these changes are under a feature flag.

Note: Since this MR is quite big already, changes are focused only on the Container registry section. Package registry section is being updated in Modify package registry project settings sectio... (!175357 - merged)

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

With feature flag turned off Before After: with cleanup policy disabled After: with cleanup policy enabled After: with protected container rules
172.16.123.1_3000_kalcifer_vue-interpolation-component_-settings_packages_and_registries__2 172.16.123.1_3000_kalcifer_vue-interpolation-component_-settings_packages_and_registries__4 172.16.123.1_3000_kalcifer_graphs_-_settings_packages_and_registries 172.16.123.1_3000_kalcifer_graphs_-_settings_packages_and_registries_showSetupSuccessAlert_true 172.16.123.1_3000_kalcifer_vue-interpolation-component_-settings_packages_and_registries__3

How to set up and validate locally

  1. Setup container registry

  2. Visit Project > Settings > Packages and registries.

  3. In rails console enable the experiment fully

    Feature.enable(:reorganize_project_level_registry_settings)
  4. To view protected containers, enable the feature flag container_registry_protected_containers

  5. Confirm that Container registry section looks like the one in screenshot & the settings are usable.

Related to #500217 (closed)

Edited by Rahul Chanila

Merge request reports

Merge train pipeline #1590596330 passed

Merge train pipeline passed for 2e7f5147

Merged by Jacques ErasmusJacques Erasmus 3 months ago (Dec 16, 2024 11:42am UTC)

Loading

Pipeline #1590597444 passed

Pipeline passed for d8ff19e9 on master

10 environments impacted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Rahul Chanila changed the description

    changed the description

  • Rahul Chanila changed the description

    changed the description

  • Rahul Chanila changed the description

    changed the description

  • Rahul Chanila
  • Rahul Chanila
  • Rahul Chanila
  • Rahul Chanila
  • Rahul Chanila
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading