Ignore Repository::AmbiguousRefError in db/fixtures/development

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2019-01-14 18:49:26 +01:00
parent 8285205815
commit 0130ff0baf
No known key found for this signature in database
GPG key ID: 98DFFD1C0C62B70B

View file

@ -27,6 +27,9 @@ Gitlab::Seeder.quiet do
Sidekiq::Worker.skipping_transaction_check do
MergeRequests::CreateService.new(project, developer, params).execute
rescue Repository::AmbiguousRefError
# Ignore pipelines creation errors for now, we can doing that after
# https://gitlab.com/gitlab-org/gitlab-ce/issues/55966. will be resolved.
end
print '.'
end