I’m trying to use gitlab-runner, configured with “shell” executor, and started manually with “gitlab-runner run” as a non-root user. My job fails with an error:
Running with gitlab-runner 11.5.0 (3afdaba6) on my-ci-runner 0078f850 Using Shell executor... Running on freia013... bash: line 59: cd: /home/chah/builds/0078f850/0/chah/glr-test: No such file or directory ERROR: Job failed: exit status 1
It created …/chah/glr-test.tmp and wrote the CI_SERVER_TLS_CA_FILE but the glr-test directory was never created. In fact, AFAICT using strace, there was no attempt to clone the repository.
Have I missed some configuration? Should I even expect gitlab-runner to work in this mode? Any help appreciated.