Set EE variable
This commit is contained in:
parent
3b6fba728f
commit
c9fd438080
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue