diff options
author | Balasankar C <balasankar@gitlab.com> | 2017-12-01 10:57:12 +0530 |
---|---|---|
committer | Balasankar C <balasankar@gitlab.com> | 2017-12-01 10:57:12 +0530 |
commit | c9fd4380807ec23f0f7f91ea0f97c149ed502cd8 (patch) | |
tree | fdbf6407f0096f7f22c15bcaf7c24be12ece0711 /scripts | |
parent | 3b6fba728fdef4b1824dcfc33539e696e4f17cf5 (diff) | |
download | gitlab-ce-c9fd4380807ec23f0f7f91ea0f97c149ed502cd8.tar.gz |
Set EE variableset-ee-variable-in-trigger
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/trigger-build-omnibus | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/trigger-build-omnibus b/scripts/trigger-build-omnibus index 0c662ac19d2..3c5c22c9372 100755 --- a/scripts/trigger-build-omnibus +++ b/scripts/trigger-build-omnibus @@ -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 |