提交 451b684d 编写于 作者: S Shinya Maeda

Use source instead of trigger_requests in stage_seeds

上级 835f97a7
......@@ -51,11 +51,9 @@ module Ci
end
def stage_seeds(pipeline)
trigger_request = pipeline.trigger_requests.first
seeds = @stages.uniq.map do |stage|
builds = builds_for_stage_and_ref(
stage, pipeline.ref, pipeline.tag?, trigger_request)
stage, pipeline.ref, pipeline.tag?, pipeline.source)
Gitlab::Ci::Stage::Seed.new(pipeline, stage, builds) if builds.any?
end
......
......@@ -49,8 +49,7 @@ module Gitlab
end
def self.enabled?
# Gitlab.config.gitaly.enabled
false
Gitlab.config.gitaly.enabled
end
def self.feature_enabled?(feature, status: MigrationStatus::OPT_IN)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册