Commit a5cc1c26 authored by Rémy Coutable's avatar Rémy Coutable

Improve the gitlab:dev:ee_compat_check task to pass a repo URL without credentials

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4733570c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment