authentification issues after gitlab runner update to version 17.5
Summary
We are suddenly getting a missing credentials error in our pipeline, which wasn't there until gitlab runner version 17.5. :
Cloning into '/builds/gitlab-project'...
26fatal: could not read Username for 'https://gitlab.com': No such device or address
27fatal: clone of 'https://gitlab.com/gitlab-project.git' into submodule path '/builds/gitlab-project' failed
Possible fixes
We have found a workaround, which is to manually add the ci-token in our pipeline, like so:
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/url.git".insteadOf https://gitlab.com/url.git
However, is it possible to return the feature of automatically adding the ci-token? We would very much like to use it.
Edited by Hornung, Lucas (ITO-PC)