diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-03 09:57:33 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-03 09:59:47 +0200 |
commit | f50d0e4eee57d8eae2758b9118649ba59c487456 (patch) | |
tree | 05c5752c54847fa09232d1eb08062db65d0af14c | |
parent | cb9e00b0a6213f533e5e8e2b46f72e3d3d37ee05 (diff) | |
download | gitlab-ce-f50d0e4eee57d8eae2758b9118649ba59c487456.tar.gz |
Correctly check whether package-and-qa runs for EEfix/qa/gb/use-project-path-in-package-and-qa-action
-rwxr-xr-x | scripts/trigger-build-omnibus | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/trigger-build-omnibus b/scripts/trigger-build-omnibus index 85ea4aa74ac..95f35b44f5a 100755 --- a/scripts/trigger-build-omnibus +++ b/scripts/trigger-build-omnibus @@ -9,6 +9,7 @@ module Omnibus class Trigger TOKEN = ENV['BUILD_TRIGGER_TOKEN'] + TRIGGERER = ENV['CI_PROJECT_NAME'] def initialize @uri = URI("https://gitlab.com/api/v4/projects/#{CGI.escape(Omnibus::PROJECT_PATH)}/trigger/pipeline") @@ -32,7 +33,7 @@ module Omnibus private def ee? - File.exist?('CHANGELOG-EE.md') + TRIGGERER == 'gitlab-ee' || File.exist?('CHANGELOG-EE.md') end def env_params |