Commit 9fd2927b authored by Stan Hu's avatar Stan Hu

Skip project repository disk validation in development project seeder

When seeding the GDK with new projects, it's very common to reuse
the same repository names on disk. Previously, the validation would
fail and leave the projects in a half-broken state. We can skip
the validation to avoid causing odd errors.

Closes gitlab-org/gitlab-development-kit#310
parent 3d0982e1
......@@ -63,7 +63,8 @@ Sidekiq::Testing.inline! do
namespace_id: group.id,
name: project_path.titleize,
description: FFaker::Lorem.sentence,
visibility_level: Gitlab::VisibilityLevel.values.sample
visibility_level: Gitlab::VisibilityLevel.values.sample,
skip_disk_validation: true
}
project = Projects::CreateService.new(User.first, params).execute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment