summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/config/node/hidden.rb
blob: fe4ee8a7fc6f33bfa5ff8951238d9e2f2edcd900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module Gitlab
  module Ci
    class Config
      module Node
        ##
        # Entry that represents a hidden CI/CD job.
        #
        class Hidden < Entry
          include Validatable

          validations do
            validates :config, presence: true
          end

          def relevant?
            false
          end
        end
      end
    end
  end
end