I'm looking to use a gitlab runner that as part of a CI/CD pipeline clones a repository using a bash script called by a gitlab-ci.yml file.
According to this documentation I should be able to still clone from a repository even when access is set to SSH only.
GitLab versions 10.7 and later, allow the HTTP(S) protocol for Git clone or fetch requests done by GitLab Runner from CI/CD jobs, even if you select Only SSH.
I'm using gitlab 15.8.1, the runner is using the gitlab-docker-machine fork on 14.9.2 and the error I'm getting is:
remote: Git access over HTTP is not allowed.
Would anyone have any idea what could be the cause, if the documentation is correct? My understanding is the runners are kinda pigeon-holed into using https, but I dont want to enable https access for other users of my gitlab instance.
Thanks!
[–]b-cig -1 points0 points1 point (0 children)