Improve the gitlab:dev:ee_compat_check task to pass a repo URL without credentials
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
4733570c3d
commit
a5cc1c2613
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue