mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-16 15:57:22 +00:00
Set EE variable
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user