Updates container registry project settings
What does this MR do and why?
Third MR to move container registry cleanup policies to a separate page.
This MR deals with updating the settings page to link to the new cleanup image tags page.
Iteration | MR |
---|---|
Adds new route | Adds new route to show cleanup image tag settings (!94988 - merged) |
Copy container cleanup form | Copies container registry cleanup form to new page (!96219 - merged) |
Update settings page to link new route | This MR |
Redirect to settings page when saved or canceled | Adds redirection when cleanup policy is saved (!97085 - merged) |
Screenshots or screen recordings
With cleanup policies disabled
With cleanup policies enabled
Clicking on link should redirect to /cleanup_image_tags
How to set up and validate locally
- Enable container registry in GDK https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md
- Login as admin
- Visit any project.
- Visit Settings > Packages & Registries on the sidebar
- A link to
Set cleanup rules
should be visible as per screenshot above & clicking on the link should take you to/cleanup_image_tags
page - Enable the rules & visit the settings page again
- The link should now read
Edit cleanup rules
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #363426 (closed)
Edited by Rahul Chanila