Update to new version of GitLab runner failed
Summary
After reading blog post (https://about.gitlab.com/2017/09/04/old-runners-stop-working/) we tried to update our GitLab runners on Windows hosts. However, CI jobs cannot be started anymore. It was update from version 1.3.4
to 9.5.0
.
In attached log the line with path to project looks suspicious /c/GitLab-Runner/c:/GitLab-Runner. After reading some source code we think that generated script could have some issues with path on Windows.
Steps to reproduce
Update GitLab runner from version 1.3.4 to version 9.5.0. Shell executor with bash.
Relevant logs and/or screenshots
Running with gitlab-ci-multi-runner 9.5.0 (413da38)
on DBGDEVBOX (31a4e034)
Using Shell executor...
Running on DBGDEVBOX...
bash: line 6: /c/Gitlab-Runner/c:/Gitlab-Runner/builds/31a4e034/0/<project>.tmp/CI_SERVER_TLS_CA_FILE: No such file or directory
ERROR: Job failed: exit status 1
Environment description
We have custom installation on our servers:
- Windows Server 2012R
- GitLab Runner version 1.3.4 (good case) and 9.5.0 (bad case)
- Executor shell (with bash)
- git version 2.9.0.windows.1 (with folder
usr/bin
is in $PATH)
Used GitLab Runner version
GitLab Runner version 9.5.0