This commit is contained in:
Drew Skwiers-Koballa
2020-10-09 10:33:31 -07:00
74 changed files with 623 additions and 578 deletions

View File

@@ -4,7 +4,7 @@
***
# Microsoft Windows Server 2019 Datacenter
- OS Version: 10.0.17763 Build 1457
- Image Version: 20200920.1
- Image Version: 20201004.1
## Enabled windows optional features
- Windows Subsystem for Linux
@@ -18,8 +18,8 @@
- Python 3.7.9
- Ruby 2.5.8p224
- Go 1.14.9
- PHP 7.4.9
- Julia 1.5.1
- PHP 7.4.11
- Julia 1.5.2
- Perl 5.32.0
- Node 12.18.4
@@ -27,16 +27,16 @@
- Chocolatey 0.10.15
- Vcpkg 2020.06.15
- NPM 6.14.6
- Yarn 1.22.5
- Yarn 1.22.10
- pip 20.2.3 (python 3.7)
- Miniconda 4.6.14
- RubyGems 3.1.4
- Helm 3.3.3
- Helm 3.3.4
- Composer 1.10.13
- NuGet 5.7.0.6726
### Project Management
- Ant 1.10.8
- Ant 1.10.9
- Maven 3.6.3
- Gradle 6.6
- sbt 1.3.13
@@ -44,15 +44,16 @@
### Tools
- Azure CosmosDb Emulator 2.11.5.0
- azcopy 10.6.0
- Bazel 3.5.0
- Bazel 3.5.1
- Bazelisk 1.6.1
- CMake 3.18.2
- CMake 3.18.3
- CodeQL Action Bundle 2.2.5
- R 4.0.2
- Docker 19.03.12
- Docker-compose 1.27.2
- Git 2.28.0
- Git LFS 2.11.0
- Google Cloud SDK 310.0.0
- Google Cloud SDK 312.0.0
- InnoSetup 6.0.5
- jq 1.6
- Kubectl 1.19.1
@@ -63,10 +64,10 @@
- NSIS v3.06.1
- Newman 5.2.0
- OpenSSL 1.1.1
- Packer 1.6.2
- Pulumi v2.10.1
- Packer 1.6.3
- Pulumi v2.11.2
- SQLPS 1.0
- SQLServer PS 21.1.18226
- SQLServer PS 21.1.18228
- Subversion (SVN) 1.14.0
- ghc 8.10.2
- Cabal 3.2.0.0
@@ -75,16 +76,17 @@
- zstd 1.4.5
- VSWhere 2.8.4
- 7zip 19.00
- yamllint 1.24.2
- yamllint 1.25.0
### CLI Tools
- Azure CLI 2.11.1
- Azure CLI 2.12.1
- Azure DevOps CLI extension 0.18.0
- AWS CLI 2.0.50
- AWS SAM CLI 1.2.0
- Azure Dev Spaces CLI 1.0.20200921.3
- AWS CLI 2.0.54
- AWS SAM CLI 1.4.0
- AWS Session Manager CLI 1.1.61.0
- Alibaba Cloud CLI 3.0.59
- Cloud Foundry CLI 6.52.0
- Cloud Foundry CLI 6.53.0
- Hub CLI 2.14.2
- GitHub CLI 1.0.0
@@ -93,16 +95,16 @@
#### Packages
- bindgen 0.55.1
- cbindgen 0.14.5
- cargo-audit 0.12.0
- cbindgen 0.14.6
- cargo-audit 0.12.1
- cargo-outdated v0.9.11
### Browsers and webdrivers
- Google Chrome 85.0.4183.102
- Google Chrome 85.0.4183.121
- Chrome Driver 85.0.4183.87
- Microsoft Edge 85.0.564.51
- Microsoft Edge Driver 85.0.564.51
- Mozilla Firefox 80.0.1
- Microsoft Edge 85.0.564.68
- Microsoft Edge Driver 85.0.564.68
- Mozilla Firefox 81.0.1
- Gecko Driver 0.27.0
- IE Driver 3.150.1.0
@@ -152,7 +154,7 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| 8.17.0 | x64 |
| 10.22.1 | x64 |
| 12.18.4 | x64 |
| 14.11.0 | x64 |
| 14.13.0 | x64 |
#### Python
@@ -162,7 +164,7 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| 3.5.4 | x64, x86 |
| 3.6.8 | x64, x86 |
| 3.7.9 (Default) | x64, x86 |
| 3.8.5 | x64, x86 |
| 3.8.6 | x64, x86 |
#### Ruby
@@ -177,8 +179,8 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
#### PyPy
| Python Version | Architecture | PyPy Version |
| -------------- | ------------ | ------------ |
| 2.7.13 | x86 | PyPy 7.3.1 with MSC v.1912 32 bit |
| 3.6.9 | x86 | PyPy 7.3.1 with MSC v.1912 32 bit |
| 2.7.13 | x86 | PyPy 7.3.2 with MSC v.1927 32 bit |
| 3.6.9 | x86 | PyPy 7.3.2 with MSC v.1927 32 bit |
@@ -186,12 +188,12 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
#### PostgreSQL
| Property | Value |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| ServiceName | postgresql-x64-12 |
| Version | 12.4 |
| ServiceName | postgresql-x64-13 |
| Version | 13.0 |
| ServiceStatus | Stopped |
| ServiceStartType | Disabled |
| EnvironmentVariables | PGBIN=C:\Program Files\PostgreSQL\12\bin <br> PGDATA=C:\Program Files\PostgreSQL\12\data <br> PGROOT=C:\Program Files\PostgreSQL\12 |
| Path | C:\Program Files\PostgreSQL\12 |
| EnvironmentVariables | PGBIN=C:\Program Files\PostgreSQL\13\bin <br> PGDATA=C:\Program Files\PostgreSQL\13\data <br> PGROOT=C:\Program Files\PostgreSQL\13 |
| Path | C:\Program Files\PostgreSQL\13 |
| UserName | postgres |
| Password | root |
@@ -206,13 +208,13 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
### Visual Studio Enterprise 2019
| Name | Version | Path |
| ----------------------------- | -------------- | -------------------------------------------------------------- |
| Visual Studio Enterprise 2019 | 16.7.30503.244 | C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise |
| Visual Studio Enterprise 2019 | 16.7.30523.141 | C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise |
#### Workloads, components and extensions:
| Package | Version |
| ------------------------------------------------------------------------- | -------------- |
| Component.Android.NDK.R16B | 16.7.30427.251 |
| Component.Android.NDK.R16B | 16.7.30521.138 |
| Component.Android.SDK25.Private | 16.0.28625.61 |
| Component.Android.SDK28 | 16.2.29003.222 |
| Component.Ant | 1.9.3.8 |
@@ -427,7 +429,7 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Microsoft.VisualStudio.Workload.Universal | 16.7.30310.162 |
| Microsoft.VisualStudio.Workload.VisualStudioExtension | 16.4.29409.204 |
| SSDT Microsoft Analysis Services Projects | 2.9.13 |
| SSDT SQL Server Integration Services Projects | 3.9 |
| SSDT SQL Server Integration Services Projects | 3.10 |
| SSDT Microsoft Reporting Services Projects | 2.6.7 |
| Windows Driver Kit | 3.11.4516 |
| Windows Driver Kit Visual Studio Extension | 10.1.19041.1 |
@@ -446,12 +448,12 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Microsoft Visual C++ 2013 Minimum Runtime | x64 | 12.0.40660 |
| Microsoft Visual C++ 2013 Additional Runtime | x86 | 12.0.21005 |
| Microsoft Visual C++ 2013 Minimum Runtime | x86 | 12.0.21005 |
| Microsoft Visual C++ 2019 Additional Runtime | x64 | 14.27.29016 |
| Microsoft Visual C++ 2019 Debug Runtime | x64 | 14.27.29016 |
| Microsoft Visual C++ 2019 Minimum Runtime | x64 | 14.27.29016 |
| Microsoft Visual C++ 2019 Additional Runtime | x86 | 14.27.29016 |
| Microsoft Visual C++ 2019 Debug Runtime | x86 | 14.27.29016 |
| Microsoft Visual C++ 2019 Minimum Runtime | x86 | 14.27.29016 |
| Microsoft Visual C++ 2019 Additional Runtime | x64 | 14.27.29112 |
| Microsoft Visual C++ 2019 Debug Runtime | x64 | 14.27.29112 |
| Microsoft Visual C++ 2019 Minimum Runtime | x64 | 14.27.29112 |
| Microsoft Visual C++ 2019 Additional Runtime | x86 | 14.27.29112 |
| Microsoft Visual C++ 2019 Debug Runtime | x86 | 14.27.29112 |
| Microsoft Visual C++ 2019 Minimum Runtime | x86 | 14.27.29112 |
### .NET Core SDK
`Location C:\Program Files\dotnet\sdk`
@@ -479,95 +481,41 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
- PowerShell 7.0.3
#### Azure Powershell Modules
| Module | Version | Path |
| ------- | -------------------------------------------------------------------------------------- | ------------------------------ |
| Az | 1.0.0<br>1.6.0<br>2.3.2<br>2.6.0<br>3.1.0<br>3.5.0<br>3.8.0<br>4.3.0<br>4.4.0<br>4.6.0 | C:\Modules\az_\<version\> |
| Azure | 2.1.0 [Installed]<br>3.8.0<br>4.2.1<br>5.1.1<br>5.3.0 | C:\Modules\azure_\<version\> |
| AzureRM | 2.1.0 [Installed]<br>3.8.0<br>4.2.1<br>5.1.1<br>6.7.0<br>6.13.1 | C:\Modules\azurerm_\<version\> |
| Module | Version | Path |
| ------- | ----------------------------------------------------------------------------------------------- | ------------------------------ |
| Az | 1.0.0<br>1.6.0<br>2.3.2<br>2.6.0<br>3.1.0<br>3.5.0<br>3.8.0<br>4.3.0<br>4.4.0<br>4.6.0<br>4.7.0 | C:\Modules\az_\<version\> |
| Azure | 2.1.0 [Installed]<br>3.8.0<br>4.2.1<br>5.1.1<br>5.3.0 | C:\Modules\azure_\<version\> |
| AzureRM | 2.1.0 [Installed]<br>3.8.0<br>4.2.1<br>5.1.1<br>6.7.0<br>6.13.1 | C:\Modules\azurerm_\<version\> |
```
Azure PowerShell module 2.1.0 and AzureRM PowerShell module 2.1.0 are installed
and are available via 'Get-Module -ListAvailable'.
All other versions are saved but not installed.
```
#### Powershell Modules
| Module | Version |
| ------------------ | ------------------ |
| DockerMsftProvider | 1.0.0.8 |
| MarkdownPS | 1.9 |
| Pester | 3.4.0<br>5.0.4 |
| PowerShellGet | 1.0.0.1<br>2.2.4.1 |
| PSWindowsUpdate | 2.2.0.2 |
| SqlServer | 21.1.18226 |
| VSSetup | 2.2.16 |
| Module | Version |
| ------------------ | --------------------------- |
| DockerMsftProvider | 1.0.0.8 |
| MarkdownPS | 1.9 |
| Pester | 3.4.0<br>5.0.4 |
| PowerShellGet | 1.0.0.1<br>2.2.4.1<br>2.2.5 |
| PSWindowsUpdate | 2.2.0.2 |
| SqlServer | 21.1.18228 |
| VSSetup | 2.2.16 |
### Android SDK Tools
| Package Name | Description |
| -------------- | ------------------------------------------- |
| platform-tools | Android SDK Platform-Tools, Revision 30.0.4 |
| tools | Android SDK Tools 26.1.1, Revision 26.1.1 |
### Android SDK Platforms
`Location C:\Program Files (x86)\Android\android-sdk\platforms`
| Package Name | Description |
| ------------ | ------------------------------------------ |
| android-19 | Android SDK Platform 19, Revision 4 |
| android-21 | Android SDK Platform 21, Revision 2 |
| android-22 | Android SDK Platform 22, Revision 2 |
| android-23 | Android SDK Platform 23, Revision 3 |
| android-24 | Android SDK Platform 24, Revision 2 |
| android-25 | Android SDK Platform 25, Revision 3 |
| android-26 | Android SDK Platform 26, Revision 2 |
| android-27 | Android SDK Platform 27, Revision 3 |
| android-28 | Android SDK Platform 28, rev 6, Revision 6 |
| android-29 | Android SDK Platform 29, Revision 5 |
| android-30 | Android SDK Platform 30, Revision 3 |
### Android SDK Build-Tools
`Location C:\Program Files (x86)\Android\android-sdk\build-tools`
| Package Name | Description |
| ------------------ | ---------------------------------------- |
| build-tools-19.1.0 | Android SDK Build-Tools, Revision 19.1.0 |
| build-tools-20.0.0 | Android SDK Build-Tools, Revision 20.0.0 |
| build-tools-21.1.2 | Android SDK Build-Tools, Revision 21.1.2 |
| build-tools-22.0.1 | Android SDK Build-Tools, Revision 22.0.1 |
| build-tools-23.0.1 | Android SDK Build-Tools, Revision 23.0.1 |
| build-tools-23.0.2 | Android SDK Build-Tools, Revision 23.0.2 |
| build-tools-23.0.3 | Android SDK Build-Tools, Revision 23.0.3 |
| build-tools-24.0.0 | Android SDK Build-Tools, Revision 24.0.0 |
| build-tools-24.0.1 | Android SDK Build-Tools, Revision 24.0.1 |
| build-tools-24.0.2 | Android SDK Build-Tools, Revision 24.0.2 |
| build-tools-24.0.3 | Android SDK Build-Tools, Revision 24.0.3 |
| build-tools-25.0.0 | Android SDK Build-Tools, Revision 25.0.0 |
| build-tools-25.0.1 | Android SDK Build-Tools, Revision 25.0.1 |
| build-tools-25.0.2 | Android SDK Build-Tools, Revision 25.0.2 |
| build-tools-25.0.3 | Android SDK Build-Tools, Revision 25.0.3 |
| build-tools-26.0.0 | Android SDK Build-Tools, Revision 26.0.0 |
| build-tools-26.0.1 | Android SDK Build-Tools, Revision 26.0.1 |
| build-tools-26.0.2 | Android SDK Build-Tools, Revision 26.0.2 |
| build-tools-26.0.3 | Android SDK Build-Tools, Revision 26.0.3 |
| build-tools-27.0.0 | Android SDK Build-Tools, Revision 27.0.0 |
| build-tools-27.0.1 | Android SDK Build-Tools, Revision 27.0.1 |
| build-tools-27.0.2 | Android SDK Build-Tools, Revision 27.0.2 |
| build-tools-27.0.3 | Android SDK Build-Tools, Revision 27.0.3 |
| build-tools-28.0.0 | Android SDK Build-Tools, Revision 28.0.0 |
| build-tools-28.0.1 | Android SDK Build-Tools, Revision 28.0.1 |
| build-tools-28.0.2 | Android SDK Build-Tools, Revision 28.0.2 |
| build-tools-28.0.3 | Android SDK Build-Tools, Revision 28.0.3 |
| build-tools-29.0.0 | Android SDK Build-Tools, Revision 29.0.0 |
| build-tools-29.0.1 | Android SDK Build-Tools, Revision 29.0.1 |
| build-tools-29.0.2 | Android SDK Build-Tools, Revision 29.0.2 |
| build-tools-29.0.3 | Android SDK Build-Tools, Revision 29.0.3 |
| build-tools-30.0.0 | Android SDK Build-Tools, Revision 30.0.0 |
| build-tools-30.0.1 | Android SDK Build-Tools, Revision 30.0.1 |
| build-tools-30.0.2 | Android SDK Build-Tools, Revision 30.0.2 |
### Android Extra Packages
| Package Name | Version |
| -------------------------- | ------------ |
| Android Support Repository | 47.0.0 |
| Google Play services | 49 |
| Google Repository | 58 |
| NDK | 21.3.6528147 |
### Android
| Package Name | Version |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Android SDK Platform-Tools | 30.0.4 |
| Android SDK Tools | 26.1.1 |
| Android SDK Platforms | android-30 (rev 3)<br>android-29 (rev 5)<br>android-28 (rev 6)<br>android-27 (rev 3)<br>android-26 (rev 2)<br>android-25 (rev 3)<br>android-24 (rev 2)<br>android-23 (rev 3)<br>android-22 (rev 2)<br>android-21 (rev 2)<br>android-20 (rev 2)<br>android-19 (rev 4) |
| Android SDK Build-tools | 30.0.0 30.0.1 30.0.2<br>29.0.0 29.0.1 29.0.2 29.0.3<br>28.0.0 28.0.1 28.0.2 28.0.3<br>27.0.0 27.0.1 27.0.2 27.0.3<br>26.0.0 26.0.1 26.0.2 26.0.3<br>25.0.0 25.0.1 25.0.2 25.0.3<br>24.0.0 24.0.1 24.0.2 24.0.3<br>23.0.1 23.0.2 23.0.3<br>22.0.1<br>21.1.2<br>20.0.0<br>19.1.0 |
| NDK | 21.3.6528147 |
| Android Support Repository | 47.0.0 |
| Google APIs | addon-google_apis-google-21<br>addon-google_apis-google-22<br>addon-google_apis-google-23<br>addon-google_apis-google-24 |
| Google Play services | 49 |
| Google Repository | 58 |
| SDK Patch Applier v4 | 1 |
| CMake | 3.10.2<br>3.6.4111459 |
### Cached Docker images
- mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019

View File

@@ -27,10 +27,6 @@ Function Set-DefaultVariables
}
}
$ErrorActionPreference = "Stop"
Import-Module -Name ImageHelpers -Force -DisableNameChecking
# Define executables for cached tools
$toolsEnvironmentVariables = @{
Python = @{

View File

@@ -62,8 +62,6 @@ Function Set-DefaultRubyVersion {
Invoke-Expression "gem update --system"
}
Import-Module -Name ImageHelpers -Force
$FeedPrefix = "https://npm.pkg.github.com"
$AccessToken = $env:GITHUB_FEED_TOKEN

View File

@@ -6,8 +6,6 @@
Write-Host "Cleanup WinSxS"
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
$ErrorActionPreference = 'silentlycontinue'
Write-Host "Clean up various directories"
@(
"C:\\Recovery",
@@ -30,4 +28,5 @@ Write-Host "Clean up various directories"
$winInstallDir = "$env:windir\\Installer"
New-Item -Path $winInstallDir -ItemType Directory -Force
$ErrorActionPreference = 'Continue'
# Remove AllUsersAllHosts profile
Remove-Item $profile.AllUsersAllHosts -Force

View File

@@ -30,6 +30,9 @@ function Disable-UserAccessControl {
Write-Host "User Access Control (UAC) has been disabled."
}
# Enable $ErrorActionPreference='Stop' for AllUsersAllHosts
Add-Content -Path $profile.AllUsersAllHosts -Value '$ErrorActionPreference="Stop"'
# Set TLS1.2
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"

View File

@@ -3,8 +3,6 @@
## Desc: Install Azure CosmosDb Emulator
####################################################################################
Import-Module -Name ImageHelpers -Force
$InstallerName = "AzureCosmosDBEmulator.msi"
$InstallerUrl = "https://aka.ms/cosmosdb-emulator"

View File

@@ -3,8 +3,6 @@
## Desc: Install Azure PowerShell modules
################################################################################
$ErrorActionPreference = "Stop"
# The correct Modules need to be saved in C:\Modules
$installPSModulePath = $env:PSMODULES_ROOT_FOLDER
if (-not (Test-Path -LiteralPath $installPSModulePath))

View File

@@ -3,8 +3,6 @@
## Desc: Install Google Chrome
################################################################################
Import-Module -Name ImageHelpers -Force
# Download and install latest Chrome browser
$ChromeInstallerFile = "chrome_installer.exe"
$ChromeInstallerUrl = "https://dl.google.com/chrome/install/375.126/${ChromeInstallerFile}"

View File

@@ -3,8 +3,6 @@
## Desc: Install Cloud Foundry CLI
################################################################################
Import-Module -Name ImageHelpers
# Download the latest cf cli exe
$CloudFoundryCliName = "cf-cli.zip"
$CloudFoundryCliUrl = "https://packages.cloudfoundry.org/stable?release=windows64-exe&source=github"

View File

@@ -3,8 +3,6 @@
## Desc: Install SQL Server® Data-Tier Application Framework (DACFx) for Windows
####################################################################################
Import-Module -Name ImageHelpers -Force
$InstallerName = "DacFramework.msi"
$InstallerUrl = "https://go.microsoft.com/fwlink/?linkid=2143544"

View File

@@ -3,8 +3,6 @@
## Desc: Install Mozilla Firefox
################################################################################
Import-Module -Name ImageHelpers -Force
# Install and configure Firefox browser
Write-Host "Install latest Firefox browser..."
$VersionsManifest = Invoke-RestMethod "https://product-details.mozilla.org/1.0/firefox_versions.json"

View File

@@ -3,8 +3,6 @@
## Desc: Install Git for Windows
################################################################################
Import-Module -Name ImageHelpers
function getSimpleValue([string] $url, [string] $filename ) {
$fullpath = "${env:Temp}\$filename"
Invoke-WebRequest -Uri $url -OutFile $fullpath
@@ -40,8 +38,11 @@ Choco-Install -PackageName hub
Add-MachinePathItem "C:\Program Files\Git\bin"
# Add well-known SSH host keys to ssh_known_hosts
if (Test-IsWin16) {
$env:Path += ";$env:ProgramFiles\Git\usr\bin\"
}
# Add well-known SSH host keys to ssh_known_hosts
ssh-keyscan -t rsa github.com >> "C:\Program Files\Git\etc\ssh\ssh_known_hosts"
ssh-keyscan -t rsa ssh.dev.azure.com >> "C:\Program Files\Git\etc\ssh\ssh_known_hosts"

View File

@@ -3,8 +3,6 @@
## Desc: Install various JDKs and java tools
################################################################################
Import-Module -Name ImageHelpers -Force
function Set-JavaPath {
param (
[string] $Version,

View File

@@ -3,8 +3,6 @@
## Desc: Install the latest version of Miniconda and set $env:CONDA
################################################################################
Import-Module -Name ImageHelpers -Force
$CondaDestination = "C:\Miniconda"
# Lock to Miniconda 4.6 until we do the work to run `conda init` for the vsts user

View File

@@ -3,8 +3,6 @@
## Desc: Install .NET 4.8
################################################################################
Import-Module -Name ImageHelpers -Force
# .NET 4.8 Dev pack
$InstallerName = "ndp48-devpack-enu.exe"
$InstallerUrl = "https://download.visualstudio.microsoft.com/download/pr/014120d7-d689-4305-befd-3cb711108212/0307177e14752e359fde5423ab583e43/${InstallerName}"

View File

@@ -4,8 +4,6 @@
## Must run after python is configured
################################################################################
Import-Module -Name ImageHelpers -Force
$PrefixPath = 'C:\npm\prefix'
$CachePath = 'C:\npm\cache'

View File

@@ -2,9 +2,6 @@
## File: Install-PHP.ps1
## Desc: Install PHP
################################################################################
$ErrorActionPreference = "Stop"
Import-Module -Name ImageHelpers
# Install latest PHP in chocolatey
$installDir = "c:\tools\php"

View File

@@ -1,5 +1,3 @@
$ErrorActionPreference = "Stop"
#Define user and password for PostgreSQL database
$pgUser = "postgres"
$pgPwd = "root"

View File

@@ -1,5 +1,3 @@
$ErrorActionPreference = "Stop"
# Set TLS1.2
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"

View File

@@ -82,9 +82,6 @@ function Install-PyPy
}
}
$ErrorActionPreference = "Stop"
Import-Module -Name ImageHelpers -Force -DisableNameChecking
# Get PyPy content from toolset
$pypyTools = Get-ToolsetContent | Select-Object -ExpandProperty toolcache | Where-Object Name -eq "PyPy"

View File

@@ -3,8 +3,6 @@
## Desc: Install Rust for Windows
################################################################################
Import-Module -Name ImageHelpers
# Rust Env
$env:RUSTUP_HOME = "C:\Rust\.rustup"
$env:CARGO_HOME = "C:\Rust\.cargo"

View File

@@ -3,8 +3,6 @@
## Desc: Install SQL PowerShell tool
################################################################################
Import-Module -Name ImageHelpers -Force
$BaseUrl = "https://download.microsoft.com/download/8/7/2/872BCECA-C849-4B40-8EBE-21D48CDF1456/ENU/x64"
# install required MSIs

View File

@@ -2,9 +2,6 @@
## File: Install-Sbt.ps1
## Desc: Install sbt for Windows
################################################################################
$ErrorActionPreference = "Stop"
Import-Module -Name ImageHelpers
# Install the latest version of sbt.
# See https://chocolatey.org/packages/sbt

View File

@@ -3,8 +3,6 @@
## Desc: Install Selenium Server standalone
################################################################################
Import-Module -Name ImageHelpers -Force
# Acquire latest Selenium release number from GitHub API
$latestReleaseUrl = "https://api.github.com/repos/SeleniumHQ/selenium/releases/latest"
try {

View File

@@ -29,10 +29,6 @@ Function Install-Asset {
Pop-Location
}
$ErrorActionPreference = "Stop"
Import-Module -Name ImageHelpers -Force
# Get toolcache content from toolset
$ToolsToInstall = @("Python", "Node", "Boost", "Go")

View File

@@ -3,8 +3,6 @@
## Desc: Install Visual Studio
################################################################################
$ErrorActionPreference = "Stop"
$toolset = Get-ToolsetContent
$requiredComponents = $toolset.visualStudio.workloads | ForEach-Object { "--add $_" }
$workLoads = @(

View File

@@ -3,8 +3,6 @@
## Desc: Install vcpkg
################################################################################
Import-Module -Name ImageHelpers -Force
$Uri = 'https://github.com/Microsoft/vcpkg.git'
$InstallDir = 'C:\vcpkg'
$VcpkgExecPath = 'vcpkg.exe'

View File

@@ -3,8 +3,6 @@
## Desc: Install the Visual Studio Extensions from toolset.json
###################################################################################
$ErrorActionPreference = "Stop"
$toolset = Get-ToolsetContent
$vsixPackagesList = $toolset.visualStudio.vsix
if (-not $vsixPackagesList) {

View File

@@ -4,9 +4,6 @@
################################################################################
# Requires Windows SDK with the same version number as the WDK
Import-Module -Name ImageHelpers -Force
if (Test-IsWin19)
{
$winSdkUrl = "https://go.microsoft.com/fwlink/p/?linkid=2120843"

View File

@@ -3,8 +3,6 @@
## Desc: Install Windows Application Driver (WinAppDriver)
####################################################################################
Import-Module -Name ImageHelpers -Force
$InstallerName = "WindowsApplicationDriver.msi"
$InstallerUrl = "https://github.com/Microsoft/WinAppDriver/releases/download/v1.1/${InstallerName}"

View File

@@ -3,8 +3,6 @@
## Desc: Install WIX.
################################################################################
Import-Module -Name ImageHelpers -Force
Choco-Install -PackageName wixtoolset -ArgumentList "--force"
if(Test-IsWin19)

View File

@@ -3,8 +3,6 @@
## Desc: Install and update Android SDK and tools
################################################################################
$ErrorActionPreference = "Stop"
# Install the standard Android SDK licenses. In the past, there wasn't a better way to do this,
# so we are base64-encoding a zip of the licenses directory from another installation.
# To create this base64 string, create a zip file that contains nothing but a 'licenses' folder,

View File

@@ -3,8 +3,6 @@
## Desc: Install SQL Server Data Tools for Windows
################################################################################
Import-Module -Name ImageHelpers -Force
#SSDT for Visual Studio 2017
#The link down below points to the latest version of SSDT for Visual Studio 2017
$InstallerName = "SSDT-Setup-ENU.exe"

View File

@@ -3,8 +3,6 @@
## Desc: Install Windows 8.1 SDK
################################################################################
Import-Module -Name ImageHelpers -Force
$InstallerName = "sdksetup.exe"
$InstallerUrl = "http://download.microsoft.com/download/B/0/C/B0C80BA3-8AD6-4958-810B-6882485230B5/standalonesdk/${InstallerName}"
$ArgumentList = ("/quiet", "/norestart")

View File

@@ -1,5 +1,3 @@
$ErrorActionPreference = "Stop"
Import-Module MarkdownPS
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Android.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Browsers.psm1") -DisableNameChecking

View File

@@ -173,12 +173,6 @@
"type": "windows-restart",
"restart_timeout": "10m"
},
{
"type": "powershell",
"scripts": [
"{{ template_dir }}/scripts/Installers/Update-DockerImages.ps1"
]
},
{
"type": "powershell",
"valid_exit_codes": [