Set EE variable

This commit is contained in:
Balasankar C 2017-12-01 10:57:12 +05:30
parent 3b6fba728f
commit c9fd438080
1 changed files with 5 additions and 1 deletions

View File

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