Resolve "GitLab Migration - Migrate Repositories with Projects"
What does this MR do and why?
This feature is part of the new Project Migration feature which directly migrates projects between Gitlab instances. It is currently enabled with the bulk_import_projects feature flag. This MR adds repository migration to any existing project migration, including tags and branches
Screenshots or screen recordings
How to set up and validate locally
Feature.enable(:bulk_import)Feature.enable(:bulk_import_projects)- Create a top level group and project in it
- Create a commit in new project
- Go to
/groups/new#import-group-panepage and enter instance url and access token (needs to beapiandread_repositoryscope) - Select newly created group and click Import
- Wait for Group import to complete and verify imported project's repository and git commits
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 #267945 (closed)
Edited by Allen Cook
