Skip to content

Adds info alert about cleanup policy regexp anchors

What does this MR do and why?

Adds info alert about cleanup policy regexp anchors

During the conversations around #466239 (closed), we realized that we didn't know that \A and \Z anchors were automatically added to the input keep and remove regexp patterns for the cleanup policies settings. This behaviour is documented, but also highlighted in Make note about cleanup policy regexp anchors m... (!155753 - merged).

This MR adds the same on the UI.

Changelog: changed

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.

Before After
172.16.123.1_3000_kalcifer_registry-test_-settings_packages_and_registries_cleanup_image_tags__1 172.16.123.1_3000_kalcifer_registry-test_-_settings_packages_and_registries_cleanup_image_tags

How to set up and validate locally

  1. Visit Project > Settings > Packages & Registries
  2. Click on Set cleanup rules
  3. Confirm that alert is visible

Closes #466252 (closed)

Edited by Rahul Chanila

Merge request reports