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:
Robert Speicher 2016-11-18 10:42:39 +00:00
commit ec3b1c6d6e
1 changed files with 1 additions and 4 deletions

View File

@ -4,10 +4,7 @@ namespace :gitlab do
task :ee_compat_check, [:branch] => :environment do |_, args|
opts =
if ENV['CI']
{
branch: ENV['CI_BUILD_REF_NAME'],
ce_repo: ENV['CI_BUILD_REPO']
}
{ branch: ENV['CI_BUILD_REF_NAME'] }
else
unless args[:branch]
puts "Must specify a branch as an argument".color(:red)