Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-01-06 00:25:24 +0300
committerStan Hu <stanhu@gmail.com>2018-01-06 00:25:24 +0300
commitaa4a335f4a5768e8ddf0444f42cd8927a738b4d5 (patch)
treebfaa0325d1457e5570bc7f64d908a4201bf4daad /db
parentbce886b776ad9dd95846f71a67199ad4fe9b7ead (diff)
parent9fd2927bba318cb8b8c0bce6ea6e86867fdaeecb (diff)
Merge branch 'sh-reuse-disk-repositories-seeder' into 'master'
Skip project repository disk validation in development project seeder Closes gitlab-development-kit#310 See merge request gitlab-org/gitlab-ce!16257
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/04_project.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/fixtures/development/04_project.rb b/db/fixtures/development/04_project.rb
index 1f8f5cfc82b..213c8bca639 100644
--- a/db/fixtures/development/04_project.rb
+++ b/db/fixtures/development/04_project.rb
@@ -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