Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stage.rb « node « config « ci « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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