Rename legacy validation helpers for new ci config

This commit is contained in:
Grzegorz Bizon 2016-06-17 11:55:55 +02:00
parent 002e6ed1f0
commit a9bd16bd0a
3 changed files with 3 additions and 3 deletions

View file

@ -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'

View file

@ -2,7 +2,7 @@ module Gitlab
module Ci
class Config
module Node
module ValidationHelpers
module LegacyValidationHelpers
private
def validate_duration(value)

View file

@ -14,7 +14,7 @@ module Gitlab
include Validatable
validations do
include ValidationHelpers
include LegacyValidationHelpers
validate :array_of_strings