Investigate: Set default cleanup policies for your group

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Do you find the cleanup policies for tags to be a useful feature, but you don't like having to fill in the same regex in every project? Do you wish you had an easy way to set a default cleanup policy for your entire group? Look no further. This issue proposes adding a group setting that will allow you to define a default regex pattern to determine which images should be kept and/or removed. This pattern will then be inherited by every project within your group. Of course, project members can still adjust the policy if they'd like, but at least as an Admin, you don't have to do this for every project.

Problem to solve

For organizations that use the cleanup policy for tags, they may have one default policy that they'd like to roll out for their entire group. Currently, they'd have to go into each project, either in the UI or with the API, and define the regex for preserving/removing images. This is inefficient and error-prone.

Proposal

Add a new group setting that allows Admin to define the default regex rules for cleanup policies that can then be inherited by each project within the group.

Edited by 🤖 GitLab Bot 🤖