Do not mirror protected tags restricted for a creation
What does this MR do and why?
- Contributes to #321611 (closed)
- Feature flag: #352494 (closed)
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
- Enable FF
Feature.enable(:verify_protected_tags_for_pull_mirror) - 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Vasilii Iakliushin