Commit 7ef11ce3 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Explicitly define entry node class in new CI config

parent c8c930f3
...@@ -8,13 +8,13 @@ module Gitlab ...@@ -8,13 +8,13 @@ module Gitlab
class Cache < Entry class Cache < Entry
include Configurable include Configurable
node :key, Key, node :key, Node::Key,
description: 'Cache key used to define a cache affinity.' description: 'Cache key used to define a cache affinity.'
node :untracked, Boolean, node :untracked, Node::Boolean,
description: 'Cache all untracked files.' description: 'Cache all untracked files.'
node :paths, Paths, node :paths, Node::Paths,
description: 'Specify which paths should be cached across builds.' description: 'Specify which paths should be cached across builds.'
validations do validations do
......
...@@ -9,28 +9,28 @@ module Gitlab ...@@ -9,28 +9,28 @@ module Gitlab
class Global < Entry class Global < Entry
include Configurable include Configurable
node :before_script, Script, node :before_script, Node::Script,
description: 'Script that will be executed before each job.' description: 'Script that will be executed before each job.'
node :image, Image, node :image, Node::Image,
description: 'Docker image that will be used to execute jobs.' description: 'Docker image that will be used to execute jobs.'
node :services, Services, node :services, Node::Services,
description: 'Docker images that will be linked to the container.' description: 'Docker images that will be linked to the container.'
node :after_script, Script, node :after_script, Node::Script,
description: 'Script that will be executed after each job.' description: 'Script that will be executed after each job.'
node :variables, Variables, node :variables, Node::Variables,
description: 'Environment variables that will be used.' description: 'Environment variables that will be used.'
node :stages, Stages, node :stages, Node::Stages,
description: 'Configuration of stages for this pipeline.' description: 'Configuration of stages for this pipeline.'
node :types, Stages, node :types, Node::Stages,
description: 'Stages for this pipeline (deprecated key).' description: 'Stages for this pipeline (deprecated key).'
node :cache, Cache, node :cache, Node::Cache,
description: 'Configure caching between build jobs.' description: 'Configure caching between build jobs.'
helpers :before_script, :image, :services, :after_script, helpers :before_script, :image, :services, :after_script,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment