summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-11-17 18:39:55 +0100
committerRémy Coutable <remy@rymai.me>2016-11-17 18:39:55 +0100
commit8bacdfb2434d0ac64d3a18bd9f9b19e3596ee19b (patch)
treeb79d128f1a9aaa0add768a452e1c3fe4b66eba85
parent96c1cf2f79ff50925fd8b40eb2e941cfdeeefaac (diff)
downloadgitlab-ce-use-public-repo-url-in-ee_compat_check-task.tar.gz
Use the public CE repo URL instead of the one used in the runneruse-public-repo-url-in-ee_compat_check-task
This will prevent the task to advertise using https://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@gitlab.com/gitlab-org/gitlab-ce.git when https://gitlab.com/gitlab-org/gitlab-ce.git is enough Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--lib/tasks/gitlab/dev.rake5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/tasks/gitlab/dev.rake b/lib/tasks/gitlab/dev.rake
index 3117075b08b..7db0779def8 100644
--- a/lib/tasks/gitlab/dev.rake
+++ b/lib/tasks/gitlab/dev.rake
@@ -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)