Refactored and fixed seeds to work with gitlab-shell
This commit is contained in:
parent
152f87864c
commit
38985390b0
11 changed files with 14 additions and 24 deletions
20
db/fixtures/development/04_project.rb
Normal file
20
db/fixtures/development/04_project.rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
Project.seed(:id, [
|
||||
|
||||
# Global
|
||||
{ id: 1, name: "Underscore.js", path: "underscore", creator_id: 1 },
|
||||
{ id: 2, name: "Diaspora", path: "diaspora", creator_id: 1 },
|
||||
|
||||
# Brightbox
|
||||
{ id: 3, namespace_id: 100, name: "Brightbox CLI", path: "brightbox-cli", creator_id: 1 },
|
||||
{ id: 4, namespace_id: 100, name: "Puppet", path: "puppet", creator_id: 1 },
|
||||
|
||||
# KDE
|
||||
{ id: 5, namespace_id: 101, name: "kdebase", path: "kdebase", creator_id: 1},
|
||||
{ id: 6, namespace_id: 101, name: "kdelibs", path: "kdelibs", creator_id: 1},
|
||||
{ id: 7, namespace_id: 101, name: "amarok", path: "amarok", creator_id: 1},
|
||||
|
||||
# GitLab
|
||||
{ id: 8, namespace_id: 99, name: "gitlabhq", path: "gitlabhq", creator_id: 1},
|
||||
{ id: 9, namespace_id: 99, name: "gitlab-ci", path: "gitlab-ci", creator_id: 1},
|
||||
{ id: 10, namespace_id: 99, name: "gitlab-recipes", path: "gitlab-recipes", creator_id: 1},
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue