summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/config/node/stage.rb
blob: cbc97641f5a8816aa24441f93400a6b162d1966b (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 stage for a job.
        #
        class Stage < Entry
          include Validatable

          validations do
            validates :config, type: String
          end

          def self.default
            'test'
          end
        end
      end
    end
  end
end