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
# register default runner with powershell | |
# register-runner -gitRegistrationToken SPECIFY -hostTags "windows" | |
# register oldschool runner with windows cmd | |
# register-runner -gitRegistrationToken SPECIFY -hostTags "windows" -gitlab_executor "shell" -gitlab_shell "cmd" | |
# install runner service as localsystem | |
# gitlab-service-register | |
# install runner service on behalf of specific user |
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
Set-StrictMode -Version Latest | |
$ErrorActionPreference = "Stop" | |
$PSDefaultParameterValues['*:ErrorAction'] = 'Stop' | |
$url = "https://curl.haxx.se/ca/cacert.pem" | |
$output = "$PSScriptRoot\cacert.pem" | |
$certlocation = "Cert:\LocalMachine\Root" | |
Write-Host "Downloading $url to $output " -ForegroundColor "Yellow" |
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
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options override the | |
# default value. | |
Port 22 | |
#AddressFamily any |