diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-26 08:35:19 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-26 08:35:19 +0000 |
commit | 6b2eb865caccdac326e97951078494c3dff6c46e (patch) | |
tree | d15262267436edb18a3608f9f18695cf7b73024a /lib | |
parent | 928e45e7d3ac34d4b98bf0d8d57ca6c33e1e924f (diff) | |
parent | d3ea3940c014f8ca37cbb8711be0b53f6e645f81 (diff) | |
download | gitlab-ce-6b2eb865caccdac326e97951078494c3dff6c46e.tar.gz |
Merge branch 'performance/gb/improve-pipeline-creation-service' into 'master'
Improve pipeline creation service performance
Closes #37987
See merge request gitlab-org/gitlab-ce!18582
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/pipeline/chain/populate.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/ci/pipeline/chain/populate.rb b/lib/gitlab/ci/pipeline/chain/populate.rb index d299a5677de..69b8a8fc68f 100644 --- a/lib/gitlab/ci/pipeline/chain/populate.rb +++ b/lib/gitlab/ci/pipeline/chain/populate.rb @@ -14,14 +14,10 @@ module Gitlab @command.seeds_block&.call(pipeline) ## - # Populate pipeline with all stages and builds from pipeline seeds. + # Populate pipeline with all stages, and stages with builds. # pipeline.stage_seeds.each do |stage| pipeline.stages << stage.to_resource - - stage.seeds.each do |build| - pipeline.builds << build.to_resource - end end if pipeline.stages.none? |