-
-
Save RushOnline/ff62405544154110b84b138b2ec39ef0 to your computer and use it in GitHub Desktop.
Set gitlab runner to use git bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[runners]] | |
name = "tt708-windows" | |
url = "https://gitlab.com/" | |
token = "[REDACTED]" | |
executor = "shell" | |
shell = "bash" | |
builds_dir="/c/gitlab-runner/builds/" | |
cache_dir="/c/gitlab-runner/cache/" | |
[runners.cache] | |
[runners.cache.s3] | |
[runners.cache.gcs] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
et-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\gitlab-runner\ -Name ImagePath -Value "C:\Program Files\Git\bin\bash.exe -c `"/c/gitlab-r | |
unner/gitlab-runner.exe run --working-directory /c/gitlab-runner --config /c/gitlab-runner/config.toml --service gitlab-runner`"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment