Last active
November 28, 2024 09:13
-
-
Save ryankurte/d6573be1b35a7d5731d957826b1862df to your computer and use it in GitHub Desktop.
Set gitlab runner to use git bash
This file contains 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 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
Is there no need to login? meaning
bash.exe --login ...
?