[Windows] Move choco installation list into toolset (#3688)

* Move choco installation list into toolset

* Add a condition to Install-CommonUtils.ps1

* Rename tests and revert Bazel to single script

* Return Install-Bazel.ps1 to windows2016.json and windows2019.json

* Remove condition and Write-Host command from Install-CommonUtils.ps1

* Reset Install-Bazel.ps1 to be the same as in main

* Update choco.common_packages in toolset-2016.json and toolset-2019.json

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
This commit is contained in:
Nikita Bykov
2021-07-08 06:23:07 -07:00
committed by GitHub
parent e8381d7db3
commit 8a77fdb2a1
24 changed files with 163 additions and 262 deletions

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-7zip.ps1
## Desc: Install 7zip
################################################################################
Choco-Install -PackageName 7zip.install
Invoke-PesterTests -TestFile "Tools" -TestName "7-Zip"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-AzCopy.ps1
## Desc: Install AzCopy10
################################################################################
Choco-Install -PackageName azcopy10
Invoke-PesterTests -TestFile "Tools" -TestName "AzCopy"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Bicep.ps1
## Desc: Install Bicep
################################################################################
Choco-Install -PackageName Bicep
Invoke-PesterTests -TestFile "Tools" -TestName "Bicep"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Cmake.ps1
## Desc: Install Cmake
################################################################################
Choco-Install -PackageName cmake.install -ArgumentList "--installargs",'ADD_CMAKE_TO_PATH=""System""'
Invoke-PesterTests -TestFile "Tools" -TestName "CMake"

View File

@@ -0,0 +1,8 @@
$commonPackages = (Get-ToolsetContent).choco.common_packages
foreach ($package in $commonPackages)
{
Choco-Install -PackageName $package.name -ArgumentList $package.args
}
Invoke-PesterTests -TestFile "ChocoPackages"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-GitVersion.ps1
## Desc: Install GitVersion
################################################################################
Choco-Install -PackageName gitversion.portable
Invoke-PesterTests -TestFile "Git" -TestName "GitVersion"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-InnoSetup.ps1
## Desc: Install Inno Setup
################################################################################
Choco-Install -PackageName innosetup
Invoke-PesterTests -TestFile "Tools" -TestName "InnoSetup"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Jq.ps1
## Desc: Install jq
################################################################################
Choco-Install -PackageName jq
Invoke-PesterTests -TestFile "Tools" -TestName "Jq"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Julia.ps1
## Desc: Install Julia
################################################################################
Choco-Install -PackageName julia -ArgumentList "--ia","/DIR=C:\Julia"
Invoke-PesterTests -TestFile "Tools" -TestName "Julia"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Nuget.ps1
## Desc: Install NuGet.CommandLine
################################################################################
Choco-Install -PackageName NuGet.CommandLine
Invoke-PesterTests -TestFile "Tools" -TestName "Nuget"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-OpenSSL.ps1
## Desc: Install OpenSSL
################################################################################
Choco-Install -PackageName openssl.light
Invoke-PesterTests -TestFile "Tools" -TestName "OpenSSL"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Packer.ps1
## Desc: Install Packer
################################################################################
Choco-Install -PackageName packer
Invoke-PesterTests -TestFile "Tools" -TestName "Packer"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Perl.ps1
## Desc: Install Perl
################################################################################
Choco-Install -PackageName strawberryperl
Invoke-PesterTests -TestFile "Tools" -TestName "Perl"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Pulumi.ps1
## Desc: Install Pulumi
################################################################################
Choco-Install -PackageName pulumi
Invoke-PesterTests -TestFile "Tools" -TestName "Pulumi"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Svn.ps1
## Desc: Install Subversion
################################################################################
Choco-Install -PackageName tortoisesvn
Invoke-PesterTests -TestFile "Tools" -TestName "Svn"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-Swig.ps1
## Desc: Install Swig
################################################################################
Choco-Install -PackageName swig
Invoke-PesterTests -TestFile "Tools" -TestName "Swig"

View File

@@ -1,8 +0,0 @@
################################################################################
## File: Install-VSWhere.ps1
## Desc: Install latest stable version of VSWhere
################################################################################
Choco-Install -PackageName vswhere
Invoke-PesterTests -TestFile "Tools" -TestName "VSWhere"