Skip to content
Snippets Groups Projects
Commit d68ddc83 authored by Kamil Trzcińśki's avatar Kamil Trzcińśki
Browse files

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

Speed Up Pipeline Creation

See merge request gitlab-org/gitlab-ce!17443
parents 4718f22f e3507c92
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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'
 
Loading
Loading
Loading
Loading
@@ -9,6 +9,8 @@ describe Ci::ProcessPipelineService, '#execute' do
end
 
before do
stub_ci_pipeline_to_return_yaml_file
stub_not_protect_default_branch
 
project.add_developer(user)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment