diff options
author | Rémy Coutable <remy@rymai.me> | 2017-10-17 16:12:00 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-10-18 15:10:31 +0200 |
commit | a5cc1c261371b501791fc250801503f64b47fb90 (patch) | |
tree | fb84533b00dcdb307341519a25c9c4a91af042a3 /lib | |
parent | 4733570c3d710f3124718fa1173f3068eb932281 (diff) | |
download | gitlab-ce-a5cc1c261371b501791fc250801503f64b47fb90.tar.gz |
Improve the gitlab:dev:ee_compat_check task to pass a repo URL without credentials39237-fix-ee_compat_check
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/dev.rake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/dev.rake b/lib/tasks/gitlab/dev.rake index b4d05f5995a..930b4bc13e2 100644 --- a/lib/tasks/gitlab/dev.rake +++ b/lib/tasks/gitlab/dev.rake @@ -5,7 +5,9 @@ namespace :gitlab do opts = if ENV['CI'] { - ce_repo: ENV['CI_REPOSITORY_URL'], + # We don't use CI_REPOSITORY_URL since it includes `gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@` + # which is confusing in the steps suggested in the job's output. + ce_repo: "#{ENV['CI_PROJECT_URL']}.git", branch: ENV['CI_COMMIT_REF_NAME'] } else |