Commit a9bd16bd authored by Grzegorz Bizon's avatar Grzegorz Bizon

Rename legacy validation helpers for new ci config

parent 002e6ed1
...@@ -2,7 +2,7 @@ module Ci ...@@ -2,7 +2,7 @@ module Ci
class GitlabCiYamlProcessor class GitlabCiYamlProcessor
class ValidationError < StandardError; end class ValidationError < StandardError; end
include Gitlab::Ci::Config::Node::ValidationHelpers include Gitlab::Ci::Config::Node::LegacyValidationHelpers
DEFAULT_STAGES = %w(build test deploy) DEFAULT_STAGES = %w(build test deploy)
DEFAULT_STAGE = 'test' DEFAULT_STAGE = 'test'
......
...@@ -2,7 +2,7 @@ module Gitlab ...@@ -2,7 +2,7 @@ module Gitlab
module Ci module Ci
class Config class Config
module Node module Node
module ValidationHelpers module LegacyValidationHelpers
private private
def validate_duration(value) def validate_duration(value)
......
...@@ -14,7 +14,7 @@ module Gitlab ...@@ -14,7 +14,7 @@ module Gitlab
include Validatable include Validatable
validations do validations do
include ValidationHelpers include LegacyValidationHelpers
validate :array_of_strings validate :array_of_strings
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment