@@ -64,9 +64,41 @@ 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.
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. You may also need to add `pull_policy = ["if-not-present", "always"]` in the `[runners.docker]` section.
Eventually, the `C:\GitLab-Runner\config.toml` shoud look like:
```toml
concurrent=2
check_interval=0
shutdown_timeout=0
[session_server]
session_timeout=1800
[[runners]]
name="..."
url="https://gitlab.eclipse.org/"
id=884
token="..."
token_obtained_at=2023-08-28T14:51:47Z
token_expires_at=0001-01-01T00:00:00Z
executor="docker-windows"
shell="powershell"
[runners.cache]
MaxUploadedArchiveSize=0
[runners.docker]
tls_verify=false
image="mcr.microsoft.com/windows/servercore:1809"
pull_policy=["if-not-present","always"]
privileged=false
disable_entrypoint_overwrite=false
oom_kill_disable=false
disable_cache=false
volumes=["c:\\cache"]
shm_size=0
```
You may also need to add `pull_policy = ["if-not-present", "always"]` in the `[runners.docker]` section of the `C:\GitLab-Runner\config.toml` file.