diff --git a/images.CI/macos/azure-pipelines/image-generation.yml b/images.CI/macos/azure-pipelines/image-generation.yml
index f38d2fdcb..89216e216 100644
--- a/images.CI/macos/azure-pipelines/image-generation.yml
+++ b/images.CI/macos/azure-pipelines/image-generation.yml
@@ -7,12 +7,13 @@ jobs:
variables:
- group: Mac-Cloud Image Generation
- group: Mac-Cloud Image Generation Key Vault
- - name: VirtualMachineName
- value: $(Build.BuildNumber).$(System.JobAttempt)
steps:
- - bash: |
- echo "##vso[build.updatebuildnumber]${{ variables.VirtualMachineName }}"
+ - pwsh: |
+ $cleanBuildNumber = "$(Build.BuildNumber)" -replace "(.+_unstable)(\.\d+)", '$1'
+ $virtualMachineName = "${cleanBuildNumber}.$(System.JobAttempt)"
+ echo "##vso[task.setvariable variable=VirtualMachineName;]$virtualMachineName"
+ echo "##vso[build.updatebuildnumber]$virtualMachineName"
displayName: Update BuildNumber
- checkout: self
@@ -71,7 +72,7 @@ jobs:
-var="output_folder=$(output-folder)" `
-var="vm_username=$(vm-username)" `
-var="vm_password=$(vm-password)" `
- -var="build_id=${{ variables.VirtualMachineName }}" `
+ -var="build_id=$(VirtualMachineName)" `
-var="baseimage_name=${{ parameters.base_image_name }}" `
-var="github_feed_token=$(github-feed-token)" `
-var="xcode_install_user=$(xcode-installation-user)" `
@@ -98,7 +99,7 @@ jobs:
ls $(Common.TestResultsDirectory)
echo "Put VM name to 'VM_Done_Name' file"
- echo "${{ variables.VirtualMachineName }}" > "$(Build.ArtifactStagingDirectory)/VM_Done_Name"
+ echo "$(VirtualMachineName)" > "$(Build.ArtifactStagingDirectory)/VM_Done_Name"
displayName: Prepare artifact
- bash: |
@@ -125,7 +126,7 @@ jobs:
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/move-vm.ps1
- arguments: -VMName "${{ variables.VirtualMachineName }}" `
+ arguments: -VMName "$(VirtualMachineName)" `
-TargetDataStore "${{ parameters.target_datastore }}" `
-VIServer "$(vcenter-server-v2)" `
-VIUserName "$(vcenter-username-v2)" `
@@ -137,7 +138,7 @@ jobs:
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/destroy-vm.ps1
- arguments: -VMName "${{ variables.VirtualMachineName }}" `
+ arguments: -VMName "$(VirtualMachineName)" `
-VIServer "$(vcenter-server-v2)" `
-VIUserName "$(vcenter-username-v2)" `
-VIPassword "$(vcenter-password-v2)"
diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1
index 4a341b53e..df77ea23b 100644
--- a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1
+++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1
@@ -87,6 +87,7 @@ $markdown += New-MDHeader "Tools" -Level 3
$toolsList = @(
(Get-7zipVersion),
(Get-AnsibleVersion),
+ (Get-AptFastVersion),
(Get-AzCopy7Version),
(Get-AzCopy10Version),
(Get-BazelVersion),
diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1
index f10cb8baa..ba676b0a5 100644
--- a/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1
+++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Tools.psm1
@@ -8,6 +8,11 @@ function Get-AnsibleVersion {
return "Ansible $ansibleVersion"
}
+function Get-AptFastVersion {
+ $aptFastVersion = (dpkg-query --showformat='${Version}' --show apt-fast).Split('-')[0]
+ return "apt-fast $aptFastVersion"
+}
+
function Get-AzCopy7Version {
$azcopy7Version = azcopy --version | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
return "AzCopy7 $azcopy7Version (available by ``azcopy`` alias)"
diff --git a/images/linux/scripts/installers/swift.sh b/images/linux/scripts/installers/swift.sh
index 73c8fd297..e4666a7c8 100644
--- a/images/linux/scripts/installers/swift.sh
+++ b/images/linux/scripts/installers/swift.sh
@@ -15,7 +15,9 @@ mv swift-$swift_version-RELEASE-ubuntu$image_label /usr/share/swift
SWIFT_PATH="/usr/share/swift/usr/bin"
SWIFT_BIN="$SWIFT_PATH/swift"
+SWIFTC_BIN="$SWIFT_PATH/swiftc"
ln -s "$SWIFT_BIN" /usr/local/bin/swift
+ln -s "$SWIFTC_BIN" /usr/local/bin/swiftc
echo "SWIFT_PATH=$SWIFT_PATH" | tee -a /etc/environment
# Run tests to determine that the software installed as expected
@@ -24,3 +26,8 @@ if ! command -v swift; then
echo "Swift was not installed"
exit 1
fi
+
+if ! command -v swiftc; then
+ echo "Swiftc is not linked to swift binary"
+ exit 1
+fi
diff --git a/images/macos/helpers/Common.Helpers.psm1 b/images/macos/helpers/Common.Helpers.psm1
index aa2ffdc5c..dd8a2184b 100644
--- a/images/macos/helpers/Common.Helpers.psm1
+++ b/images/macos/helpers/Common.Helpers.psm1
@@ -24,7 +24,7 @@ function Get-EnvironmentVariable($variable) {
}
# Returns the object with information about current OS
-# It can be used for OS-specific tests
+# It can be used for OS-specific tests
function Get-OSVersion {
$osVersion = [Environment]::OSVersion
return [PSCustomObject]@{
@@ -36,7 +36,7 @@ function Get-OSVersion {
IsBigSur = $osVersion.Version.Major -eq 20
IsLessThanCatalina = $osVersion.Version.Major -lt 19
IsLessThanBigSur = $osVersion.Version.Major -lt 20
- IsHigherThanMojave = $osVersion.Version.Major -gt 18
+ IsHigherThanMojave = $osVersion.Version.Major -gt 18
}
}
@@ -63,7 +63,7 @@ function Get-ToolsetValue {
$jsonNode = Get-Content -Raw $toolsetPath | ConvertFrom-Json
$pathParts = $KeyPath.Split(".")
- # try to walk through all arguments consequentially to resolve specific json node
+ # try to walk through all arguments consequentially to resolve specific json node
$pathParts | ForEach-Object {
$jsonNode = $jsonNode.$_
}
@@ -73,4 +73,13 @@ function Get-ToolsetValue {
function Get-ToolcachePackages {
$toolcachePath = Join-Path $env:HOME "image-generation" "toolcache.json"
return Get-Content -Raw $toolcachePath | ConvertFrom-Json
-}
\ No newline at end of file
+}
+
+function Invoke-RestMethodWithRetry {
+ param (
+ [Parameter()]
+ [string]
+ $Url
+ )
+ Invoke-RestMethod $Url -MaximumRetryCount 10 -RetryIntervalSec 30
+}
diff --git a/images/macos/provision/core/openssl.sh b/images/macos/provision/core/openssl.sh
index a1976e7f9..a058673a6 100755
--- a/images/macos/provision/core/openssl.sh
+++ b/images/macos/provision/core/openssl.sh
@@ -8,11 +8,6 @@ export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"
echo Installing OpenSSL...
/usr/local/bin/brew install openssl
-if is_BigSur; then
- ln -sf $(brew --prefix openssl)/bin/openssl /usr/local/bin/openssl
- exit 0
-fi
-
# Install OpenSSL 1.0.2t
# https://www.openssl.org/policies/releasestrat.html - Version 1.0.2 will be supported until 2019-12-31 (LTS)
# To preserve backward compatibility with ruby-toolcache
diff --git a/images/macos/provision/core/toolset.ps1 b/images/macos/provision/core/toolset.ps1
index bc016c4b3..9238b9ff4 100644
--- a/images/macos/provision/core/toolset.ps1
+++ b/images/macos/provision/core/toolset.ps1
@@ -4,6 +4,8 @@
## Desc: Install toolset
################################################################################
+Import-Module "~/image-generation/helpers/Common.Helpers.psm1"
+
Function Get-ToolcacheFromToolset {
$toolsetPath = Join-Path $env:HOME "image-generation" "toolset.json"
$toolsetJson = Get-Content -Raw $toolsetPath | ConvertFrom-Json
@@ -38,7 +40,7 @@ $tools = Get-ToolcacheFromToolset | Where-Object {$ToolsToInstall -contains $_.
foreach ($tool in $tools) {
# Get versions manifest for current tool
- $assets = Invoke-RestMethod $tool.url
+ $assets = Invoke-RestMethodWithRetry -Url $tool.url
# Get github release asset for each version
foreach ($version in $tool.versions) {
diff --git a/images/macos/provision/utils/xcode-utils.sh b/images/macos/provision/utils/xcode-utils.sh
index fccde9efd..7cd63b2fc 100644
--- a/images/macos/provision/utils/xcode-utils.sh
+++ b/images/macos/provision/utils/xcode-utils.sh
@@ -68,7 +68,9 @@ extractXcodeXip() {
local XCODE_VERSION="$2"
XCODE_XIP="${WORKING_DIR}/Xcode_${XCODE_VERSION// /_}.xip"
- open -W $XCODE_XIP
+ pushd $WORKING_DIR
+ xip -x "${XCODE_XIP}"
+ popd
if [[ -d "${WORKING_DIR}/Xcode-beta.app" ]]; then
mv -f "${WORKING_DIR}/Xcode-beta.app" "${WORKING_DIR}/Xcode.app"
diff --git a/images/win/Windows2016-Readme.md b/images/win/Windows2016-Readme.md
index ffbdfab3f..f184b50ab 100644
--- a/images/win/Windows2016-Readme.md
+++ b/images/win/Windows2016-Readme.md
@@ -1,10 +1,10 @@
| Announcements |
|-|
-| [[In Discussion] Git internal tools will be removed from PATH Windows images](https://github.com/actions/virtual-environments/issues/1525) |
+| [[In Discussion] Git internal tools will be removed from PATH Windows images and replaced with MSYS2 tools](https://github.com/actions/virtual-environments/issues/1525) |
***
# Microsoft Windows Server 2016 Datacenter
- OS Version: 10.0.14393 Build 3930
-- Image Version: 20200920.1
+- Image Version: 20201012.1
## Installed Software
### Language and Runtime
@@ -15,55 +15,52 @@
- 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
+- Node 12.19.0
### Package Management
- Chocolatey 0.10.15
- Vcpkg 2020.06.15
-- NPM 6.14.6
-- Yarn 1.22.5
+- NPM 6.14.8
+- 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
+- sbt 1.4.0
### Tools
-- Azure CosmosDb Emulator 2.11.5.0
- azcopy 10.6.0
-- Bazel 3.5.0
-- Bazelisk 1.6.1
-- CMake 3.18.2
-- R 4.0.2
+- Bazel 3.6.0
+- Bazelisk 1.7.1
+- CMake 3.18.4
+- CodeQL Action Bundle 2.2.5
+- R 4.0.3
- 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 313.0.1
- InnoSetup 6.0.5
- jq 1.6
- Kubectl 1.19.1
- Kind 0.9.0
- Mingw-w64 8.1.0
-- MySQL 5.7.21.0
- Mercurial 5.0
- NSIS v3.06.1
- Newman 5.2.0
- OpenSSL 1.1.1
-- Packer 1.6.2
-- Pulumi v2.10.1
-- SQLPS 1.0
-- SQLServer PS 21.1.18226
+- Packer 1.6.3
+- Pulumi v2.11.2
- Subversion (SVN) 1.14.0
- ghc 8.10.2
- Cabal 3.2.0.0
@@ -72,34 +69,35 @@
- 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.56
+- AWS SAM CLI 1.6.2
- AWS Session Manager CLI 1.1.61.0
-- Alibaba Cloud CLI 3.0.59
-- Cloud Foundry CLI 6.52.0
+- Alibaba Cloud CLI 3.0.60
+- Cloud Foundry CLI 6.53.0
- Hub CLI 2.14.2
-- GitHub CLI 1.0.0
+- GitHub CLI 1.1.0
### Rust Tools
-- Rust 1.46.0
+- Rust 1.47.0
#### Packages
- bindgen 0.55.1
-- cbindgen 0.14.5
-- cargo-audit 0.12.0
+- cbindgen 0.15.0
+- cargo-audit 0.12.1
- cargo-outdated v0.9.11
### Browsers and webdrivers
-- Google Chrome 85.0.4183.102
-- Chrome Driver 85.0.4183.87
-- Microsoft Edge 85.0.564.51
-- Microsoft Edge Driver 85.0.564.51
-- Mozilla Firefox 80.0.1
+- Google Chrome 86.0.4240.75
+- Chrome Driver 86.0.4240.22
+- Microsoft Edge 86.0.622.38
+- Microsoft Edge Driver 86.0.622.38
+- Mozilla Firefox 81.0.1
- Gecko Driver 0.27.0
- IE Driver 3.150.1.0
@@ -148,8 +146,8 @@ 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 |
+| 12.19.0 | x64 |
+| 14.13.1 | x64 |
#### Python
@@ -159,7 +157,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
@@ -174,8 +172,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 |
@@ -183,12 +181,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
PGDATA=C:\Program Files\PostgreSQL\12\data
PGROOT=C:\Program Files\PostgreSQL\12 |
-| Path | C:\Program Files\PostgreSQL\12 |
+| EnvironmentVariables | PGBIN=C:\Program Files\PostgreSQL\13\bin
PGDATA=C:\Program Files\PostgreSQL\13\data
PGROOT=C:\Program Files\PostgreSQL\13 |
+| Path | C:\Program Files\PostgreSQL\13 |
| UserName | postgres |
| Password | root |
@@ -200,6 +198,12 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
+### Database tools
+- Azure CosmosDb Emulator 2.11.6.0
+- SQLPS 1.0
+- MySQL 5.7.21.0
+
+
### Visual Studio Enterprise 2017
| Name | Version | Path |
| ----------------------------- | --------------- | -------------------------------------------------------------- |
@@ -465,10 +469,10 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Microsoft Visual C++ 2013 Minimum Runtime | x86 | 12.0.21005 |
| Microsoft Visual C++ 2017 Debug Runtime | x64 | 14.16.27033 |
| Microsoft Visual C++ 2017 Debug Runtime | x86 | 14.16.27033 |
-| Microsoft Visual C++ 2019 Additional Runtime | x64 | 14.26.28720 |
-| Microsoft Visual C++ 2019 Minimum Runtime | x64 | 14.26.28720 |
-| Microsoft Visual C++ 2019 Additional Runtime | x86 | 14.26.28720 |
-| Microsoft Visual C++ 2019 Minimum Runtime | x86 | 14.26.28720 |
+| Microsoft Visual C++ 2019 Additional 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 Minimum Runtime | x86 | 14.27.29112 |
### .NET Core SDK
`Location C:\Program Files\dotnet\sdk`
@@ -496,95 +500,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
1.6.0
2.3.2
2.6.0
3.1.0
3.5.0
3.8.0
4.3.0
4.4.0
4.6.0 | C:\Modules\az_\ |
-| Azure | 2.1.0 [Installed]
3.8.0
4.2.1
5.1.1
5.3.0 | C:\Modules\azure_\ |
-| AzureRM | 2.1.0 [Installed]
3.8.0
4.2.1
5.1.1
6.7.0
6.13.1 | C:\Modules\azurerm_\ |
+| Module | Version | Path |
+| ------- | ----------------------------------------------------------------------------------------------- | ------------------------------ |
+| Az | 1.0.0
1.6.0
2.3.2
2.6.0
3.1.0
3.5.0
3.8.0
4.3.0
4.4.0
4.6.0
4.7.0 | C:\Modules\az_\ |
+| Azure | 2.1.0 [Installed]
3.8.0
4.2.1
5.1.1
5.3.0 | C:\Modules\azure_\ |
+| AzureRM | 2.1.0 [Installed]
3.8.0
4.2.1
5.1.1
6.7.0
6.13.1 | C:\Modules\azurerm_\ |
```
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
5.0.4 |
-| PowerShellGet | 1.0.0.1
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
5.0.4 |
+| PowerShellGet | 1.0.0.1
2.2.4.1
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 25.2.5, Revision 25.2.5 |
-
-### 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, rev 3, 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, 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 | 25.2.5 |
+| Android SDK Platforms | android-30 (rev 3)
android-29 (rev 5)
android-28 (rev 6)
android-27 (rev 3)
android-26 (rev 2)
android-25 (rev 3)
android-24 (rev 2)
android-23 (rev 3)
android-22 (rev 2)
android-21 (rev 2)
android-20 (rev 2)
android-19 (rev 4) |
+| Android SDK Build-tools | 30.0.0 30.0.1 30.0.2
29.0.0 29.0.1 29.0.2 29.0.3
28.0.0 28.0.1 28.0.2 28.0.3
27.0.0 27.0.1 27.0.2 27.0.3
26.0.0 26.0.1 26.0.2 26.0.3
25.0.0 25.0.1 25.0.2 25.0.3
24.0.0 24.0.1 24.0.2 24.0.3
23.0.1 23.0.2 23.0.3
22.0.1
21.1.2
20.0.0
19.1.0 |
+| NDK | 21.3.6528147 |
+| Android Support Repository | 47.0.0 |
+| Google APIs | addon-g..._apis-google-21
addon-g..._apis-google-22
addon-g..._apis-google-23
addon-g..._apis-google-24
a...google_apis |
+| Google Play services | 49 |
+| Google Repository | 58 |
+| SDK Patch Applier v4 | 1 |
+| CMake | 3.10.2
3.6.4111459 |
### Cached Docker images
- mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2016
diff --git a/images/win/Windows2019-Readme.md b/images/win/Windows2019-Readme.md
index 1c8c72c61..a153b8d4d 100644
--- a/images/win/Windows2019-Readme.md
+++ b/images/win/Windows2019-Readme.md
@@ -1,10 +1,10 @@
| Announcements |
|-|
-| [[In Discussion] Git internal tools will be removed from PATH Windows images](https://github.com/actions/virtual-environments/issues/1525) |
+| [[In Discussion] Git internal tools will be removed from PATH Windows images and replaced with MSYS2 tools](https://github.com/actions/virtual-environments/issues/1525) |
***
# Microsoft Windows Server 2019 Datacenter
- OS Version: 10.0.17763 Build 1457
-- Image Version: 20201004.1
+- Image Version: 20201011.1
## Enabled windows optional features
- Windows Subsystem for Linux
@@ -21,12 +21,12 @@
- PHP 7.4.11
- Julia 1.5.2
- Perl 5.32.0
-- Node 12.18.4
+- Node 12.19.0
### Package Management
- Chocolatey 0.10.15
- Vcpkg 2020.06.15
-- NPM 6.14.6
+- NPM 6.14.8
- Yarn 1.22.10
- pip 20.2.3 (python 3.7)
- Miniconda 4.6.14
@@ -39,35 +39,31 @@
- Ant 1.10.9
- Maven 3.6.3
- Gradle 6.6
-- sbt 1.3.13
+- sbt 1.4.0
### Tools
-- Azure CosmosDb Emulator 2.11.5.0
- azcopy 10.6.0
-- Bazel 3.5.1
-- Bazelisk 1.6.1
-- CMake 3.18.3
+- Bazel 3.6.0
+- Bazelisk 1.7.1
+- CMake 3.18.4
- CodeQL Action Bundle 2.2.5
-- R 4.0.2
+- R 4.0.3
- Docker 19.03.12
- Docker-compose 1.27.2
- Git 2.28.0
- Git LFS 2.11.0
-- Google Cloud SDK 312.0.0
+- Google Cloud SDK 313.0.1
- InnoSetup 6.0.5
- jq 1.6
- Kubectl 1.19.1
- Kind 0.9.0
- Mingw-w64 8.1.0
-- MySQL 5.7.21.0
- Mercurial 5.0
- NSIS v3.06.1
- Newman 5.2.0
- OpenSSL 1.1.1
- Packer 1.6.3
- Pulumi v2.11.2
-- SQLPS 1.0
-- SQLServer PS 21.1.18228
- Subversion (SVN) 1.14.0
- ghc 8.10.2
- Cabal 3.2.0.0
@@ -82,28 +78,28 @@
- Azure CLI 2.12.1
- Azure DevOps CLI extension 0.18.0
- Azure Dev Spaces CLI 1.0.20200921.3
-- AWS CLI 2.0.54
-- AWS SAM CLI 1.4.0
+- AWS CLI 2.0.56
+- AWS SAM CLI 1.6.2
- AWS Session Manager CLI 1.1.61.0
-- Alibaba Cloud CLI 3.0.59
+- Alibaba Cloud CLI 3.0.60
- Cloud Foundry CLI 6.53.0
- Hub CLI 2.14.2
-- GitHub CLI 1.0.0
+- GitHub CLI 1.1.0
### Rust Tools
-- Rust 1.46.0
+- Rust 1.47.0
#### Packages
- bindgen 0.55.1
-- cbindgen 0.14.6
+- cbindgen 0.15.0
- cargo-audit 0.12.1
- cargo-outdated v0.9.11
### Browsers and webdrivers
-- Google Chrome 85.0.4183.121
-- Chrome Driver 85.0.4183.87
-- Microsoft Edge 85.0.564.68
-- Microsoft Edge Driver 85.0.564.68
+- Google Chrome 86.0.4240.75
+- Chrome Driver 86.0.4240.22
+- Microsoft Edge 86.0.622.38
+- Microsoft Edge Driver 86.0.622.38
- Mozilla Firefox 81.0.1
- Gecko Driver 0.27.0
- IE Driver 3.150.1.0
@@ -153,8 +149,8 @@ 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.13.0 | x64 |
+| 12.19.0 | x64 |
+| 14.13.1 | x64 |
#### Python
@@ -205,6 +201,12 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
+### Database tools
+- Azure CosmosDb Emulator 2.11.6.0
+- SQLPS 1.0
+- MySQL 5.7.21.0
+
+
### Visual Studio Enterprise 2019
| Name | Version | Path |
| ----------------------------- | -------------- | -------------------------------------------------------------- |
@@ -428,7 +430,7 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Microsoft.VisualStudio.Workload.Python | 16.0.28621.142 |
| 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 Microsoft Analysis Services Projects | 2.9.14 |
| SSDT SQL Server Integration Services Projects | 3.10 |
| SSDT Microsoft Reporting Services Projects | 2.6.7 |
| Windows Driver Kit | 3.11.4516 |
@@ -523,3 +525,5 @@ All other versions are saved but not installed.
- mcr.microsoft.com/windows/servercore:ltsc2019
- mcr.microsoft.com/windows/nanoserver:1809
- microsoft/aspnetcore-build:1.0-2.0
+
+
diff --git a/images/win/scripts/ImageHelpers/VisualStudioHelpers.ps1 b/images/win/scripts/ImageHelpers/VisualStudioHelpers.ps1
index 0fd6bc8b6..d5a5d59dc 100644
--- a/images/win/scripts/ImageHelpers/VisualStudioHelpers.ps1
+++ b/images/win/scripts/ImageHelpers/VisualStudioHelpers.ps1
@@ -49,6 +49,13 @@ Function Install-VisualStudio
}
else
{
+ $setupErrorLogPath = "$env:TEMP\dd_setup_*_errors.log"
+ if (Test-Path -Path $setupErrorLogPath)
+ {
+ $logErrors = Get-Content -Path $setupErrorLogPath -Raw
+ Write-Host "$logErrors"
+ }
+
Write-Host "Non zero exit code returned by the installation process : $exitCode"
exit $exitCode
}
diff --git a/images/win/scripts/Installers/Install-GitHub-CLI.ps1 b/images/win/scripts/Installers/Install-GitHub-CLI.ps1
index 7891991d4..1efb2f74e 100644
--- a/images/win/scripts/Installers/Install-GitHub-CLI.ps1
+++ b/images/win/scripts/Installers/Install-GitHub-CLI.ps1
@@ -3,8 +3,14 @@
## Desc: Install GitHub CLI
################################################################################
-Choco-Install -PackageName gh
+Write-Host "Get the latest gh version..."
+
+$Name = "gh_windows_amd64.msi"
+$Assets = (Invoke-RestMethod -Uri "https://api.github.com/repos/cli/cli/releases/latest").assets
+$DownloadUrl = ($Assets.browser_download_url -match "windows_amd64.msi") | Select-Object -First 1
+
+Install-Binary -Url $DownloadUrl -Name $Name
Add-MachinePathItem "C:\Program Files (x86)\GitHub CLI"
-Invoke-PesterTests -TestFile "CLI.Tools" -TestName "GitHub CLI"
\ No newline at end of file
+Invoke-PesterTests -TestFile "CLI.Tools" -TestName "GitHub CLI"