Rename legacy validation helpers for new ci config
This commit is contained in:
parent
002e6ed1f0
commit
a9bd16bd0a
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue