summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-25 08:32:48 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-25 08:32:48 +0200
commitbcc008c6023e095c05b65304b2f6646a8f9d3da3 (patch)
tree6a621dd2a6d39a612f399eda0f6b7c5c475087c8
parent117366ef37ed2a05d2db4c5c2cee836b582edbea (diff)
downloadgitlab-ci-bcc008c6023e095c05b65304b2f6646a8f9d3da3.tar.gz
Remove seeds since they are useless
-rw-r--r--db/seeds.rb42
1 files changed, 0 insertions, 42 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index 3189b13..e69de29 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -1,42 +0,0 @@
-require 'fileutils'
-
-if Rails.env == 'development'
- puts 'Creating projets with builds '
-
- project = FactoryGirl.create :project,
- name: "Six",
- gitlab_url: 'https://dev.gitlab.org/gitlab/six',
- scripts: 'bundle exec rspec spec'
-
-
- push_data = {
- "before" => "1c8a9df454ef68c22c2a33cca8232bb50849e5c5",
- "after" => "2e008a711430a16092cd6a20c225807cb3f51db7",
- "ref" => "refs/heads/master",
- "user_id" => 1,
- "user_name" => "Dmitriy Zaporozhets",
- "repository" => {
- "name" => "six",
- "url" => "git@dev.gitlab.org:gitlab/six.git",
- "description" => "",
- "homepage" => "https://dev.gitlab.org/gitlab/six"
- },
- "commits" => [
- {
- "id" => "2e008a711430a16092cd6a20c225807cb3f51db7",
- "message" => "Added codeclimate badge",
- "timestamp" => "2012-10-10T09:11:19+00:00",
- "url" => "https://dev.gitlab.org/gitlab/six/commit/2e008a711430a16092cd6a20c225807cb3f51db7",
- "author" => {
- "name" => "Dmitriy Zaporozhets",
- "email" => "dmitriy.zaporozhets@gmail.com"
- }
- }
- ],
- "total_commits_count" => 1
- }
-
- 10.times do
- build = project.register_build(HashWithIndifferentAccess.new(push_data))
- end
-end