Commit 0498450a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix/qa/gb/use-project-path-in-package-and-qa-action-ee' into 'master'

Use project path in package-and-qa to fetch script

See merge request gitlab-org/gitlab-ee!5204
parents 2b3661a1 0fc1c412
......@@ -329,7 +329,7 @@ package-and-qa:
# package-and-qa job will not be able to run when the branch gets
# deleted (when merging the MR).
- apk add --update openssl
- wget https://gitlab.com/gitlab-org/gitlab-ce/raw/$CI_COMMIT_SHA/scripts/trigger-build-omnibus
- wget https://gitlab.com/$CI_PROJECT_PATH/raw/$CI_COMMIT_SHA/scripts/trigger-build-omnibus
- chmod 755 trigger-build-omnibus
script:
- ./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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment