2016-09-13 17:45:13 +05:30
|
|
|
module Gitlab
|
|
|
|
module Ci
|
|
|
|
class Config
|
2017-08-17 22:00:37 +05:30
|
|
|
module Entry
|
2016-09-13 17:45:13 +05:30
|
|
|
##
|
2017-08-17 22:00:37 +05:30
|
|
|
# Entry that represents a hidden CI/CD key.
|
2016-09-13 17:45:13 +05:30
|
|
|
#
|
2017-08-17 22:00:37 +05:30
|
|
|
class Hidden < Node
|
2016-09-13 17:45:13 +05:30
|
|
|
include Validatable
|
|
|
|
|
|
|
|
validations do
|
|
|
|
validates :config, presence: true
|
|
|
|
end
|
|
|
|
|
|
|
|
def relevant?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|