summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/config/node/global.rb
blob: 044603423d51d5489b6a3e644b300b7c65683d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module Gitlab
  module Ci
    class Config
      module Node
        ##
        # This class represents a global entry - root node for entire
        # GitLab CI Configuration file.
        #
        class Global < Entry
          include Configurable

          allow_node :before_script, Script,
            description: 'Script that will be executed before each job.'
        end
      end
    end
  end
end