diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-26 12:53:50 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-26 12:53:50 +0300 |
commit | fa3fb23fb18ddea694ea54013059178fe7892c91 (patch) | |
tree | 8292933bbc0b375cc67f75115c54f8790cc4e4e8 /app/services/ci/create_pipeline_service.rb | |
parent | 609fa45f0ed273414eac2798f76daf088e287b30 (diff) |
Move pipeline builder validation chain to a module
Diffstat (limited to 'app/services/ci/create_pipeline_service.rb')
-rw-r--r-- | app/services/ci/create_pipeline_service.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/services/ci/create_pipeline_service.rb b/app/services/ci/create_pipeline_service.rb index ecf9be6600c..0bf38776afc 100644 --- a/app/services/ci/create_pipeline_service.rb +++ b/app/services/ci/create_pipeline_service.rb @@ -2,9 +2,9 @@ module Ci class CreatePipelineService < BaseService attr_reader :pipeline - SEQUENCE = [Gitlab::Ci::Pipeline::Chain::ValidateAbilities, - Gitlab::Ci::Pipeline::Chain::ValidateRepository, - Gitlab::Ci::Pipeline::Chain::ValidateConfig, + SEQUENCE = [Gitlab::Ci::Pipeline::Chain::Validate::Abilities, + Gitlab::Ci::Pipeline::Chain::Validate::Repository, + Gitlab::Ci::Pipeline::Chain::Validate::Config, Gitlab::Ci::Pipeline::Chain::Skip, Gitlab::Ci::Pipeline::Chain::Create].freeze |