| ... | ... | @@ -40,3 +40,11 @@ Register the runner using the informations provided in the "Runners" section in |
|
|
|
Fill in `windows` for the tag, `docker-windows` for the executor and just copy-past the example for the default Docker image.
|
|
|
|
|
|
|
|
Edit the `C:\GitLab-Runner\config.toml` to change the shell from `pwsh` to `powershell`. You can also increase the number of `concurrent` jobs (first line) to match at least the number of vcores.
|
|
|
|
|
|
|
|
Troubleshooting
|
|
|
|
===============
|
|
|
|
|
|
|
|
You get the following error:
|
|
|
|
`ERROR: Job failed (system failure): Error response from daemon: container abf1963b3a2145d0d735be39385991e66ee8d14bc80e010c4336515ed4948cae encountered an error during hcs::System::CreateProcess: failure in a Windows system call: The system cannot find the file specified. (0x2) (exec.go:78:5s)`
|
|
|
|
|
|
|
|
The shell command is probably not right. Did you change `pwsh` to `powershell` in `C:\GitLab-Runner\config.toml`? Do you use another docker image? Did you check that the shell is available on the image? (Powershell is not available in `nanoserver` images). |
|
|
\ No newline at end of file |