mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-27 20:12:46 +08:00
[Windows] Add azcopy utility (#1008)
* azcopy10 deployment for Windows has been added * small bugfixing * Header has been added to Install-AzCopy.ps1 * Header has been added to Validate-AzCopy.ps1 * Packer tempaltes have been modified
This commit is contained in:
6
images/win/scripts/Installers/Install-AzCopy.ps1
Normal file
6
images/win/scripts/Installers/Install-AzCopy.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
################################################################################
|
||||
## File: Install-AzCopy.ps1
|
||||
## Desc: Install AzCopy10
|
||||
################################################################################
|
||||
|
||||
Choco-Install -PackageName azcopy10
|
||||
10
images/win/scripts/Installers/Validate-AzCopy.ps1
Normal file
10
images/win/scripts/Installers/Validate-AzCopy.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
################################################################################
|
||||
## File: Validate-AzCopy.ps1
|
||||
## Desc: Validate AzCopy10
|
||||
################################################################################
|
||||
if (Get-Command -Name 'azcopy') {
|
||||
Write-Host "$(azcopy --version) on path"
|
||||
} else {
|
||||
Write-Error "azcopy not on path"
|
||||
exit 1
|
||||
}
|
||||
Reference in New Issue
Block a user