Skip to content

Instantly share code, notes, and snippets.

@skarllot
Created March 1, 2025 23:28
Show Gist options
  • Save skarllot/5b7f36f400118984bbbd639cd48006eb to your computer and use it in GitHub Desktop.
Save skarllot/5b7f36f400118984bbbd639cd48006eb to your computer and use it in GitHub Desktop.
Gitlab runner configuration using Powershell on Windows
concurrent = 5
check_interval = 0
connection_max_age = "15m0s"
shutdown_timeout = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "gitlab-runner01"
url = "https://git.example.com"
id = 14
token = "glrt-<redacted>"
token_obtained_at = 2024-12-08T14:22:11Z
token_expires_at = 0001-01-01T00:00:00Z
executor = "shell"
builds_dir = "C:\\Gitlab-Runner\\workspaces\\builds"
cache_dir = "C:\\Gitlab-Runner\\workspaces\\cache"
environment = ["DOTNET_GENERATE_ASPNET_CERTIFICATE=false", "DOTNET_NOLOGO=true", "DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true", "DOTNET_CLI_TELEMETRY_OPTOUT=true"]
shell = "pwsh"
[runners.custom_build_dir]
[runners.cache]
MaxUploadedArchiveSize = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment