Merge branch 'use-public-repo-url-in-ee_compat_check-task' into 'master'
Use the public CE repo URL instead of the one used in the runner See the commit message to understand the reason of this change. See merge request !7555
This commit is contained in:
commit
ec3b1c6d6e
|
@ -4,10 +4,7 @@ namespace :gitlab do
|
||||||
task :ee_compat_check, [:branch] => :environment do |_, args|
|
task :ee_compat_check, [:branch] => :environment do |_, args|
|
||||||
opts =
|
opts =
|
||||||
if ENV['CI']
|
if ENV['CI']
|
||||||
{
|
{ branch: ENV['CI_BUILD_REF_NAME'] }
|
||||||
branch: ENV['CI_BUILD_REF_NAME'],
|
|
||||||
ce_repo: ENV['CI_BUILD_REPO']
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
unless args[:branch]
|
unless args[:branch]
|
||||||
puts "Must specify a branch as an argument".color(:red)
|
puts "Must specify a branch as an argument".color(:red)
|
||||||
|
|
Loading…
Reference in New Issue