Ensure to remove reposity folder when import fails
To reduce the number of `9:CreateRepositoryFromBundle: target directory is non-empty` errors when retrying a import job, the repository folder will be removed when the import fails. Related to: - https://sentry.gitlab.net/gitlab/gitlabcom/issues/1560601/ - https://gitlab.com/gitlab-org/gitlab/-/issues/216075 - https://gitlab.com/gitlab-org/gitlab/-/issues/24806
Showing
Please register or sign in to comment