Do not mirror protected tags restricted for a creation

What does this MR do and why?

Problem

We don't verify that mirrored tags can be created in the new repository. That can violate protected tags creation rules.

Solution

Verify that mirrored tags can be created in the new repository. If they cannot, then we delete them.

How to set up and validate locally

  1. Enable FF Feature.enable(:verify_protected_tags_for_pull_mirror)
  2. Follow steps from the report: #321611 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vasilii Iakliushin

Merge request reports

Loading