BigW Consortium Gitlab

Commit a9bd16bd by Grzegorz Bizon

Rename legacy validation helpers for new ci config

parent 002e6ed1
......@@ -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'
......
......@@ -2,7 +2,7 @@ module Gitlab
module Ci
class Config
module Node
module ValidationHelpers
module LegacyValidationHelpers
private
def validate_duration(value)
......
......@@ -14,7 +14,7 @@ module Gitlab
include Validatable
validations do
include ValidationHelpers
include LegacyValidationHelpers
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