Use gitaly repository_service.CreateRepositoryFromBundle to restore (rake task)
What does this MR do?
Ports the repository:restore
task to use gitaly instead of relying on having the repository storage on an accessible file system.
Why was this MR needed?
Closes: https://gitlab.com/charts/gitlab/issues/390 needed for restoring from omnibus backup to a cloud native installation
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added -
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend -
Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together -
Internationalization required/considered -
End-to-end tests pass ( package-and-qa
manual pipeline job)
What are the relevant issue numbers?
gitaly#749 (closed) https://gitlab.com/charts/gitlab/issues/390 https://gitlab.com/charts/helm.gitlab.io/issues/28
Edited by Ahmad Hassan