Commit 7450fe78 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Change name of the class that with pipeline seeds

parent c3ce005e
class Gitlab::Seeder::Builds class Gitlab::Seeder::Pipelines
STAGES = %w[build test deploy notify] STAGES = %w[build test deploy notify]
BUILDS = [ BUILDS = [
{ name: 'build:linux', stage: 'build', status: :success }, { name: 'build:linux', stage: 'build', status: :success },
...@@ -148,7 +148,7 @@ end ...@@ -148,7 +148,7 @@ end
Gitlab::Seeder.quiet do Gitlab::Seeder.quiet do
Project.all.sample(5).each do |project| Project.all.sample(5).each do |project|
project_builds = Gitlab::Seeder::Builds.new(project) project_builds = Gitlab::Seeder::Pipelines.new(project)
project_builds.seed! project_builds.seed!
end end
end end
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