Last active
June 20, 2022 15:58
-
-
Save weeyin83/3b5ce2857c399f1860bc7d407b0440c3 to your computer and use it in GitHub Desktop.
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
$OctopusServer = $Args[0] | |
$OctopusAPI = $Args[1] | |
$workerPool = $Args[2] | |
$Space = $Args[3] | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) | |
choco install git azure-cli powershell-core awstools.powershell awssamcli awscli octopusdeploy.tentacle -y | |
tentacle register-worker --server="$OctopusServer" --apiKey="$OctopusAPI" --workerpool="$workerPool --space="$Space" --comms-style="TentacleActive" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment