diff options
author | Rémy Coutable <remy@rymai.me> | 2016-06-27 08:24:17 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-06-27 08:24:17 +0000 |
commit | a9dbd394a60de76ffd9f5773560c8e9126751d91 (patch) | |
tree | 9b65e62ca6b46f0bce1d23d5c405d07c3868094b /lib/ci | |
parent | 030db5c33e5433e4f27e1ea8c9e32729e79e4e95 (diff) | |
parent | 9510d31b4dd5955af2941a20a09d2dff6a55249a (diff) | |
download | gitlab-ce-a9dbd394a60de76ffd9f5773560c8e9126751d91.tar.gz |
Merge branch 'refactor/ci-config-add-entry-error' into 'master'
Improve validations and error handling in new CI config entries
## What does this MR do?
This MR improves validation in new CI config.
## Why was this MR needed?
With that it will be easier to handle errors during validation and post-processing.
## What are the relevant issue numbers?
This is a continuation of #15060
See merge request !4560
Diffstat (limited to 'lib/ci')
-rw-r--r-- | lib/ci/gitlab_ci_yaml_processor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb index ed86de819eb..c52d4d63382 100644 --- a/lib/ci/gitlab_ci_yaml_processor.rb +++ b/lib/ci/gitlab_ci_yaml_processor.rb @@ -2,7 +2,7 @@ module Ci class GitlabCiYamlProcessor class ValidationError < StandardError; end - include Gitlab::Ci::Config::Node::ValidationHelpers + include Gitlab::Ci::Config::Node::LegacyValidationHelpers DEFAULT_STAGES = %w(build test deploy) DEFAULT_STAGE = 'test' |