microsoft / azuredevopslabs

Learn how you can plan smartly, collaborate better, and ship faster with a set of modern development services with Azure DevOps.
https://www.azuredevopslabs.com
MIT License
832 stars 928 forks source link

Terraform-CI on Self Hosted Agent #650

Open telelogic opened 1 year ago

telelogic commented 1 year ago

Maybe this will help for those who start with Self Hosted Agent

  1. Run the Agent Interactively
  2. Add a step to Install Chocolatery before the install .net core 2.0.0 powershell
  3. On the install .net core script add "choco install dotnetcore-sdk --version=2.0.0 -Confirm:$false"
  4. Don't get disappointed on errors, look again you will need 2 Reboots ( Windows Agent) I have uploaded the Working Pipeline as TXT

Terraform-CI.txt