summaryrefslogtreecommitdiff
path: root/lib/ci
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-12-14 22:38:40 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-12-15 17:05:53 +0800
commit05bc71c856c735fa364e15db62ba5d40cfd7c5ef (patch)
tree319a6aadfda6b3867df342ed5f9565101d9f3dcb /lib/ci
parent3e90aa1119fc4c77e92e6492f1906f252d90b64e (diff)
downloadgitlab-ce-05bc71c856c735fa364e15db62ba5d40cfd7c5ef.tar.gz
Convert CI YAML variables keys into strings
So that this would be more consistent with the other variables, which all of them are string based. Closes #25554
Diffstat (limited to 'lib/ci')
-rw-r--r--lib/ci/gitlab_ci_yaml_processor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb
index fef652cb975..8806a506ffa 100644
--- a/lib/ci/gitlab_ci_yaml_processor.rb
+++ b/lib/ci/gitlab_ci_yaml_processor.rb
@@ -118,7 +118,7 @@ module Ci
.merge(job_variables(name))
variables.map do |key, value|
- { key: key, value: value, public: true }
+ { key: key.to_s, value: value.to_s, public: true }
end
end