Skip to content

Add Releases to GitLab Project Migration

What does this MR do and why?

depends on !85598 (merged)

This MR adds releases to GitLab Project Migration https://docs.gitlab.com/ee/user/group/import/ Whenever a user uses GitLab Migration to move groups and projects, the projects now should migrated releases information.

Screenshots or screen recordings

releasesmigration

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

  1. `Feature.enable(:bulk_imports)
  2. Feature.enable(:bulk_import_projects)
  3. Create a group and a project with a release
  4. Go to 'New Group' creation page and select import group
  5. Enter gitlab credentials of the same instance (personal access token needs write (because of usage of GraphQL API) & read_repository (because we import project repos)
  6. Select newly created group and import it into another namespace
  7. Wait for import to finish and verify imported project releases. They should be present with links and milestone information

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 George Koltsov

Merge request reports