New-Item —Type Directory nom_repertoire Set-Location -Path emplacement_repertoire
Invoke-WebRequest -Uri " https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-windows-amd64.exe" -OutFile "gitlab-runner.exe"
sur votre machine windows.
.\gitlab-runner.exe install
.\gitlab-runner.exe start
#” Vérifier le statut du Gitlab Runner
.\gitlab-runner.exe status
Récupérer le code depuis Gitlab lorsque vous créez un nouveau Runner dans votre projet :
.\gitlab-runner.exe register --url https://gitlab.com --token glrt-VOTRE TOKEN
Normalement, ça devrait fonctionner !