Skip to content
Snippets Groups Projects
Commit 3dec6e26 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Rename method that returns global envs in CI conf

parent b7946b50
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -372,7 +372,7 @@ module Ci
 
def global_yaml_variables
if commit.config_processor
commit.config_processor.variables.map do |key, value|
commit.config_processor.global_variables.map do |key, value|
{ key: key, value: value, public: true }
end
else
Loading
Loading
Loading
Loading
@@ -40,7 +40,7 @@ module Ci
@stages || DEFAULT_STAGES
end
 
def variables
def global_variables
@variables
end
 
Loading
Loading
Loading
Loading
@@ -359,7 +359,7 @@ module Ci
})
 
config_processor = GitlabCiYamlProcessor.new(config, path)
expect(config_processor.variables).to eq(variables)
expect(config_processor.global_variables).to eq(variables)
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment