Welcome to mirror list, hosted at ThFree Co, Russian Federation.

install.ps1 « windows « templates « runner_instructions « ci « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc37f88543c10e2ef98e147f9ce9562e21c2e6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Run PowerShell: https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/starting-windows-powershell?view=powershell-7#with-administrative-privileges-run-as-administrator
# Create a folder somewhere in your system ex.: C:\GitLab-Runner
New-Item -Path 'C:\GitLab-Runner' -ItemType Directory

# Enter the folder
cd 'C:\GitLab-Runner'

# Dowload binary
Invoke-WebRequest -Uri "${GITLAB_CI_RUNNER_DOWNLOAD_LOCATION}" -OutFile "gitlab-runner.exe"

# Register the Runner (steps below), then run
.\gitlab-runner.exe install
.\gitlab-runner.exe start