Commit graph

13 commits

Author SHA1 Message Date
Jacob Vosmaer
6ee0acbc55 Use File.join in DeleteAllRepositories test 2018-06-01 13:54:34 +02:00
Jacob Vosmaer (GitLab)
b529d04b69 Use Gitaly's DeleteAllRepositories RPC during backup restore 2018-05-28 09:58:14 +00:00
Douwe Maan
ba58a66a55 Merge branch 'migrate-restore-repo-to-gitaly' into 'master'
Use gitaly repository_service.CreateRepositoryFromBundle to restore (rake task)

Closes charts/gitlab#390

See merge request gitlab-org/gitlab-ce!18644
2018-05-24 18:28:23 +00:00
Stan Hu
e6fca03bbd Fix backup creation and restore for specific Rake tasks 2018-05-24 14:58:25 +00:00
Ahmad Hassan
7ea4a42395 Fix failing specs 2018-05-16 17:17:05 +03:00
Zeger-Jan van de Weg
92482e01b4
Bump Gitaly to 0.98.0
Hooks were run for wikis, but given the internal API wasn't responding
failures happended, as seen on:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18693
2018-05-07 14:10:04 +02:00
Bob Van Landuyt
e3ff928c75 Describe workaround when restore fails because of Errno::EBUSY
When `Errno::EBUSY` is raised during restore, this could indicate that
the directory being restored into is a mountpoint. In this case we
explain the user how to retry the restore.
2018-04-23 17:24:29 +02:00
Balasankar "Balu" C
c0ef9958ff Add basic tests 2018-03-30 11:38:36 +05:30
Balasankar "Balu" C
8785f23795 Move existing dirs to a temp location while restore
Instead of renaming existing storage directories to a timestamped
format, create a timestamped directory in a temporary location and move
the individual files and folders inside storage directories to it. This
helps us with nested storage directories.
2018-03-30 11:38:36 +05:30
Jacob Vosmaer
008a6a6ce6 Route path lookups through legacy_disk_path 2018-03-21 18:18:32 +01:00
Stan Hu
94dc43f37c Clean up backup/restore temporary directory 2018-03-02 13:21:07 -08:00
Nick Thomas
6b0c6e69e1
Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
Zeger-Jan van de Weg
03ac8d5d0b Remove Rugged::Repository#empty? 2017-12-07 15:33:30 +00:00