diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-09-07 21:53:28 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-09-07 21:54:27 +0300 |
commit | 5f33690ebbe19dd8698bf8b432a5e6740305f007 (patch) | |
tree | 0f9714da4c8a8b2e70144df8967688550302efff /lib/gitlab/ci/config.rb | |
parent | c3e33f06c2920a9f032ee8166cccf8423bd24b78 (diff) |
Load external files in config
CE mirror of 8e03a6619be44fdaf19a6c13284ea8e51377b311
Diffstat (limited to 'lib/gitlab/ci/config.rb')
-rw-r--r-- | lib/gitlab/ci/config.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/gitlab/ci/config.rb b/lib/gitlab/ci/config.rb index 46dad59eb8c..94b2fbc082b 100644 --- a/lib/gitlab/ci/config.rb +++ b/lib/gitlab/ci/config.rb @@ -1,15 +1,17 @@ module Gitlab module Ci - ## + # # Base GitLab CI Configuration facade # class Config ConfigError = Class.new(StandardError) def initialize(config, opts = {}) - @config = Config::Extendable + initial_config = Config::Extendable .new(build_config(config, opts)) .to_hash + processor = ::Gitlab::Ci::ExternalFiles::Processor.new(initial_config) + @config = processor.perform @global = Entry::Global.new(@config) @global.compose! |