gitlab-org--gitlab-foss/lib/gitlab/ci/config/node/global.rb

25 lines
645 B
Ruby
Raw Normal View History

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.'
allow_node :image, Image,
description: 'Docker image that will be used to execute jobs.'
allow_node :services, Services,
description: 'Docker images that will be linked to the container.'
end
end
end
end
end