diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-17 18:39:55 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-17 18:39:55 +0100 |
commit | 8bacdfb2434d0ac64d3a18bd9f9b19e3596ee19b (patch) | |
tree | b79d128f1a9aaa0add768a452e1c3fe4b66eba85 | |
parent | 96c1cf2f79ff50925fd8b40eb2e941cfdeeefaac (diff) | |
download | gitlab-ce-8bacdfb2434d0ac64d3a18bd9f9b19e3596ee19b.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.rake | 5 |
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) |