2016-06-16 23:09:34 +05:30
|
|
|
module Gitlab
|
|
|
|
module Ci
|
|
|
|
class Config
|
2017-08-17 22:00:37 +05:30
|
|
|
module Entry
|
2016-06-16 23:09:34 +05:30
|
|
|
##
|
|
|
|
# Entry that represents a script.
|
|
|
|
#
|
2017-08-17 22:00:37 +05:30
|
|
|
class Script < Node
|
2016-08-24 12:49:21 +05:30
|
|
|
include Validatable
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
validations do
|
|
|
|
validates :config, array_of_strings: true
|
2016-06-16 23:09:34 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|