Last active
February 7, 2018 03:20
-
-
Save johnypony3/ba94220598b39294fc2779f5d72828b1 to your computer and use it in GitHub Desktop.
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
Set-ExecutionPolicy Bypass -Scope Process -Force | |
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install python3 -y | |
choco install pip -y | |
choco install gitlab-runner -y | |
$Env:RUNNER_NAME = 'gitlabrunnerwindows' | |
$Env:REGISTRATION_TOKEN = 'xNCuu_ebSJVHKKFYuzqa' | |
$Env:CI_SERVER_URL = 'https://gitlab.nordstrom.com/' | |
$Env:RUNNER_TAG_LIST = 'windows,cr2p' | |
$Env:CONFIG_FILE = "$PSScriptRoot\config.toml" | |
$Env:REGISTER_RUN_UNTAGGED = 'false' | |
$Env:REGISTER_LOCKED = $false | |
$Env:RUNNER_EXECUTOR = 'shell' | |
$Env:RUNNER_SHELL = 'powershell' | |
$Env:RUNNER_REQUEST_CONCURRENCY = 1 | |
$Env:RUNNER_BUILDS_DIR = '' | |
$Env:RUNNER_CACHE_DIR = '' | |
gitlab-runner install | |
gitlab-runner register --non-interactive | |
gitlab-runner start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment