Set EE variable

This commit is contained in:
Balasankar C 2017-12-01 10:57:12 +05:30
parent 3b6fba728f
commit c9fd438080

View file

@ -30,12 +30,16 @@ module Omnibus
private private
def ee?
File.exist?('CHANGELOG-EE.md')
end
def env_params def env_params
{ {
"ref" => ENV["OMNIBUS_BRANCH"] || "master", "ref" => ENV["OMNIBUS_BRANCH"] || "master",
"variables[GITLAB_VERSION]" => ENV["CI_COMMIT_SHA"], "variables[GITLAB_VERSION]" => ENV["CI_COMMIT_SHA"],
"variables[ALTERNATIVE_SOURCES]" => true, "variables[ALTERNATIVE_SOURCES]" => true,
"variables[ee]" => ENV["EE_PACKAGE"] || "false" "variables[ee]" => ee? ? 'true' : 'false'
} }
end end