Added step for download & install git (#5955)

This commit is contained in:
Mariusz Ferdyn
2022-07-25 11:15:26 +02:00
committed by GitHub
parent 79c921a4c1
commit 4afedce20d

View File

@@ -27,11 +27,16 @@ Detailed instruction can be found in [Azure documentation](https://docs.microsof
#### How to prepare Windows build agent
Local machine or [Azure VM](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quick-create-cli) can be used as a build agent.
Download `packer` from https://www.packer.io/downloads, or install it via [Chocolatey](https://chocolatey.org/):
Download & install `packer` from https://www.packer.io/downloads, or install it via [Chocolatey](https://chocolatey.org/):
```
choco install packer
```
Download & install `git` from https://github.com/git-for-windows/git/releases, or install it via [Chocolatey](https://chocolatey.org/):
```
choco install git -params '"/GitAndUnixToolsOnPath"'
```
Install the Azure Az PowerShell module - https://docs.microsoft.com/en-us/powershell/azure/install-az-ps.
```
Install-Module -Name Az -Repository PSGallery -Force