Skip to content
Snippets Groups Projects

Allow strings and nested arrays of strings for before/after script

12 files
+ 25
196
Compare changes
  • Side-by-side
  • Inline
Files
12
@@ -21,7 +21,7 @@ class Default < ::Gitlab::Config::Entry::Node
validates :config, allowed_keys: ALLOWED_KEYS
end
entry :before_script, Entry::Script,
entry :before_script, Entry::Commands,
description: 'Script that will be executed before each job.',
inherit: true
@@ -33,7 +33,7 @@ class Default < ::Gitlab::Config::Entry::Node
description: 'Docker images that will be linked to the container.',
inherit: true
entry :after_script, Entry::Script,
entry :after_script, Entry::Commands,
description: 'Script that will be executed after each job.',
inherit: true
Loading