22 lines
376 B
Ruby
22 lines
376 B
Ruby
module Gitlab
|
|
module Ci
|
|
class Config
|
|
module Entry
|
|
##
|
|
# Entry that represents a stage for a job.
|
|
#
|
|
class Stage < Node
|
|
include Validatable
|
|
|
|
validations do
|
|
validates :config, type: String
|
|
end
|
|
|
|
def self.default
|
|
'test'
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|