Commit d68ddc83 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch '37987-speed-up-pipeline-creation' into 'master'

Speed Up Pipeline Creation

See merge request gitlab-org/gitlab-ce!17443
parents 4718f22f e3507c92
Pipeline #19312683 passed with stages
in 36 minutes and 38 seconds
......@@ -14,7 +14,7 @@ module Ci
has_many :stages
has_many :statuses, class_name: 'CommitStatus', foreign_key: :commit_id, inverse_of: :pipeline
has_many :builds, foreign_key: :commit_id
has_many :builds, foreign_key: :commit_id, inverse_of: :pipeline
has_many :trigger_requests, dependent: :destroy, foreign_key: :commit_id # rubocop:disable Cop/ActiveRecordDependent
has_many :variables, class_name: 'Ci::PipelineVariable'
......@@ -9,6 +9,8 @@ describe Ci::ProcessPipelineService, '#execute' do
before do
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