24 lines
421 B
Ruby
24 lines
421 B
Ruby
|
module Gitlab
|
||
|
module Ci
|
||
|
class Config
|
||
|
module Node
|
||
|
##
|
||
|
# Entry that represents a hidden CI/CD job.
|
||
|
#
|
||
|
class HiddenJob < Entry
|
||
|
include Validatable
|
||
|
|
||
|
validations do
|
||
|
validates :config, type: Hash
|
||
|
validates :config, presence: true
|
||
|
end
|
||
|
|
||
|
def relevant?
|
||
|
false
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|