Hello,
I am finding that if I set a clone_url in the gitlab runner settings then it fails to send the gitlab-ci-token credentials when making a request.
The relevant runner config is this:
runners:
config: |
[[runners]]
executor = "kubernetes"
clone_url = "http://10.3.0.3"
[runners.kubernetes]
namespace = "{{.Release.Namespace}}"
image = "ubuntu:16.04"
I then get the following error from the runner pods:
fatal: unable to access 'http://10.3.0.3/group/project.git/': The requested URL returned error: 403
If I remove the clone url then I get:
fatal: unable to update url base from redirection:
asked for: https://gitlab-ci-token:[MASKED]@externalgiturl.com/group/project.git/info/refs?service=git-upload-pack
redirect: https://some-google-iap-url
The docs say that the url will be constructed from the clone_url and that the project etc. will be added. Why is this not happeneing?
Gitlab CE 14.4.1
gitlab-runner 14.4.0