提交 7450fe78 编写于 作者: G Grzegorz Bizon

Change name of the class that with pipeline seeds

上级 c3ce005e
class Gitlab::Seeder::Builds
class Gitlab::Seeder::Pipelines
STAGES = %w[build test deploy notify]
BUILDS = [
{ name: 'build:linux', stage: 'build', status: :success },
......@@ -148,7 +148,7 @@ end
Gitlab::Seeder.quiet do
Project.all.sample(5).each do |project|
project_builds = Gitlab::Seeder::Builds.new(project)
project_builds = Gitlab::Seeder::Pipelines.new(project)
project_builds.seed!
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册