debian-mirror-gitlab/lib/gitlab/ci/config/entry/stages.rb
2017-08-17 22:00:37 +05:30

22 lines
420 B
Ruby

module Gitlab
module Ci
class Config
module Entry
##
# Entry that represents a configuration for pipeline stages.
#
class Stages < Node
include Validatable
validations do
validates :config, array_of_strings: true
end
def self.default
%w[build test deploy]
end
end
end
end
end
end