Merge remote-tracking branch 'upstream/main' into main

This commit is contained in:
Aleksandr Chebotov
2020-09-28 13:52:54 +03:00
39 changed files with 1246 additions and 1444 deletions

View File

@@ -12,6 +12,7 @@ After successful image generation, a snapshot of the temporary VM will be conver
- `packer` - Can be downloaded from https://www.packer.io/downloads
- `PowerShell 5.0 or higher` or `PSCore` for linux distributes.
- `Azure CLI ` - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
- `Azure Powershell module` - https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-4.6.1
### Azure DevOps self-hosted pool requirements
To connect to a temporary VM packer use WinRM or SSH connections on public IP interfaces.
@@ -31,7 +32,7 @@ Download `packer` from https://www.packer.io/downloads, or install it via Chocol
choco install packer
```
Install Azure CLI - https://docs.microsoft.com/ru-ru/cli/azure/install-azure-cli-windows?view=azure-cli-latest&tabs=azure-cli.
Install Azure CLI - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest&tabs=azure-cli.
```
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi
```

View File

@@ -110,12 +110,12 @@ Function GenerateResourcesAndImage {
$ServicePrincipalClientSecret = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper();
$InstallPassword = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper();
Login-AzureRmAccount
Set-AzureRmContext -SubscriptionId $SubscriptionId
Connect-AzAccount
Set-AzContext -SubscriptionId $SubscriptionId
$alreadyExists = $true;
try {
Get-AzureRmResourceGroup -Name $ResourceGroupName
Get-AzResourceGroup -Name $ResourceGroupName
Write-Verbose "Resource group was found, will delete and recreate it."
}
catch {
@@ -126,8 +126,8 @@ Function GenerateResourcesAndImage {
if ($alreadyExists) {
if($Force -eq $true) {
# Cleanup the resource group if it already exitsted before
Remove-AzureRmResourceGroup -Name $ResourceGroupName -Force
New-AzureRmResourceGroup -Name $ResourceGroupName -Location $AzureLocation
Remove-AzResourceGroup -Name $ResourceGroupName -Force
New-AzResourceGroup -Name $ResourceGroupName -Location $AzureLocation
} else {
$title = "Delete Resource Group"
$message = "The resource group you specified already exists. Do you want to clean it up?"
@@ -146,13 +146,13 @@ Function GenerateResourcesAndImage {
switch ($result)
{
0 { Remove-AzureRmResourceGroup -Name $ResourceGroupName -Force; New-AzureRmResourceGroup -Name $ResourceGroupName -Location $AzureLocation }
0 { Remove-AzResourceGroup -Name $ResourceGroupName -Force; New-AzResourceGroup -Name $ResourceGroupName -Location $AzureLocation }
1 { <# Do nothing #> }
2 { exit }
}
}
} else {
New-AzureRmResourceGroup -Name $ResourceGroupName -Location $AzureLocation
New-AzResourceGroup -Name $ResourceGroupName -Location $AzureLocation
}
# This script should follow the recommended naming conventions for azure resources
@@ -164,19 +164,21 @@ Function GenerateResourcesAndImage {
$storageAccountName = $storageAccountName.Replace("-", "").Replace("_", "").Replace("(", "").Replace(")", "").ToLower()
$storageAccountName += "001"
New-AzureRmStorageAccount -ResourceGroupName $ResourceGroupName -AccountName $storageAccountName -Location $AzureLocation -SkuName "Standard_LRS"
New-AzStorageAccount -ResourceGroupName $ResourceGroupName -AccountName $storageAccountName -Location $AzureLocation -SkuName "Standard_LRS"
$spDisplayName = [System.GUID]::NewGuid().ToString().ToUpper()
$sp = New-AzureRmADServicePrincipal -DisplayName $spDisplayName -Password (ConvertTo-SecureString $ServicePrincipalClientSecret -AsPlainText -Force)
$credentialProperties = @{ StartDate=Get-Date; EndDate=Get-Date -Year 2024; Password=$ServicePrincipalClientSecret }
$credentials = New-Object -TypeName Microsoft.Azure.Commands.ActiveDirectory.PSADPasswordCredential -Property $credentialProperties
$sp = New-AzADServicePrincipal -DisplayName $spDisplayName -PasswordCredential $credentials
$spAppId = $sp.ApplicationId
$spClientId = $sp.ApplicationId
$spObjectId = $sp.Id
Start-Sleep -Seconds $SecondsToWaitForServicePrincipalSetup
New-AzureRmRoleAssignment -RoleDefinitionName Contributor -ServicePrincipalName $spAppId
New-AzRoleAssignment -RoleDefinitionName Contributor -ServicePrincipalName $spAppId
Start-Sleep -Seconds $SecondsToWaitForServicePrincipalSetup
$sub = Get-AzureRmSubscription -SubscriptionId $SubscriptionId
$sub = Get-AzSubscription -SubscriptionId $SubscriptionId
$tenantId = $sub.TenantId
# "", "Note this variable-setting script for running Packer with these Azure resources in the future:", "==============================================================================================", "`$spClientId = `"$spClientId`"", "`$ServicePrincipalClientSecret = `"$ServicePrincipalClientSecret`"", "`$SubscriptionId = `"$SubscriptionId`"", "`$tenantId = `"$tenantId`"", "`$spObjectId = `"$spObjectId`"", "`$AzureLocation = `"$AzureLocation`"", "`$ResourceGroupName = `"$ResourceGroupName`"", "`$storageAccountName = `"$storageAccountName`"", "`$install_password = `"$install_password`"", ""

View File

@@ -7,6 +7,8 @@ jobs:
variables:
- group: Mac-Cloud Image Generation
- group: Mac-Cloud Image Generation Key Vault
- name: VirtualMachineName
value: $(Build.BuildNumber).$(System.JobAttempt)
steps:
- checkout: self
@@ -56,7 +58,7 @@ jobs:
-var="output_folder=$(output-folder)" `
-var="vm_username=$(vm-username)" `
-var="vm_password=$(vm-password)" `
-var="build_id=$(Build.BuildNumber)" `
-var="build_id=${{ variables.VirtualMachineName }}" `
-var="baseimage_name=${{ parameters.base_image_name }}" `
-var="github_feed_token=$(github-feed-token)" `
-var="xcode_install_user=$(xcode-installation-user)" `
@@ -83,7 +85,7 @@ jobs:
ls $(Common.TestResultsDirectory)
echo "Put VM name to 'VM_Done_Name' file"
echo "$(Build.BuildNumber)" > "$(Build.ArtifactStagingDirectory)/VM_Done_Name"
echo "${{ variables.VirtualMachineName }}" > "$(Build.ArtifactStagingDirectory)/VM_Done_Name"
displayName: Prepare artifact
- bash: |

View File

@@ -1,384 +1,223 @@
<!--- DO NOT EDIT - This markdown file is autogenerated. -->
| Announcements |
|-|
| [Default Python will be switched to 3.8 on Ubuntu 20.04 on October, 6](https://github.com/actions/virtual-environments/issues/1591) |
| [Clang/LLVM 10 will be set as a default one and Clang/LLVM 6 will be deprecated for Ubuntu 20.04 on September, 23](https://github.com/actions/virtual-environments/issues/1536) |
***
# Ubuntu 16.04.7 LTS
The following software is installed on machines with the 20200914.1 update.
***
- 7-Zip 9.20
- Ansible (ansible 2.9.13)
- AzCopy7 (available by azcopy alias) 7.3.0
- AzCopy10 (available by azcopy10 alias) 10.6.0
- Azure CLI (azure-cli 2.11.1)
- Azure CLI (azure-devops 0.18.0)
- Basic packages:
- dbus
- dnsutils
- dpkg
- fakeroot
- gnupg2
- iproute2
- iputils-ping
- lib32z1
- libc++abi-dev
- libc++-dev
- libcurl3
- libgbm-dev
- libgconf-2-4
- libgtk-3-0
- libicu55
- libsecret-1-dev
- libsqlite3-dev
- libunwind8
- libxkbfile-dev
- libxss1
- locales
- openssh-client
- pkg-config
- rpm
- texinfo
- tk
- tzdata
- upx
- xorriso
- xvfb
- xz-utils
- zstd
- zsync
- bison
- brotli
- bzip2
- curl
- file
- flex
- ftp
- jq
- m4
- netcat
- parallel
- patchelf
- rsync
- shellcheck
- sqlite3
- ssh
- sudo
- telnet
- time
- unzip
- wget
- yamllint
- zip
- Alibaba Cloud CLI (3.0.56)
- AWS CLI (aws-cli/1.18.137 Python/2.7.12 Linux/4.15.0-1095-azure botocore/1.17.60)
- AWS CLI Session manager plugin (1.1.61.0)
- build-essential
- nvm (0.35.3)
- Clang 6.0 (6.0.0)
- Clang 8 (8.0.0)
- Clang 9 (9.0.1)
- Swift version 5.2.5 (swift-5.2.5-RELEASE)
Target: x86_64-unknown-linux-gnu
- CMake (cmake version 3.17.0)
- Docker Compose (docker-compose version 1.27.2, build 18f557f9)
- Docker-Moby (Docker version 19.03.12+azure, build 0ed913b885c8919944a2e4c8d0b80a318a8dd48b)
- Docker-Buildx (0.4.2+azure)
- Cached container images
- node:10 (Digest: sha256:ab6f988c514b5c5fb6d5a6d18afb216084b256719791c6cc61096da58e66c436)
- node:12 (Digest: sha256:20ffb04c1d35e273dc7aa68fe31ef136630d95128689283a8eb914329158022b)
- buildpack-deps:stretch (Digest: sha256:4f72cea5afa05e21bf2aec93b219b0843a10af5e2f407cc184f211e45f929ccc)
- buildpack-deps:buster (Digest: sha256:8a76b9f9ee417eb330e97d3129e373277515e98d0f3a95a89ab944b645190efd)
- debian:9 (Digest: sha256:bc125c699d736ac84c92b76ab7028741bbac69f207b7a8a4065bca6f79d5698e)
- debian:8 (Digest: sha256:e180975d5c1012518e711c92ab26a4ff98218f439a97d9adbcd503b0d3ad1c8a)
- jekyll/builder:latest (Digest: sha256:4bc6a3b6eddebef1652ef38ceb965fc9c1b06677f65f764e1e17b88dc2aa9934)
- node:12-alpine (Digest: sha256:9623cd396644f9b2e595d833dc0188a880333674488d939338ab5fde10ef7c43)
- node:10-alpine (Digest: sha256:2f202af4d6baba655fef9c93f41a914b33ee576b9f55a6e69ba23b49e3b62766)
- alpine:3.9 (Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011)
- alpine:3.10 (Digest: sha256:f0e9534a598e501320957059cb2a23774b4d4072e37c7b2cf7e95b241f019e35)
- alpine:3.8 (Digest: sha256:2bb501e6173d9d006e56de5bce2720eb06396803300fe1687b58a7ff32bf4c14)
- ubuntu:14.04 (Digest: sha256:ffc76f71dd8be8c9e222d420dc96901a07b61616689a44c7b3ef6a10b7213de4)
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
- .NET Core SDK:
- 3.1.402
- 3.1.401
- 3.1.302
- 3.1.301
- 3.1.300
- 3.1.202
- 3.1.201
- 3.1.200
- 3.1.108
- 3.1.107
- 3.1.106
- 3.1.105
- 3.1.104
- 3.1.103
- 3.1.102
- 3.1.101
- 3.1.100
- 3.0.103
- 3.0.102
- 3.0.101
- 3.0.100
- 2.1.810
- 2.1.809
- 2.1.808
- 2.1.807
- 2.1.806
- 2.1.805
- 2.1.804
- 2.1.803
- 2.1.802
- 2.1.801
- 2.1.701
- 2.1.700
- 2.1.615
- 2.1.614
- 2.1.613
- 2.1.612
- 2.1.611
- 2.1.610
- 2.1.609
- 2.1.608
- 2.1.607
- 2.1.606
- 2.1.605
- 2.1.604
- 2.1.603
- 2.1.602
- 2.1.518
- 2.1.517
- 2.1.516
- 2.1.515
- 2.1.514
- 2.1.513
- 2.1.512
- 2.1.511
- 2.1.510
- 2.1.509
- 2.1.508
- 2.1.507
- 2.1.506
- 2.1.505
- 2.1.504
- 2.1.503
- 2.1.502
- 2.1.500
- 2.1.403
- 2.1.402
- 2.1.401
- 2.1.302
- 2.1.301
- 2.1.300
- Erlang (Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 11.0.3)
- Firefox (Mozilla Firefox 80.0.1)
- Geckodriver (0.27.0); Gecko Driver is available via GECKOWEBDRIVER environment variable
- GNU C++ 7.5.0
- GNU C++ 8.4.0
- GNU C++ 9.3.0
- GNU Fortran 8.4.0
- GNU Fortran 9.3.0
- Git (2.28.0)
- Git Large File Storage (LFS) (2.12.0)
- Git-ftp (1.0.2)
- Hub CLI (2.14.2)
- GitHub CLI 0.12.0
- Google Chrome (Google Chrome 85.0.4183.102 )
- ChromeDriver 85.0.4183.87 (cd6713ebf92fa1cacc0f1a598df280093af0c5d7-refs/branch-heads/4183@{#1689}); Chrome Driver is available via CHROMEWEBDRIVER environment variable
- Google Cloud SDK (309.0.0)
- Haskell Cabal (cabal-install version 3.4.0.0
compiled using version 3.4.0.0 of the Cabal library )
- GHC (The Glorious Glasgow Haskell Compilation System, version 8.10.2)
- Haskell Stack (Version 2.3.3, Git revision cb44d51bed48b723a5deb08c3348c0b3ccfc437e x86_64 hpack-0.33.0)
- Heroku (heroku/7.42.13 linux-x64 node-v12.16.2)
- HHVM (HipHop VM 4.56.1 (rel))
- ImageMagick
- Azul Zulu OpenJDK:
- 7 (openjdk version "1.7.0_272")
- Adopt OpenJDK:
- 8 (openjdk version "1.8.0_265") (default)
- 11 (openjdk version "11.0.8" 2020-07-14)
- 12 (openjdk version "12.0.2" 2019-07-16)
- Ant (Apache Ant(TM) version 1.9.6 compiled on July 20 2018)
- Image Version: 20200920.1
## Installed Software
### Language and Runtime
- GNU C++ 5.5.0, 7.5.0, 8.4.0, 9.3.0
- GNU Fortran 5.5.0, 8.4.0, 9.3.0
- Clang 6.0.0, 8.0.0, 9.0.1
- Erlang 11.0.3
- Mono 6.12.0.90
- Node 12.18.4
- Python 2.7.12
- Python3 3.5.2
- PowerShell 7.0.3
- Ruby 2.3.1p112
- Swift 5.3
- Julia 1.5.1
### Package Management
- Homebrew 2.5.1
- Gem 3.1.4
- Miniconda 4.8.3
- Helm
- Npm 6.14.8
- Yarn
- Pip 8.1.1
- Pip3 8.1.1
- Vcpkg 2020.06.15
### Project Management
- Ant 1.9.6
- Gradle 6.6.1
- Maven (Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f))
- Kind (kind v0.8.1 go1.14.2 linux/amd64)
- kubectl (Client Version: v1.19.1)
- helm (v3.3.1+g249e521)
- minikube version: v1.13.0
- kustomize ({kustomize/v3.8.2 2020-08-29T17:44:01Z })
- oc CLI Client Version: 4.5.0-202005291417-9933eb9
- Leiningen (Leiningen 2.9.4 on Java 1.8.0_265 OpenJDK 64-Bit Server VM)
- Mercurial (Mercurial Distributed SCM (version 4.4.1))
- Miniconda (conda 4.8.3)
- Mono (Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 13:58:50 UTC 2020))
- NuGet (NuGet Version: 5.5.0.6382)
- MySQL (mysql Ver 14.14 Distrib 5.7.31, for Linux (x86_64) using EditLine wrapper)
- Maven 3.6.3
- Sbt 1.3.13
### Tools
- 7-Zip 9.20
- Ansible 2.9.13
- AzCopy10 10.6.0 (available by `azcopy10` alias)
- AzCopy7 7.3.0 (available by `azcopy` alias)
- Bazel 3.5.0
- Bazelisk 1.6.1
- CMake 3.17.0
- curl 7.47.0
- Docker Compose 1.27.3
- Docker-Buildx 0.4.2
- Docker-Moby 19.03.12
- Git 2.28.0
- Git LFS 2.12.0
- Git-ftp 1.0.2
- Google Cloud SDK 310.0.0
- Haveged 1.9.1
- Heroku 7.43.0
- HHVM (HipHop VM) 4.56.1
- jq 1.5
- Kind 0.9.0
- Kubectl 1.19.2
- Kustomize 3.8.4
- Leiningen 2.9.4
- m4 1.4.17
- Mercurial 4.4.1
- Minikube 1.13.0
- Newman 5.2.0
- nvm 0.35.3
- Packer 1.6.2
- PhantomJS 2.1.1
- SVN 1.9.3
- Swig 3.0.8
- Terraform 0.13.3
- unzip 6.00
- wget 1.17.1
- zip 3.0
- zstd 1.3.1
### CLI Tools
- Alibaba Cloud CLI 3.0.59
- AWS CLI 1.18.142
- AWS CLI Session manager plugin 1.1.61.0
- AWS SAM CLI 1.2.0
- Azure CLI (azure-cli) 2.11.1
- Azure CLI (azure-devops) 0.18.0
- GitHub CLI
- Hub CLI 2.14.2
- Netlify CLI 2.63.2
- oc CLI 4.5.0
- ORAS CLI 0.8.1
- Vercel CLI 20.1.0
### Java
| Version | Vendor | Environment Variable |
| ------------------- | ------------ | -------------------- |
| 1.7.0_272 | Zulu | JAVA_HOME_7_X64 |
| 1.8.0_265 (default) | AdoptOpenJDK | JAVA_HOME_8_X64 |
| 11.0.8 | AdoptOpenJDK | JAVA_HOME_11_X64 |
| 12.0.2 | AdoptOpenJDK | JAVA_HOME_12_X64 |
### PHP
| Tool | Version |
| -------- | ----------------------------------------- |
| PHP | 5.6.40 7.0.33 7.1.33 7.2.33 7.3.22 7.4.10 |
| Composer | 1.10.13 |
| PHPUnit | 7.5.20 |
### Haskell
- GHC 8.10.2
- Cabal 3.4.0.0
- Stack 2.3.3
### Rust Tools
- Rust 1.46.0
- Rustup 1.22.1
- Rustdoc 1.46.0
- Cargo 1.46.0
#### Packages
- Bindgen 0.55.1
- Cargo audit 0.12.0
- Cargo outdated 0.9.11
- Cargo clippy 0.0.212
- Cbindgen 0.14.5
- Rustfmt 1.4.18
### Browsers and Drivers
- Google Chrome 85.0.4183.102
- ChromeDriver 85.0.4183.87
- Mozilla Firefox 80.0.1
- Geckodriver 0.27.0
### .NET Core SDK
- 2.1.300 2.1.301 2.1.302 2.1.401 2.1.402 2.1.403 2.1.500 2.1.502 2.1.503 2.1.504 2.1.505 2.1.506 2.1.507 2.1.508 2.1.509 2.1.510 2.1.511 2.1.512 2.1.513 2.1.514 2.1.515 2.1.516 2.1.517 2.1.518 2.1.602 2.1.603 2.1.604 2.1.605 2.1.606 2.1.607 2.1.608 2.1.609 2.1.610 2.1.611 2.1.612 2.1.613 2.1.614 2.1.615 2.1.700 2.1.701 2.1.801 2.1.802 2.1.803 2.1.804 2.1.805 2.1.806 2.1.807 2.1.808 2.1.809 2.1.810 3.0.100 3.0.101 3.0.102 3.0.103 3.1.100 3.1.101 3.1.102 3.1.103 3.1.104 3.1.105 3.1.106 3.1.107 3.1.108 3.1.200 3.1.201 3.1.202 3.1.300 3.1.301 3.1.302 3.1.401 3.1.402
### Az Module
- 1.0.0 1.6.0 2.3.2 2.6.0 2.8.0 3.1.0 3.5.0 3.8.0 4.3.0 4.4.0 4.6.0
### Databases
- Postgre SQL 12.4
- MongoDB 4.4.1
- sqlite3 3.11.0
#### MySQL
- MySQL 5.7.31
- MySQL Server (user:root password:root)
- MS SQL Server Client Tools
- MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
- Node.js (v12.18.3)
- Grunt (grunt-cli v1.3.2)
- Gulp (CLI version: 2.3.0
Local version: Unknown)
- n (6.7.0)
- Parcel (1.12.4)
- TypeScript (Version 4.0.2)
- Webpack (4.44.1)
- Webpack CLI (3.3.12)
- Yarn (1.22.5)
- Newman (5.2.0)
- Bazel (bazel 3.5.0)
- Bazelisk (1.6.1)
- ORAS CLI 0.8.1
- PhantomJS (2.1.1)
- PHP 5.6 (PHP 5.6.40-30+ubuntu16.04.1+deb.sury.org+1 (cli) )
- PHP 7.0 (PHP 7.0.33-30+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Aug 7 2020 14:46:59) ( NTS ))
- PHP 7.1 (PHP 7.1.33-17+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Aug 7 2020 14:46:52) ( NTS ))
- PHP 7.2 (PHP 7.2.33-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Aug 7 2020 14:43:59) ( NTS ))
- PHP 7.3 (PHP 7.3.22-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Sep 9 2020 06:46:12) ( NTS ))
- PHP 7.4 (PHP 7.4.10 (cli) (built: Sep 9 2020 06:35:57) ( NTS ))
- Composer (Composer version 1.10.13 2020-09-09 11:46:34)
- PHPUnit (PHPUnit 7.5.20 by Sebastian Bergmann and contributors.)
- Pollinate
- psql (PostgreSQL) 12.4
- Powershell (PowerShell 7.0.3)
- Pulumi v2.10.0
- ruby (2.3.1p112)
- gem (3.1.4)
- OpenSSL 1.1.0h 27 Mar 2018 (Library: OpenSSL 1.1.1g 21 Apr 2020)
- Libssl 1.1.1g-1+ubuntu16.04.1+deb.sury.org+1
- R 4.0.2
- rustup (1.22.1)
- rust (1.46.0)
- cargo (1.46.0)
- rustfmt (1.4.18-stable)
- clippy (0.0.212)
- rustdoc (1.46.0)
- bindgen (0.55.1)
- cbindgen (0.14.4)
- cargo audit (0.12.0)
- cargo outdated (v0.9.11)
- Julia (julia version 1.5.1)
- sbt (1.3.13)
- Selenium server standalone (available via SELENIUM_JAR_PATH environment variable)
- Sphinx Open Source Search Server
- Subversion (svn, version 1.9.3 (r1718519))
- Terraform (Terraform v0.13.2)
- Packer (1.6.2)
- Vcpkg 2020.06.15-unknownhash
- Vercel CLI (20.1.0)
- MongoDB on Linux v4.4.1
- Haveged 1.9.1-3
- Swig 3.0.8
- Netlify CLI (netlify-cli/2.63.0 linux-x64 node-v12.18.3)
- Google Repository 58
- Google Play services 49
- Google APIs 24
- Google APIs 23
- Google APIs 22
- Google APIs 21
- CMake 3.10.2.4988404
3.6.4111459
- Android ConstraintLayout 1.0.2
- Android ConstraintLayout 1.0.1
- Android ConstraintLayout Solver 1.0.2
- Android ConstraintLayout Solver 1.0.1
- Android SDK Platform-Tools 30.0.4
- Android SDK Platform 30
- Android SDK Platform 29
- Android SDK Platform 28
- Android SDK Platform 27
- Android SDK Platform 26
- Android SDK Platform 25
- Android SDK Platform 24
- Android SDK Platform 23
- Android SDK Platform 22
- Android SDK Platform 21
- Android SDK Platform 19
- Android SDK Platform 17
- Android SDK Platform 15
- Android SDK Platform 10
- Android SDK Patch Applier v4
- Android SDK Build-Tools 30.0.2
- Android SDK Build-Tools 30.0.1
- Android SDK Build-Tools 30.0.0
- Android SDK Build-Tools 29.0.3
- Android SDK Build-Tools 29.0.2
- Android SDK Build-Tools 29.0.0
- Android SDK Build-Tools 28.0.3
- Android SDK Build-Tools 28.0.2
- Android SDK Build-Tools 28.0.1
- Android SDK Build-Tools 28.0.0
- Android SDK Build-Tools 27.0.3
- Android SDK Build-Tools 27.0.2
- Android SDK Build-Tools 27.0.1
- Android SDK Build-Tools 27.0.0
- Android SDK Build-Tools 26.0.3
- Android SDK Build-Tools 26.0.2
- Android SDK Build-Tools 26.0.1
- Android SDK Build-Tools 26.0.0
- Android SDK Build-Tools 25.0.3
- Android SDK Build-Tools 25.0.2
- Android SDK Build-Tools 25.0.1
- Android SDK Build-Tools 25.0.0
- Android SDK Build-Tools 24.0.3
- Android SDK Build-Tools 24.0.2
- Android SDK Build-Tools 24.0.1
- Android SDK Build-Tools 24.0.0
- Android SDK Build-Tools 23.0.3
- Android SDK Build-Tools 23.0.2
- Android SDK Build-Tools 23.0.1
- Android SDK Build-Tools 22.0.1
- Android SDK Build-Tools 21.1.2
- Android SDK Build-Tools 20.0.0
- Android SDK Build-Tools 19.1.0
- Android SDK Build-Tools 17.0.0
- Android NDK 21.3.6528147
- Az Module (1.0.0)
- Az Module (1.6.0)
- Az Module (2.3.2)
- Az Module (2.6.0)
- Az Module (2.8.0)
- Az Module (3.1.0)
- Az Module (3.5.0)
- Az Module (3.8.0)
- Az Module (4.3.0)
- Az Module (4.4.0)
- Az Module (4.6.0)
- Ruby:
- Ruby 2.4.10
- Ruby 2.5.8
- Ruby 2.6.6
- Ruby 2.7.1
- Python (Python 2.7.12)
- pip (pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7))
- Python3 (Python 3.5.2)
- pip3 (pip 8.1.1 from /usr/lib/python3/dist-packages (python 3.5))
- Python:
- Python 2.7.18
- Python 3.5.10
- Python 3.6.12
- Python 3.7.9
- Python 3.8.5
- PyPy:
- PyPy 2.7.13 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- PyPy 3.6.9 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- node:
- node 8.17.0
- node 10.22.0
- node 12.18.3
- node 14.10.1
- go:
- go 1.11.13
- go 1.12.17
- go 1.13.15
- go 1.14.9
- go 1.15.2
- boost:
- boost 1.69.0
- boost 1.72.0
- AWS SAM CLI, version 1.2.0
- Homebrew on Linux (Homebrew 2.5.1
Homebrew/linuxbrew-core (git revision d52011; last commit 2020-09-12))
```
MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
```
### Cached Tools
#### Ruby
- 2.4.10
- 2.5.8
- 2.6.6
- 2.7.1
#### Python
- 2.7.18
- 3.5.10
- 3.6.12
- 3.7.9
- 3.8.5
#### PyPy
- 2.7.13 [PyPy 7.3.1]
- 3.6.9 [PyPy 7.3.1]
#### Node.js
- 8.17.0
- 10.22.1
- 12.18.4
- 14.11.0
#### Go
- 1.11.13
- 1.12.17
- 1.13.15
- 1.14.9
- 1.15.2
#### Boost
- 1.69.0
- 1.72.0
### 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-19 (rev 4)<br>android-17 (rev 3)<br>android-15 (rev 5)<br>android-10 (rev 2) |
| Android SDK Build-tools | 30.0.0 30.0.1 30.0.2<br>29.0.0 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<br>17.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 |
| NDK | 21.3.6528147 |
| Android Support Repository | 47.0.0 |
| Google Play services | 49 |
| Google Repository | 58 |
| SDK Patch Applier v4 | 1 |
| CMake | 3.10.2<br>3.6.4111459 |
### Cached Docker images
- alpine:3.7
- alpine:3.8
- alpine:3.9
- alpine:3.10
- buildpack-deps:stretch
- buildpack-deps:buster
- debian:8
- debian:9
- jekyll/builder
- mcr.microsoft.com/azure-pipelines/node8-typescript
- node:10
- node:12
- node:10-alpine
- node:12-alpine
- ubuntu:14.04
### Installed apt packages
- bison, brotli, bzip2, curl, dbus, dnsutils, dpkg, fakeroot, file, flex, ftp, gnupg2, iproute2, iputils-ping, jq, lib32z1, libc++-dev, libc++abi-dev, libcurl3, libgbm-dev, libgconf-2-4, libgtk-3-0, libicu55, libsecret-1-dev, libsqlite3-dev, libunwind8, libxkbfile-dev, libxss1, locales, m4, netcat, openssh-client, parallel, patchelf, pkg-config, rpm, rsync, shellcheck, sqlite3, ssh, sudo, telnet, texinfo, time, tk, tzdata, unzip, upx, wget, xorriso, xvfb, xz-utils, yamllint, zip, zstd, zsync

View File

@@ -1,378 +1,226 @@
<!--- DO NOT EDIT - This markdown file is autogenerated. -->
| Announcements |
|-|
| [Default Python will be switched to 3.8 on Ubuntu 20.04 on October, 6](https://github.com/actions/virtual-environments/issues/1591) |
| [Clang/LLVM 10 will be set as a default one and Clang/LLVM 6 will be deprecated for Ubuntu 20.04 on September, 23](https://github.com/actions/virtual-environments/issues/1536) |
***
# Ubuntu 18.04.5 LTS
The following software is installed on machines with the 20200914.1 update.
***
- 7-Zip 16.02
- Ansible (ansible 2.9.13)
- AzCopy7 (available by azcopy alias) 7.3.0
- AzCopy10 (available by azcopy10 alias) 10.6.0
- Azure CLI (azure-cli 2.11.1)
- Azure CLI (azure-devops 0.18.0)
- Basic packages:
- dbus
- dnsutils
- dpkg
- fakeroot
- gnupg2
- iproute2
- iputils-ping
- lib32z1
- libc++abi-dev
- libc++-dev
- libcurl3
- libgbm-dev
- libgconf-2-4
- libgtk-3-0
- libsecret-1-dev
- libsqlite3-dev
- libunwind8
- libxkbfile-dev
- libxss1
- locales
- openssh-client
- pkg-config
- rpm
- texinfo
- tk
- tzdata
- upx
- xorriso
- xvfb
- xz-utils
- zstd
- zsync
- bison
- brotli
- bzip2
- curl
- file
- flex
- ftp
- jq
- m4
- netcat
- parallel
- patchelf
- rsync
- shellcheck
- sqlite3
- ssh
- sudo
- telnet
- time
- unzip
- wget
- yamllint
- zip
- Alibaba Cloud CLI (3.0.56)
- AWS CLI (aws-cli/1.18.137 Python/2.7.17 Linux/5.4.0-1025-azure botocore/1.17.60)
- AWS CLI Session manager plugin (1.1.61.0)
- build-essential
- Clang 6.0 (6.0.0)
- Clang 8 (8.0.0)
- Clang 9 (9.0.0)
- Swift version 5.2.5 (swift-5.2.5-RELEASE)
Target: x86_64-unknown-linux-gnu
- CMake (cmake version 3.17.0)
- Podman (2.0.6)
- Buildah (1.15.2)
- Skopeo (1.1.1)
- Docker Compose (docker-compose version 1.27.2, build 18f557f9)
- Docker-Moby (Docker version 19.03.12+azure, build 0ed913b885c8919944a2e4c8d0b80a318a8dd48b)
- Docker-Buildx (0.4.2+azure)
- Cached container images
- node:10 (Digest: sha256:ab6f988c514b5c5fb6d5a6d18afb216084b256719791c6cc61096da58e66c436)
- node:12 (Digest: sha256:20ffb04c1d35e273dc7aa68fe31ef136630d95128689283a8eb914329158022b)
- buildpack-deps:stretch (Digest: sha256:4f72cea5afa05e21bf2aec93b219b0843a10af5e2f407cc184f211e45f929ccc)
- buildpack-deps:buster (Digest: sha256:8a76b9f9ee417eb330e97d3129e373277515e98d0f3a95a89ab944b645190efd)
- debian:9 (Digest: sha256:bc125c699d736ac84c92b76ab7028741bbac69f207b7a8a4065bca6f79d5698e)
- debian:8 (Digest: sha256:e180975d5c1012518e711c92ab26a4ff98218f439a97d9adbcd503b0d3ad1c8a)
- jekyll/builder:latest (Digest: sha256:4bc6a3b6eddebef1652ef38ceb965fc9c1b06677f65f764e1e17b88dc2aa9934)
- node:12-alpine (Digest: sha256:9623cd396644f9b2e595d833dc0188a880333674488d939338ab5fde10ef7c43)
- node:10-alpine (Digest: sha256:2f202af4d6baba655fef9c93f41a914b33ee576b9f55a6e69ba23b49e3b62766)
- alpine:3.9 (Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011)
- alpine:3.10 (Digest: sha256:f0e9534a598e501320957059cb2a23774b4d4072e37c7b2cf7e95b241f019e35)
- alpine:3.8 (Digest: sha256:2bb501e6173d9d006e56de5bce2720eb06396803300fe1687b58a7ff32bf4c14)
- ubuntu:14.04 (Digest: sha256:ffc76f71dd8be8c9e222d420dc96901a07b61616689a44c7b3ef6a10b7213de4)
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
- .NET Core SDK:
- 3.1.402
- 3.1.401
- 3.1.302
- 3.1.301
- 3.1.300
- 3.1.202
- 3.1.201
- 3.1.200
- 3.1.108
- 3.1.107
- 3.1.106
- 3.1.105
- 3.1.104
- 3.1.103
- 3.1.102
- 3.1.101
- 3.1.100
- 3.0.103
- 3.0.102
- 3.0.101
- 3.0.100
- 2.1.810
- 2.1.809
- 2.1.808
- 2.1.807
- 2.1.806
- 2.1.805
- 2.1.804
- 2.1.803
- 2.1.802
- 2.1.801
- 2.1.701
- 2.1.700
- 2.1.615
- 2.1.614
- 2.1.613
- 2.1.612
- 2.1.611
- 2.1.610
- 2.1.609
- 2.1.608
- 2.1.607
- 2.1.606
- 2.1.605
- 2.1.604
- 2.1.603
- 2.1.602
- 2.1.518
- 2.1.517
- 2.1.516
- 2.1.515
- 2.1.514
- 2.1.513
- 2.1.512
- 2.1.511
- 2.1.510
- 2.1.509
- 2.1.508
- 2.1.507
- 2.1.506
- 2.1.505
- 2.1.504
- 2.1.503
- 2.1.502
- 2.1.500
- 2.1.403
- 2.1.402
- 2.1.401
- 2.1.302
- 2.1.301
- 2.1.300
- Erlang (Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 11.0.3)
- Firefox (Mozilla Firefox 80.0.1)
- Geckodriver (0.27.0); Gecko Driver is available via GECKOWEBDRIVER environment variable
- GNU C++ 7.5.0
- GNU C++ 8.4.0
- GNU C++ 9.3.0
- GNU Fortran 8.4.0
- GNU Fortran 9.3.0
- Git (2.28.0)
- Git Large File Storage (LFS) (2.12.0)
- Git-ftp (1.3.1)
- Hub CLI (2.14.2)
- GitHub CLI 0.12.0
- Google Chrome (Google Chrome 85.0.4183.102 )
- ChromeDriver 85.0.4183.87 (cd6713ebf92fa1cacc0f1a598df280093af0c5d7-refs/branch-heads/4183@{#1689}); Chrome Driver is available via CHROMEWEBDRIVER environment variable
- Google Cloud SDK (309.0.0)
- Haskell Cabal (cabal-install version 3.4.0.0
compiled using version 3.4.0.0 of the Cabal library )
- GHC (The Glorious Glasgow Haskell Compilation System, version 8.10.2)
- Haskell Stack (Version 2.3.3, Git revision cb44d51bed48b723a5deb08c3348c0b3ccfc437e x86_64 hpack-0.33.0)
- Heroku (heroku/7.42.13 linux-x64 node-v12.16.2)
- HHVM (HipHop VM 4.74.0 (rel))
- ImageMagick
- Azul Zulu OpenJDK:
- 7 (openjdk version "1.7.0_272")
- Adopt OpenJDK:
- 8 (openjdk version "1.8.0_265") (default)
- 11 (openjdk version "11.0.8" 2020-07-14)
- 12 (openjdk version "12.0.2" 2019-07-16)
- Ant (Apache Ant(TM) version 1.10.5 compiled on March 28 2019)
- Image Version: 20200920.1
## Installed Software
### Language and Runtime
- GNU C++ 7.5.0, 8.4.0, 9.3.0
- GNU Fortran 7.5.0, 8.4.0, 9.3.0
- Clang 6.0.0, 8.0.0, 9.0.0
- Erlang 11.0.3
- Mono 6.12.0.90
- Node 12.18.4
- Python 2.7.17
- Python3 3.6.9
- PowerShell 7.0.3
- Ruby 2.5.1p57
- Swift 5.3
- Julia 1.5.1
### Package Management
- Homebrew 2.5.1
- Gem 3.1.4
- Miniconda 4.8.3
- Helm
- Npm 6.14.8
- Yarn
- Pip 9.0.1
- Pip3 9.0.1
- Vcpkg 2020.06.15
### Project Management
- Ant 1.10.5
- Gradle 6.6.1
- Maven (Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f))
- Kind (kind v0.8.1 go1.14.2 linux/amd64)
- kubectl (Client Version: v1.19.1)
- helm (v3.3.1+g249e521)
- minikube version: v1.13.0
- kustomize ({kustomize/v3.8.2 2020-08-29T17:44:01Z })
- oc CLI Client Version: 4.5.0-202005291417-9933eb9
- Leiningen (Leiningen 2.9.4 on Java 1.8.0_265 OpenJDK 64-Bit Server VM)
- Mercurial (Mercurial Distributed SCM (version 4.5.3))
- Miniconda (conda 4.8.3)
- Mono (Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:01:23 UTC 2020))
- NuGet (NuGet Version: 5.5.0.6382)
- MySQL (mysql Ver 14.14 Distrib 5.7.31, for Linux (x86_64) using EditLine wrapper)
- Maven 3.6.3
- Sbt 1.3.13
### Tools
- 7-Zip 16.02
- Ansible 2.9.13
- AzCopy10 10.6.0 (available by `azcopy10` alias)
- AzCopy7 7.3.0 (available by `azcopy` alias)
- Bazel 3.5.0
- Bazelisk 1.6.1
- Buildah
- CMake 3.17.0
- curl 7.58.0
- Docker Compose 1.27.3
- Docker-Buildx 0.4.2
- Docker-Moby 19.03.12
- Git 2.28.0
- Git LFS 2.12.0
- Git-ftp 1.3.1
- Google Cloud SDK 310.0.0
- Haveged 1.9.1
- Heroku 7.43.0
- HHVM (HipHop VM) 4.75.0
- jq 1.5
- Kind 0.9.0
- Kubectl 1.19.2
- Kustomize 3.8.4
- Leiningen 2.9.4
- m4 1.4.18
- Mercurial 4.5.3
- Minikube 1.13.0
- Newman 5.2.0
- nvm 0.35.3
- Packer 1.6.2
- PhantomJS 2.1.1
- Podman
- Skopeo 1.1.1
- SVN 1.9.7
- Swig 3.0.12
- Terraform 0.13.3
- unzip 6.00
- wget 1.19.4
- zip 3.0
- zstd 1.3.3
### CLI Tools
- Alibaba Cloud CLI 3.0.59
- AWS CLI 1.18.142
- AWS CLI Session manager plugin 1.1.61.0
- AWS SAM CLI 1.2.0
- Azure CLI (azure-cli) 2.11.1
- Azure CLI (azure-devops) 0.18.0
- GitHub CLI
- Hub CLI 2.14.2
- Netlify CLI 2.63.2
- oc CLI 4.5.0
- ORAS CLI 0.8.1
- Vercel CLI 20.1.0
### Java
| Version | Vendor | Environment Variable |
| ------------------- | ------------ | -------------------- |
| 1.7.0_272 | Zulu | JAVA_HOME_7_X64 |
| 1.8.0_265 (default) | AdoptOpenJDK | JAVA_HOME_8_X64 |
| 11.0.8 | AdoptOpenJDK | JAVA_HOME_11_X64 |
| 12.0.2 | AdoptOpenJDK | JAVA_HOME_12_X64 |
### PHP
| Tool | Version |
| -------- | --------------------------- |
| PHP | 7.1.33 7.2.33 7.3.22 7.4.10 |
| Composer | 1.10.13 |
| PHPUnit | 7.5.20 |
### Haskell
- GHC 8.10.2
- Cabal 3.4.0.0
- Stack 2.3.3
### Rust Tools
- Rust 1.46.0
- Rustup 1.22.1
- Rustdoc 1.46.0
- Cargo 1.46.0
#### Packages
- Bindgen 0.55.1
- Cargo audit 0.12.0
- Cargo outdated 0.9.11
- Cargo clippy 0.0.212
- Cbindgen 0.14.5
- Rustfmt 1.4.18
### Browsers and Drivers
- Google Chrome 85.0.4183.102
- ChromeDriver 85.0.4183.87
- Mozilla Firefox 80.0.1
- Geckodriver 0.27.0
### .NET Core SDK
- 2.1.300 2.1.301 2.1.302 2.1.401 2.1.402 2.1.403 2.1.500 2.1.502 2.1.503 2.1.504 2.1.505 2.1.506 2.1.507 2.1.508 2.1.509 2.1.510 2.1.511 2.1.512 2.1.513 2.1.514 2.1.515 2.1.516 2.1.517 2.1.518 2.1.602 2.1.603 2.1.604 2.1.605 2.1.606 2.1.607 2.1.608 2.1.609 2.1.610 2.1.611 2.1.612 2.1.613 2.1.614 2.1.615 2.1.700 2.1.701 2.1.801 2.1.802 2.1.803 2.1.804 2.1.805 2.1.806 2.1.807 2.1.808 2.1.809 2.1.810 3.0.100 3.0.101 3.0.102 3.0.103 3.1.100 3.1.101 3.1.102 3.1.103 3.1.104 3.1.105 3.1.106 3.1.107 3.1.108 3.1.200 3.1.201 3.1.202 3.1.300 3.1.301 3.1.302 3.1.401 3.1.402
### Az Module
- 1.0.0 1.6.0 2.3.2 2.6.0 2.8.0 3.1.0 3.5.0 3.8.0 4.3.0 4.4.0 4.6.0
### Databases
- Postgre SQL 12.4
- MongoDB 4.4.1
- sqlite3 3.22.0
#### MySQL
- MySQL 5.7.31
- MySQL Server (user:root password:root)
- MS SQL Server Client Tools
- MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
- nvm (0.35.3)
- Node.js (v12.18.3)
- Grunt (grunt-cli v1.3.2)
- Gulp (CLI version: 2.3.0
Local version: Unknown)
- n (6.7.0)
- Parcel (1.12.4)
- TypeScript (Version 4.0.2)
- Webpack (4.44.1)
- Webpack CLI (3.3.12)
- Yarn (1.22.5)
- Newman (5.2.0)
- Bazel (bazel 3.5.0)
- Bazelisk (1.6.1)
- ORAS CLI 0.8.1
- PhantomJS (2.1.1)
- PHP 7.1 (PHP 7.1.33-17+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Aug 7 2020 14:47:20) ( NTS ))
- PHP 7.2 (PHP 7.2.33-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Aug 7 2020 14:44:29) ( NTS ))
- PHP 7.3 (PHP 7.3.22-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Sep 9 2020 06:46:30) ( NTS ))
- PHP 7.4 (PHP 7.4.10 (cli) (built: Sep 9 2020 06:36:14) ( NTS ))
- Composer (Composer version 1.10.13 2020-09-09 11:46:34)
- PHPUnit (PHPUnit 7.5.20 by Sebastian Bergmann and contributors.)
- Pollinate
- psql (PostgreSQL) 12.4
- Powershell (PowerShell 7.0.3)
- Pulumi v2.10.0
- ruby (2.5.1p57)
- gem (3.1.4)
- OpenSSL 1.1.1g 21 Apr 2020
- Libssl 1.1.1g-1+ubuntu18.04.1+deb.sury.org+1
- R 4.0.2
- rustup (1.22.1)
- rust (1.46.0)
- cargo (1.46.0)
- rustfmt (1.4.18-stable)
- clippy (0.0.212)
- rustdoc (1.46.0)
- bindgen (0.55.1)
- cbindgen (0.14.4)
- cargo audit (0.12.0)
- cargo outdated (v0.9.11)
- Julia (julia version 1.5.1)
- sbt (1.3.13)
- Selenium server standalone (available via SELENIUM_JAR_PATH environment variable)
- Sphinx Open Source Search Server
- Subversion (svn, version 1.9.7 (r1800392))
- Terraform (Terraform v0.13.2)
- Packer (1.6.2)
- Vcpkg 2020.06.15-unknownhash
- Vercel CLI (20.1.0)
- MongoDB on Linux v4.4.1
- Haveged 1.9.1-6
- Swig 3.0.12
- Netlify CLI (netlify-cli/2.63.0 linux-x64 node-v12.18.3)
- Google Repository 58
- Google Play services 49
- Google APIs 24
- Google APIs 23
- Google APIs 22
- Google APIs 21
- CMake 3.10.2.4988404
3.6.4111459
- Android SDK Platform-Tools 30.0.4
- Android SDK Platform 30
- Android SDK Platform 29
- Android SDK Platform 28
- Android SDK Platform 27
- Android SDK Platform 26
- Android SDK Platform 25
- Android SDK Platform 24
- Android SDK Platform 23
- Android SDK Platform 22
- Android SDK Platform 21
- Android SDK Platform 19
- Android SDK Platform 17
- Android SDK Patch Applier v4
- Android SDK Build-Tools 30.0.2
- Android SDK Build-Tools 30.0.1
- Android SDK Build-Tools 30.0.0
- Android SDK Build-Tools 29.0.3
- Android SDK Build-Tools 29.0.2
- Android SDK Build-Tools 29.0.0
- Android SDK Build-Tools 28.0.3
- Android SDK Build-Tools 28.0.2
- Android SDK Build-Tools 28.0.1
- Android SDK Build-Tools 28.0.0
- Android SDK Build-Tools 27.0.3
- Android SDK Build-Tools 27.0.2
- Android SDK Build-Tools 27.0.1
- Android SDK Build-Tools 27.0.0
- Android SDK Build-Tools 26.0.3
- Android SDK Build-Tools 26.0.2
- Android SDK Build-Tools 26.0.1
- Android SDK Build-Tools 26.0.0
- Android SDK Build-Tools 25.0.3
- Android SDK Build-Tools 25.0.2
- Android SDK Build-Tools 25.0.1
- Android SDK Build-Tools 25.0.0
- Android SDK Build-Tools 24.0.3
- Android SDK Build-Tools 24.0.2
- Android SDK Build-Tools 24.0.1
- Android SDK Build-Tools 24.0.0
- Android SDK Build-Tools 23.0.3
- Android SDK Build-Tools 23.0.2
- Android SDK Build-Tools 23.0.1
- Android SDK Build-Tools 22.0.1
- Android SDK Build-Tools 21.1.2
- Android SDK Build-Tools 20.0.0
- Android SDK Build-Tools 19.1.0
- Android SDK Build-Tools 17.0.0
- Android NDK 21.3.6528147
- Az Module (1.0.0)
- Az Module (1.6.0)
- Az Module (2.3.2)
- Az Module (2.6.0)
- Az Module (2.8.0)
- Az Module (3.1.0)
- Az Module (3.5.0)
- Az Module (3.8.0)
- Az Module (4.3.0)
- Az Module (4.4.0)
- Az Module (4.6.0)
- Ruby:
- Ruby 2.4.10
- Ruby 2.5.8
- Ruby 2.6.6
- Ruby 2.7.1
- Python (Python 2.7.17)
- pip (pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7))
- Python3 (Python 3.6.9)
- pip3 (pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6))
- Python:
- Python 2.7.18
- Python 3.5.10
- Python 3.6.12
- Python 3.7.9
- Python 3.8.5
- PyPy:
- PyPy 2.7.13 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- PyPy 3.6.9 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- node:
- node 8.17.0
- node 10.22.0
- node 12.18.3
- node 14.10.1
- go:
- go 1.11.13
- go 1.12.17
- go 1.13.15
- go 1.14.9
- go 1.15.2
- boost:
- boost 1.69.0
- boost 1.72.0
- AWS SAM CLI, version 1.2.0
- Homebrew on Linux (Homebrew 2.5.1
Homebrew/linuxbrew-core (git revision d52011; last commit 2020-09-12))
```
MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
```
### Cached Tools
#### Ruby
- 2.4.10
- 2.5.8
- 2.6.6
- 2.7.1
#### Python
- 2.7.18
- 3.5.10
- 3.6.12
- 3.7.9
- 3.8.5
#### PyPy
- 2.7.13 [PyPy 7.3.1]
- 3.6.9 [PyPy 7.3.1]
#### Node.js
- 8.17.0
- 10.22.1
- 12.18.4
- 14.11.0
#### Go
- 1.11.13
- 1.12.17
- 1.13.15
- 1.14.9
- 1.15.2
#### Boost
- 1.69.0
- 1.72.0
### 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-19 (rev 4)<br>android-17 (rev 3) |
| Android SDK Build-tools | 30.0.0 30.0.1 30.0.2<br>29.0.0 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<br>17.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 |
| NDK | 21.3.6528147 |
| Android Support Repository | 47.0.0 |
| Google Play services | 49 |
| Google Repository | 58 |
| SDK Patch Applier v4 | 1 |
| CMake | 3.10.2<br>3.6.4111459 |
### Cached Docker images
- alpine:3.7
- alpine:3.8
- alpine:3.9
- alpine:3.10
- buildpack-deps:stretch
- buildpack-deps:buster
- debian:8
- debian:9
- jekyll/builder
- mcr.microsoft.com/azure-pipelines/node8-typescript
- node:10
- node:12
- node:10-alpine
- node:12-alpine
- ubuntu:14.04
### Installed apt packages
- bison, brotli, bzip2, curl, dbus, dnsutils, dpkg, fakeroot, file, flex, ftp, gnupg2, iproute2, iputils-ping, jq, lib32z1, libc++-dev, libc++abi-dev, libcurl3, libgbm-dev, libgconf-2-4, libgtk-3-0, libsecret-1-dev, libsqlite3-dev, libunwind8, libxkbfile-dev, libxss1, locales, m4, netcat, openssh-client, parallel, patchelf, pkg-config, rpm, rsync, shellcheck, sqlite3, ssh, sudo, telnet, texinfo, time, tk, tzdata, unzip, upx, wget, xorriso, xvfb, xz-utils, yamllint, zip, zstd, zsync

View File

@@ -1,325 +1,215 @@
<!--- DO NOT EDIT - This markdown file is autogenerated. -->
| Announcements |
|-|
| [Default Python will be switched to 3.8 on Ubuntu 20.04 on October, 6](https://github.com/actions/virtual-environments/issues/1591) |
| [Clang/LLVM 10 will be set as a default one and Clang/LLVM 6 will be deprecated for Ubuntu 20.04 on September, 23](https://github.com/actions/virtual-environments/issues/1536) |
***
# Ubuntu 20.04.1 LTS
The following software is installed on machines with the 20200914.1 update.
***
- 7-Zip 16.02
- Ansible (ansible 2.9.6)
- AzCopy7 (available by azcopy alias) 7.3.0
- AzCopy10 (available by azcopy10 alias) 10.6.0
- Azure CLI (azure-cli 2.11.1)
- Azure CLI (azure-devops 0.18.0)
- Basic packages:
- dbus
- dnsutils
- dpkg
- fakeroot
- gnupg2
- iproute2
- iputils-ping
- lib32z1
- libc++abi-dev
- libc++-dev
- libcurl4
- libgbm-dev
- libgconf-2-4
- libgtk-3-0
- libsecret-1-dev
- libsqlite3-dev
- libunwind8
- libxkbfile-dev
- libxss1
- locales
- openssh-client
- pkg-config
- python-is-python2
- rpm
- texinfo
- tk
- tzdata
- upx
- xorriso
- xvfb
- xz-utils
- zstd
- zsync
- bison
- brotli
- bzip2
- curl
- file
- flex
- ftp
- jq
- m4
- netcat
- parallel
- patchelf
- rsync
- shellcheck
- sqlite3
- ssh
- sudo
- telnet
- time
- unzip
- wget
- yamllint
- zip
- Alibaba Cloud CLI (3.0.56)
- AWS CLI (aws-cli/2.0.48 Python/3.7.3 Linux/5.4.0-1025-azure exe/x86_64.ubuntu.20)
- AWS CLI Session manager plugin (1.1.61.0)
- build-essential
- Clang 6.0 (6.0.1)
- Clang 8 (8.0.1)
- Clang 9 (9.0.1)
- Swift version 5.2.5 (swift-5.2.5-RELEASE)
Target: x86_64-unknown-linux-gnu
- CMake (cmake version 3.17.0)
- Podman (2.0.6)
- Buildah (1.15.2)
- Skopeo (1.1.1)
- Docker Compose (docker-compose version 1.27.2, build 18f557f9)
- Docker-Moby (Docker version 19.03.12+azure, build 0ed913b885c8919944a2e4c8d0b80a318a8dd48b)
- Docker-Buildx (0.4.2+azure)
- Cached container images
- node:10 (Digest: sha256:ab6f988c514b5c5fb6d5a6d18afb216084b256719791c6cc61096da58e66c436)
- node:12 (Digest: sha256:20ffb04c1d35e273dc7aa68fe31ef136630d95128689283a8eb914329158022b)
- buildpack-deps:stretch (Digest: sha256:4f72cea5afa05e21bf2aec93b219b0843a10af5e2f407cc184f211e45f929ccc)
- buildpack-deps:buster (Digest: sha256:8a76b9f9ee417eb330e97d3129e373277515e98d0f3a95a89ab944b645190efd)
- debian:9 (Digest: sha256:bc125c699d736ac84c92b76ab7028741bbac69f207b7a8a4065bca6f79d5698e)
- debian:8 (Digest: sha256:e180975d5c1012518e711c92ab26a4ff98218f439a97d9adbcd503b0d3ad1c8a)
- jekyll/builder:latest (Digest: sha256:4bc6a3b6eddebef1652ef38ceb965fc9c1b06677f65f764e1e17b88dc2aa9934)
- node:12-alpine (Digest: sha256:9623cd396644f9b2e595d833dc0188a880333674488d939338ab5fde10ef7c43)
- node:10-alpine (Digest: sha256:2f202af4d6baba655fef9c93f41a914b33ee576b9f55a6e69ba23b49e3b62766)
- alpine:3.9 (Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011)
- alpine:3.10 (Digest: sha256:f0e9534a598e501320957059cb2a23774b4d4072e37c7b2cf7e95b241f019e35)
- alpine:3.8 (Digest: sha256:2bb501e6173d9d006e56de5bce2720eb06396803300fe1687b58a7ff32bf4c14)
- ubuntu:14.04 (Digest: sha256:ffc76f71dd8be8c9e222d420dc96901a07b61616689a44c7b3ef6a10b7213de4)
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
- .NET Core SDK:
- 3.1.402
- 3.1.401
- 3.1.302
- 3.1.301
- 3.1.300
- 3.1.202
- 3.1.201
- 3.1.200
- 3.1.108
- 3.1.107
- 3.1.106
- 3.1.105
- 3.1.104
- 3.1.103
- 3.1.102
- 3.1.101
- 3.1.100
- 2.1.810
- 2.1.809
- 2.1.808
- 2.1.807
- 2.1.806
- 2.1.805
- 2.1.804
- 2.1.803
- 2.1.802
- 2.1.801
- 2.1.701
- 2.1.700
- 2.1.615
- 2.1.614
- 2.1.613
- 2.1.612
- 2.1.611
- 2.1.610
- 2.1.609
- 2.1.608
- 2.1.607
- 2.1.606
- 2.1.605
- 2.1.604
- 2.1.603
- 2.1.602
- 2.1.518
- 2.1.517
- 2.1.516
- 2.1.515
- 2.1.514
- 2.1.513
- 2.1.512
- 2.1.511
- 2.1.510
- 2.1.509
- 2.1.508
- 2.1.507
- 2.1.506
- 2.1.505
- 2.1.504
- 2.1.503
- 2.1.502
- 2.1.500
- 2.1.403
- 2.1.402
- 2.1.401
- 2.1.302
- 2.1.301
- 2.1.300
- Erlang (Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 11.0.3)
- Firefox (Mozilla Firefox 80.0.1)
- Geckodriver (0.27.0); Gecko Driver is available via GECKOWEBDRIVER environment variable
- GNU C++ 7.5.0
- GNU C++ 8.4.0
- GNU C++ 9.3.0
- GNU Fortran 8.4.0
- GNU Fortran 9.3.0
- Git (2.28.0)
- Git Large File Storage (LFS) (2.12.0)
- Git-ftp (1.6.0)
- Hub CLI (2.14.2)
- GitHub CLI 0.12.0
- Google Chrome (Google Chrome 85.0.4183.102 )
- ChromeDriver 85.0.4183.87 (cd6713ebf92fa1cacc0f1a598df280093af0c5d7-refs/branch-heads/4183@{#1689}); Chrome Driver is available via CHROMEWEBDRIVER environment variable
- Google Cloud SDK (309.0.0)
- Haskell Cabal (cabal-install version 3.4.0.0
compiled using version 3.4.0.0 of the Cabal library )
- GHC (The Glorious Glasgow Haskell Compilation System, version 8.10.2)
- Haskell Stack (Version 2.3.3, Git revision cb44d51bed48b723a5deb08c3348c0b3ccfc437e x86_64 hpack-0.33.0)
- Heroku (heroku/7.42.13 linux-x64 node-v12.16.2)
- HHVM (HipHop VM 4.74.0 (rel))
- ImageMagick
- Adopt OpenJDK:
- 8 (openjdk version "1.8.0_265")
- 11 (openjdk version "11.0.8" 2020-07-14) (default)
- Ant (Apache Ant(TM) version 1.10.7 compiled on October 24 2019)
- Image Version: 20200920.1
## Installed Software
### Language and Runtime
- GNU C++ 7.5.0, 8.4.0, 9.3.0
- GNU Fortran 8.4.0, 9.3.0
- Clang 10.0.1, 8.0.1, 9.0.1
- Erlang 11.0.3
- Mono 6.12.0.90
- Node 12.18.4
- Python 2.7.18rc1
- Python3 3.8.2
- PowerShell 7.0.3
- Ruby 2.7.0p0
- Swift 5.3
- Julia 1.5.1
### Package Management
- Homebrew 2.5.1
- Gem 3.1.2
- Miniconda 4.8.3
- Helm 3.3.3
- Npm 6.14.8
- Yarn 1.22.5
- Pip 20.2.3
- Pip3 20.0.2
- Vcpkg 2020.06.15
### Project Management
- Ant 1.10.7
- Gradle 6.6.1
- Maven (Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f))
- Kind (kind v0.8.1 go1.14.2 linux/amd64)
- kubectl (Client Version: v1.19.1)
- helm (v3.3.1+g249e521)
- minikube version: v1.13.0
- kustomize ({kustomize/v3.8.2 2020-08-29T17:44:01Z })
- oc CLI Client Version: 4.5.0-202005291417-9933eb9
- Leiningen (Leiningen 2.9.4 on Java 11.0.8 OpenJDK 64-Bit Server VM)
- Mercurial (Mercurial Distributed SCM (version 5.3.1))
- Miniconda (conda 4.8.3)
- Mono (Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:02:38 UTC 2020))
- NuGet (NuGet Version: 5.5.0.6382)
- MySQL (mysql Ver 8.0.21-0ubuntu0.20.04.4 for Linux on x86_64 ((Ubuntu)))
- Maven 3.6.3
- Sbt 1.3.13
### Tools
- 7-Zip 16.02
- Ansible 2.9.6
- AzCopy10 10.6.0 (available by `azcopy10` alias)
- AzCopy7 7.3.0 (available by `azcopy` alias)
- Bazel 3.5.0
- Bazelisk 1.6.1
- Buildah 1.16.1
- CMake 3.17.0
- curl 7.68.0
- Docker Compose 1.27.3
- Docker-Buildx 0.4.2
- Docker-Moby 19.03.12
- Git 2.28.0
- Git LFS 2.12.0
- Git-ftp 1.6.0
- Google Cloud SDK 310.0.0
- Haveged 1.9.1
- Heroku 7.43.0
- HHVM (HipHop VM) 4.75.0
- jq 1.6
- Kind 0.9.0
- Kubectl 1.19.2
- Kustomize 3.8.4
- Leiningen 2.9.4
- m4 1.4.18
- Mercurial 5.3.1
- Minikube 1.13.0
- Newman 5.2.0
- nvm 0.35.3
- Packer 1.6.2
- PhantomJS 2.1.1
- Podman 2.0.6
- Skopeo 1.1.1
- SVN 1.13.0
- Swig 4.0.1
- Terraform 0.13.3
- unzip 6.00
- wget 1.20.3
- zip 3.0
- zstd 1.4.4
### CLI Tools
- Alibaba Cloud CLI 3.0.59
- AWS CLI 2.0.50
- AWS CLI Session manager plugin 1.1.61.0
- AWS SAM CLI 1.2.0
- Azure CLI (azure-cli) 2.11.1
- Azure CLI (azure-devops) 0.18.0
- GitHub CLI 1.0.0
- Hub CLI 2.14.2
- Netlify CLI 2.63.2
- oc CLI 4.5.0
- ORAS CLI 0.8.1
- Vercel CLI 20.1.0
### Java
| Version | Vendor | Environment Variable |
| ---------------- | ------------ | -------------------- |
| 1.8.0_265 | AdoptOpenJDK | JAVA_HOME_8_X64 |
| 11.0.8 (default) | AdoptOpenJDK | JAVA_HOME_11_X64 |
### PHP
| Tool | Version |
| -------- | ------- |
| PHP | 7.4.10 |
| Composer | 1.10.13 |
| PHPUnit | 7.5.20 |
### Haskell
- GHC 8.10.2
- Cabal 3.4.0.0
- Stack 2.3.3
### Rust Tools
- Rust 1.46.0
- Rustup 1.22.1
- Rustdoc 1.46.0
- Cargo 1.46.0
#### Packages
- Bindgen 0.55.1
- Cargo audit 0.12.0
- Cargo outdated 0.9.11
- Cargo clippy 0.0.212
- Cbindgen 0.14.5
- Rustfmt 1.4.18
### Browsers and Drivers
- Google Chrome 85.0.4183.102
- ChromeDriver 85.0.4183.87
- Mozilla Firefox 80.0.1
- Geckodriver 0.27.0
### .NET Core SDK
- 2.1.300 2.1.301 2.1.302 2.1.401 2.1.402 2.1.403 2.1.500 2.1.502 2.1.503 2.1.504 2.1.505 2.1.506 2.1.507 2.1.508 2.1.509 2.1.510 2.1.511 2.1.512 2.1.513 2.1.514 2.1.515 2.1.516 2.1.517 2.1.518 2.1.602 2.1.603 2.1.604 2.1.605 2.1.606 2.1.607 2.1.608 2.1.609 2.1.610 2.1.611 2.1.612 2.1.613 2.1.614 2.1.615 2.1.700 2.1.701 2.1.801 2.1.802 2.1.803 2.1.804 2.1.805 2.1.806 2.1.807 2.1.808 2.1.809 2.1.810 3.1.100 3.1.101 3.1.102 3.1.103 3.1.104 3.1.105 3.1.106 3.1.107 3.1.108 3.1.200 3.1.201 3.1.202 3.1.300 3.1.301 3.1.302 3.1.401 3.1.402
### Az Module
- 4.6.1
### Databases
- Postgre SQL 12.4
- MongoDB 4.4.1
- sqlite3 3.31.1
#### MySQL
- MySQL 8.0.21
- MySQL Server (user:root password:root)
- MS SQL Server Client Tools
- MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
- nvm (0.35.3)
- Node.js (v12.18.3)
- Grunt (grunt-cli v1.3.2)
- Gulp (CLI version: 2.3.0
Local version: Unknown)
- n (6.7.0)
- Parcel (1.12.4)
- TypeScript (Version 4.0.2)
- Webpack (4.44.1)
- Webpack CLI (3.3.12)
- Yarn (1.22.5)
- Newman (5.2.0)
- Bazel (bazel 3.5.0)
- Bazelisk (1.6.1)
- ORAS CLI 0.8.1
- PhantomJS (2.1.1)
- PHP 7.4 (PHP 7.4.10 (cli) (built: Sep 9 2020 06:36:30) ( NTS ))
> To use ppa:ondrej/php APT repository On Ubuntu 20.04 it is necessary to add it to the APT sources
```
apt-add-repository ppa:ondrej/php -y
apt-get update
MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
```
- Composer (Composer version 1.10.13 2020-09-09 11:46:34)
- PHPUnit (PHPUnit 7.5.20 by Sebastian Bergmann and contributors.)
- Pollinate
- psql (PostgreSQL) 12.4
- Powershell (PowerShell 7.0.3)
- Pulumi v2.10.0
- ruby (2.7.0p0)
- gem (3.1.2)
- OpenSSL 1.1.1f 31 Mar 2020
- Libssl 1.1.1f-1ubuntu2
- R 4.0.2
- rustup (1.22.1)
- rust (1.46.0)
- cargo (1.46.0)
- rustfmt (1.4.18-stable)
- clippy (0.0.212)
- rustdoc (1.46.0)
- bindgen (0.55.1)
- cbindgen (0.14.4)
- cargo audit (0.12.0)
- cargo outdated (v0.9.11)
- Julia (julia version 1.5.1)
- sbt (copying runtime jar...
1.3.13)
- Selenium server standalone (available via SELENIUM_JAR_PATH environment variable)
- Sphinx Open Source Search Server
- Subversion (svn, version 1.13.0 (r1867053))
- Terraform (Terraform v0.13.2)
- Packer (1.6.2)
- Vcpkg 2020.06.15-unknownhash
- Vercel CLI (20.1.0)
- MongoDB on Linux v4.4.1
- Haveged 1.9.1-6ubuntu1
- Swig 4.0.1
- Netlify CLI (netlify-cli/2.63.0 linux-x64 node-v12.18.3)
- Google Repository 58
- Google Play services 49
- CMake 3.10.2.4988404
- Android SDK Platform-Tools 30.0.4
- Android SDK Platform 30
- Android SDK Platform 29
- Android SDK Platform 28
- Android SDK Platform 27
- Android SDK Patch Applier v4
- Android SDK Build-Tools 30.0.2
- Android SDK Build-Tools 30.0.1
- Android SDK Build-Tools 30.0.0
- Android SDK Build-Tools 29.0.3
- Android SDK Build-Tools 29.0.2
- Android SDK Build-Tools 29.0.0
- Android SDK Build-Tools 28.0.3
- Android SDK Build-Tools 28.0.2
- Android SDK Build-Tools 28.0.1
- Android SDK Build-Tools 28.0.0
- Android SDK Build-Tools 27.0.3
- Android SDK Build-Tools 27.0.2
- Android SDK Build-Tools 27.0.1
- Android SDK Build-Tools 27.0.0
- Android NDK 21.3.6528147
- Az Module (4.6.1)
- Ruby:
- Ruby 2.5.8
- Ruby 2.6.6
- Ruby 2.7.1
- Python (Python 2.7.18rc1)
- pip (pip 20.2.3 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7))
- Python3 (Python 3.8.2)
- pip3 (pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8))
- Python:
- Python 2.7.18
- Python 3.5.10
- Python 3.6.12
- Python 3.7.9
- Python 3.8.5
- PyPy:
- PyPy 2.7.13 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- PyPy 3.6.9 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- node:
- node 8.17.0
- node 10.22.0
- node 12.18.3
- node 14.10.1
- go:
- go 1.14.9
- go 1.15.2
- AWS SAM CLI, version 1.2.0
- Homebrew on Linux (Homebrew 2.5.1
Homebrew/linuxbrew-core (git revision d52011; last commit 2020-09-12))
### Cached Tools
#### Ruby
- 2.5.8
- 2.6.6
- 2.7.1
#### Python
- 2.7.18
- 3.5.10
- 3.6.12
- 3.7.9
- 3.8.5
#### PyPy
- 2.7.13 [PyPy 7.3.1]
- 3.6.9 [PyPy 7.3.1]
#### Node.js
- 8.17.0
- 10.22.1
- 12.18.4
- 14.11.0
#### Go
- 1.14.9
- 1.15.2
### 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) |
| Android SDK Build-tools | 30.0.0 30.0.1 30.0.2<br>29.0.0 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 |
| NDK | 21.3.6528147 |
| Android Support Repository | 47.0.0 |
| Google Play services | 49 |
| Google Repository | 58 |
| SDK Patch Applier v4 | 1 |
| CMake | 3.10.2 |
### Cached Docker images
- alpine:3.7
- alpine:3.8
- alpine:3.9
- alpine:3.10
- buildpack-deps:stretch
- buildpack-deps:buster
- debian:8
- debian:9
- jekyll/builder
- mcr.microsoft.com/azure-pipelines/node8-typescript
- node:10
- node:12
- node:10-alpine
- node:12-alpine
- ubuntu:14.04
### Installed apt packages
- bison, brotli, bzip2, curl, dbus, dnsutils, dpkg, fakeroot, file, flex, ftp, gnupg2, iproute2, iputils-ping, jq, lib32z1, libc++-dev, libc++abi-dev, libcurl4, libgbm-dev, libgconf-2-4, libgtk-3-0, libsecret-1-dev, libsqlite3-dev, libunwind8, libxkbfile-dev, libxss1, locales, m4, netcat, openssh-client, parallel, patchelf, pkg-config, python-is-python2, rpm, rsync, shellcheck, sqlite3, ssh, sudo, telnet, texinfo, time, tk, tzdata, unzip, upx, wget, xorriso, xvfb, xz-utils, yamllint, zip, zstd, zsync

View File

@@ -6,9 +6,8 @@ function Get-OSName {
function Get-CPPVersions {
$cppVersions = apt list --installed 2>&1 | Where-Object { $_ -match "g\+\+-\d+"} | ForEach-Object {
$_ -match "now (?<version>\d+\.\d+\.\d+)-" | Out-Null
$Matches.version
}
& $_.Split("/")[0] --version | Select-Object -First 1 | Take-OutputPart -Part 3
} | Sort-Object {[Version]$_}
return "GNU C++ " + ($cppVersions -Join ", ")
}
@@ -16,7 +15,7 @@ function Get-FortranVersions {
$fortranVersions = apt list --installed 2>&1 | Where-Object { $_ -match "^gfortran-\d+"} | ForEach-Object {
$_ -match "now (?<version>\d+\.\d+\.\d+)-" | Out-Null
$Matches.version
}
} | Sort-Object {[Version]$_}
return "GNU Fortran " + ($fortranVersions -Join ", ")
}
@@ -28,7 +27,7 @@ function Get-ClangVersions {
$_ -match "clang version (?<version>\d+\.\d+\.\d+)-" | Out-Null
$Matches.version
}
}
} | Sort-Object {[Version]$_}
return "Clang " + ($clangVersions -Join ", ")
}

View File

@@ -77,6 +77,7 @@ $toolsList = @(
(Get-AzCopy10Version),
(Get-BazelVersion),
(Get-BazeliskVersion),
(Get-CodeQLBundleVersion),
(Get-CMakeVersion),
(Get-CurlVersion),
(Get-DockerMobyVersion),
@@ -102,6 +103,9 @@ $toolsList = @(
(Get-NvmVersion),
(Get-PackerVersion),
(Get-PhantomJSVersion),
(Get-PulumiVersion),
(Get-RVersion),
(Get-SphinxVersion),
(Get-SwigVersion),
(Get-TerraformVersion),
(Get-UnZipVersion),

View File

@@ -28,6 +28,14 @@ function Get-BazeliskVersion {
return "Bazelisk $bazeliskVersion"
}
function Get-CodeQLBundleVersion {
$CodeQLVersionsWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "codeql" | Join-Path -ChildPath "*"
$CodeQLVersionPath = Get-ChildItem $CodeQLVersionsWildcard | Select-Object -First 1 -Expand FullName
$CodeQLPath = Join-Path $CodeQLVersionPath -ChildPath "x64" | Join-Path -ChildPath "codeql" | Join-Path -ChildPath "codeql"
$CodeQLVersion = & $CodeQLPath version --quiet
return "CodeQL Action Bundle $CodeQLVersion"
}
function Get-PodManVersion {
$podmanVersion = podman --version | Take-OutputPart -Part 2
return "Podman $podmanVersion"
@@ -247,3 +255,18 @@ function Get-ORASCliVersion {
function Get-VerselCliversion {
return "$(vercel --version 2>&1 | Select-Object -First 1)"
}
function Get-PulumiVersion {
$pulumiVersion = pulumi version | Take-OutputPart -Part 0 -Delimiter "v"
return "Pulumi $pulumiVersion"
}
function Get-RVersion {
$rVersion = (Get-CommandResult "R --version | grep 'R version'").Output | Take-OutputPart -Part 2
return "R $rVersion"
}
function Get-SphinxVersion {
$sphinxVersion = searchd -h | Select-Object -First 1 | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
return "Sphinx Open Source Search Server $sphinxVersion"
}

View File

@@ -12,7 +12,7 @@ function InstallClang {
local version=$1
echo "Installing clang-$version..."
if [[ $version =~ (9|10) ]]; then
if [[ $version =~ 9 ]] && isUbuntu16; then
./llvm.sh $version
apt-get install -y "clang-format-$version"
else

View File

@@ -0,0 +1,28 @@
#!/bin/bash
################################################################################
## File: codeql-bundle.sh
## Desc: Install the CodeQL CLI Bundle to the toolcache.
################################################################################
source $HELPER_SCRIPTS/install.sh
# Retrieve the name of the CodeQL bundle preferred by the Action (in the format codeql-bundle-YYYYMMDD).
codeql_bundle_name="$(curl -sSL https://raw.githubusercontent.com/github/codeql-action/main/src/defaults.json | jq -r .bundleVersion)"
# Convert the bundle name to a version number (0.0.0-YYYYMMDD).
codeql_bundle_version="0.0.0-${codeql_bundle_name##*-}"
extraction_directory="$AGENT_TOOLSDIRECTORY/CodeQL/$codeql_bundle_version/x64"
mkdir -p "$extraction_directory"
echo "Downloading CodeQL bundle $codeql_bundle_version..."
download_with_retries "https://github.com/github/codeql-action/releases/download/$codeql_bundle_name/codeql-bundle.tar.gz" "/tmp" "codeql-bundle.tar.gz"
tar -xzf "/tmp/codeql-bundle.tar.gz" -C "$extraction_directory"
# Touch a special file that indicates to the CodeQL Action that this bundle was baked-in to the hosted runner images.
touch "$extraction_directory/pinned-version"
# Touch a file to indicate to the toolcache that setting up CodeQL is complete.
touch "$extraction_directory.complete"
# Test that the tool has been extracted successfully.
"$AGENT_TOOLSDIRECTORY/CodeQL/$codeql_bundle_version/x64/codeql/codeql" version

View File

@@ -4,6 +4,10 @@
## Desc: Installs GNU C++
################################################################################
set -e
# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh
function InstallGcc {
version=$1
@@ -29,7 +33,10 @@ versions=(
"g++-9"
)
for version in ${versions[*]}
do
if ! isUbuntu16; then
versions+=("g++-10")
fi
for version in ${versions[*]}; do
InstallGcc $version
done

View File

@@ -0,0 +1,16 @@
#!/bin/bash
################################################################################
## File: post-deployment.sh
## Desc: Post deployment actions
################################################################################
# set chmod -R 777 /opt
if [[ -d "/opt" ]]; then
echo "chmod -R 777 /opt"
chmod -R 777 /opt
fi
# remove installer and helper folders
rm -rf $HELPER_SCRIPT_FOLDER
rm -rf $INSTALLER_SCRIPT_FOLDER
chmod 755 $IMAGE_FOLDER

View File

@@ -109,7 +109,8 @@
"3.8.0",
"4.3.0",
"4.4.0",
"4.6.0"
"4.6.0",
"4.7.0"
]
}
],

View File

@@ -105,7 +105,8 @@
"3.8.0",
"4.3.0",
"4.4.0",
"4.6.0"
"4.6.0",
"4.7.0"
]
}
],

View File

@@ -24,7 +24,10 @@
"run_validation_diskspace": "false",
"announcements": "{{env `ANNOUNCEMENTS`}}"
},
"sensitive-variables": ["client_secret", "github_feed_token"],
"sensitive-variables": [
"client_secret",
"github_feed_token"
],
"builders": [
{
"type": "azure-arm",
@@ -32,7 +35,6 @@
"client_secret": "{{user `client_secret`}}",
"subscription_id": "{{user `subscription_id`}}",
"tenant_id": "{{user `tenant_id`}}",
"location": "{{user `location`}}",
"vm_size": "{{user `vm_size`}}",
"resource_group_name": "{{user `resource_group`}}",
@@ -62,7 +64,7 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/base/repos.sh"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
@@ -104,7 +106,7 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/preimagedata.sh"
],
"environment_vars": [
@@ -150,6 +152,7 @@
"{{template_dir}}/scripts/installers/clang.sh",
"{{template_dir}}/scripts/installers/swift.sh",
"{{template_dir}}/scripts/installers/cmake.sh",
"{{template_dir}}/scripts/installers/codeql-bundle.sh",
"{{template_dir}}/scripts/installers/docker-compose.sh",
"{{template_dir}}/scripts/installers/docker-moby.sh",
"{{template_dir}}/scripts/installers/dotnetcore-sdk.sh",
@@ -217,7 +220,7 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/Install-Toolset.ps1",
"{{template_dir}}/scripts/installers/Configure-Toolset.ps1",
"{{template_dir}}/scripts/installers/Validate-Toolset.ps1"
@@ -269,14 +272,14 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/cleanup.sh"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/Install-PowerShellModules.ps1"
],
"environment_vars": [
@@ -289,7 +292,7 @@
"inline": [
"pwsh -File {{user `image_folder`}}/SoftwareReport/SoftwareReport.Generator.ps1 -OutputDirectory {{user `image_folder`}}"
],
"environment_vars":[
"environment_vars": [
"IMAGE_VERSION={{user `image_version`}}",
"INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}",
"ANNOUNCEMENTS={{user `announcements`}}"
@@ -303,16 +306,19 @@
},
{
"type": "shell",
"inline": [
"rm -rf {{user `helper_script_folder`}}",
"rm -rf {{user `installer_script_folder`}}",
"chmod 755 {{user `image_folder`}}"
"scripts":[
"{{template_dir}}/scripts/installers/post-deployment.sh"
],
"environment_vars":[
"HELPER_SCRIPT_FOLDER={{user `helper_script_folder`}}",
"INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}",
"IMAGE_FOLDER={{user `image_folder`}}"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/validate-disk-space.sh"
],
"environment_vars": [

View File

@@ -24,7 +24,10 @@
"run_validation_diskspace": "false",
"announcements": "{{env `ANNOUNCEMENTS`}}"
},
"sensitive-variables": ["client_secret", "github_feed_token"],
"sensitive-variables": [
"client_secret",
"github_feed_token"
],
"builders": [
{
"type": "azure-arm",
@@ -32,7 +35,6 @@
"client_secret": "{{user `client_secret`}}",
"subscription_id": "{{user `subscription_id`}}",
"tenant_id": "{{user `tenant_id`}}",
"location": "{{user `location`}}",
"vm_size": "{{user `vm_size`}}",
"resource_group_name": "{{user `resource_group`}}",
@@ -62,7 +64,7 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/base/repos.sh"
],
"environment_vars": [
@@ -107,7 +109,7 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/preimagedata.sh"
],
"environment_vars": [
@@ -152,6 +154,7 @@
"{{template_dir}}/scripts/installers/clang.sh",
"{{template_dir}}/scripts/installers/swift.sh",
"{{template_dir}}/scripts/installers/cmake.sh",
"{{template_dir}}/scripts/installers/codeql-bundle.sh",
"{{template_dir}}/scripts/installers/containers.sh",
"{{template_dir}}/scripts/installers/docker-compose.sh",
"{{template_dir}}/scripts/installers/docker-moby.sh",
@@ -221,7 +224,7 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/Install-Toolset.ps1",
"{{template_dir}}/scripts/installers/Configure-Toolset.ps1",
"{{template_dir}}/scripts/installers/Validate-Toolset.ps1"
@@ -273,14 +276,14 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/cleanup.sh"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/Install-PowerShellModules.ps1"
],
"environment_vars": [
@@ -293,7 +296,7 @@
"inline": [
"pwsh -File {{user `image_folder`}}/SoftwareReport/SoftwareReport.Generator.ps1 -OutputDirectory {{user `image_folder`}}"
],
"environment_vars":[
"environment_vars": [
"IMAGE_VERSION={{user `image_version`}}",
"INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}",
"ANNOUNCEMENTS={{user `announcements`}}"
@@ -307,16 +310,19 @@
},
{
"type": "shell",
"inline": [
"rm -rf {{user `helper_script_folder`}}",
"rm -rf {{user `installer_script_folder`}}",
"chmod 755 {{user `image_folder`}}"
"scripts":[
"{{template_dir}}/scripts/installers/post-deployment.sh"
],
"environment_vars":[
"HELPER_SCRIPT_FOLDER={{user `helper_script_folder`}}",
"INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}",
"IMAGE_FOLDER={{user `image_folder`}}"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/validate-disk-space.sh"
],
"environment_vars": [

View File

@@ -26,7 +26,10 @@
"go_versions": "1.14",
"announcements": "{{env `ANNOUNCEMENTS`}}"
},
"sensitive-variables": ["client_secret", "github_feed_token"],
"sensitive-variables": [
"client_secret",
"github_feed_token"
],
"builders": [
{
"type": "azure-arm",
@@ -34,7 +37,6 @@
"client_secret": "{{user `client_secret`}}",
"subscription_id": "{{user `subscription_id`}}",
"tenant_id": "{{user `tenant_id`}}",
"location": "{{user `location`}}",
"vm_size": "{{user `vm_size`}}",
"resource_group_name": "{{user `resource_group`}}",
@@ -64,7 +66,7 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/base/repos.sh"
],
"environment_vars": [
@@ -109,7 +111,7 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/preimagedata.sh"
],
"environment_vars": [
@@ -154,6 +156,7 @@
"{{template_dir}}/scripts/installers/clang.sh",
"{{template_dir}}/scripts/installers/swift.sh",
"{{template_dir}}/scripts/installers/cmake.sh",
"{{template_dir}}/scripts/installers/codeql-bundle.sh",
"{{template_dir}}/scripts/installers/containers.sh",
"{{template_dir}}/scripts/installers/docker-compose.sh",
"{{template_dir}}/scripts/installers/docker-moby.sh",
@@ -223,7 +226,7 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/Install-Toolset.ps1",
"{{template_dir}}/scripts/installers/Configure-Toolset.ps1",
"{{template_dir}}/scripts/installers/Validate-Toolset.ps1"
@@ -275,14 +278,14 @@
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/cleanup.sh"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"scripts":[
"scripts": [
"{{template_dir}}/scripts/installers/Install-PowerShellModules.ps1"
],
"environment_vars": [
@@ -295,7 +298,7 @@
"inline": [
"pwsh -File {{user `image_folder`}}/SoftwareReport/SoftwareReport.Generator.ps1 -OutputDirectory {{user `image_folder`}}"
],
"environment_vars":[
"environment_vars": [
"IMAGE_VERSION={{user `image_version`}}",
"INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}",
"ANNOUNCEMENTS={{user `announcements`}}"
@@ -307,6 +310,18 @@
"destination": "{{template_dir}}/Ubuntu2004-README.md",
"direction": "download"
},
{
"type": "shell",
"scripts":[
"{{template_dir}}/scripts/installers/post-deployment.sh"
],
"environment_vars":[
"HELPER_SCRIPT_FOLDER={{user `helper_script_folder`}}",
"INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}",
"IMAGE_FOLDER={{user `image_folder`}}"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"scripts":[
@@ -316,15 +331,6 @@
"RUN_VALIDATION={{user `run_validation_diskspace`}}"
]
},
{
"type": "shell",
"inline": [
"rm -rf {{user `helper_script_folder`}}",
"rm -rf {{user `installer_script_folder`}}",
"chmod 755 {{user `image_folder`}}"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "file",
"source": "{{template_dir}}/config/ubuntu2004.conf",

View File

@@ -18,4 +18,13 @@ sudo pmset hibernatemode 0
sudo rm -f /var/vm/sleepimage
# Change screen resolution to the maximum supported for 4Mb video memory
sudo "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1176 885
sudo "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1176 885
# https://developer.apple.com/support/expiration/
# Enterprise iOS Distribution Certificates generated between February 7 and September 1st, 2020 will expire on February 7, 2023.
# Rotate the certificate before expiration to ensure your apps are installed and signed with an active certificate.
# Confirm that the correct intermediate certificate is installed by verifying the expiration date is set to 2030.
# sudo security delete-certificate -Z FF6797793A3CD798DC5B2ABEF56F73EDC9F83A64 /Library/Keychains/System.keychain
curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent
sudo security add-trusted-cert -d -r unspecified -k /Library/Keychains/System.keychain $HOME/AppleWWDRCAG3.cer
rm $HOME/AppleWWDRCAG3.cer

View File

@@ -3,6 +3,7 @@ export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export ANDROID_HOME=${HOME}/Library/Android/sdk
export ANDROID_SDK_ROOT=${HOME}/Library/Android/sdk
export ANDROID_NDK_HOME=${ANDROID_HOME}/ndk-bundle
export NUNIT_BASE_PATH=/Library/Developer/nunit

View File

@@ -42,11 +42,16 @@ done
# brew cask install
bcask_common_utils=(
julia
virtualbox
vagrant
r
)
if is_Less_BigSur; then
bcask_common_utils+=(
virtualbox
vagrant
r
)
fi
for package in ${bcask_common_utils[@]}; do
echo "Install $package"
brew cask install $package

View File

@@ -1,7 +1,3 @@
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
$os = Get-OSVersion
function Split-TableRowByColumns {
param(
[string] $Row
@@ -9,17 +5,6 @@ function Split-TableRowByColumns {
return $Row.Split("|") | ForEach-Object { $_.trim() }
}
function Build-AndroidTableObject {
param(
[string] $PackageName,
[string] $Description
)
return [PSCustomObject] @{
"Package Name" = $PackageName
"Description" = $Description
}
}
function Get-AndroidSDKRoot {
return Join-Path $env:HOME "Library" "Android" "sdk"
}
@@ -43,124 +28,148 @@ function Get-AndroidInstalledPackages {
return $androidInstalledPackages
}
function Build-AndroidSDKToolsTable {
param (
[Parameter(Mandatory)]
[object] $packageInfo
)
return $packageInfo | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
$packageName = $packageInfoParts[0]
$packageDescription = $packageInfoParts[2] + ", Revision " + $packageInfoParts[1]
return Build-AndroidTableObject -PackageName $packageName -Description $packageDescription
function Build-AndroidTable {
Write-Host "Build-AndroidTable"
$packageInfo = Get-AndroidInstalledPackages
return @(
@{
"Package" = "Android SDK Tools"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Android SDK Tools"
},
@{
"Package" = "Android SDK Platforms"
"Version" = Get-AndroidPlatformVersions -PackageInfo $packageInfo
},
@{
"Package" = "Android SDK Build-tools"
"Version" = Get-AndroidBuildToolVersions -PackageInfo $packageInfo
},
@{
"Package" = "Android SDK Platform-Tools"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Android SDK Platform-Tools"
},
@{
"Package" = "Google APIs"
"Version" = Get-AndroidGoogleAPIsVersions -PackageInfo $packageInfo
},
@{
"Package" = "Android Support Repository"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Android Support Repository"
},
@{
"Package" = "Google Play services"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Google Play services"
},
@{
"Package" = "Google Repository"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Google Repository"
},
@{
"Package" = "SDK Patch Applier v4"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "SDK Patch Applier v4"
},
@{
"Package" = "CMake"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "cmake"
},
@{
"Package" = "NDK"
"Version" = Get-AndroidNDKVersions -PackageInfo $packageInfo
}
) | Where-Object { $_.Version } | ForEach-Object {
[PSCustomObject] @{
"Package Name" = $_.Package
"Version" = $_.Version
}
}
}
function Build-AndroidSDKPlatformTable {
function Get-AndroidPackageVersions {
param (
[Parameter(Mandatory)]
[object] $packageInfo
[object] $PackageInfo,
[Parameter(Mandatory)]
[object] $MatchedString
)
return $packageInfo | ForEach-Object {
$versions = $packageInfo | Where-Object { $_ -Match $MatchedString } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
$packageName = $packageInfoParts[0].split(";")[1]
$packageDescription = $packageInfoParts[2] + ", Revision " + $packageInfoParts[1]
return Build-AndroidTableObject -PackageName $packageName -Description $packageDescription
return $packageInfoParts[1]
}
return ($versions -Join "<br>")
}
function Build-AndroidSDKBuildToolsTable {
function Get-AndroidPlatformVersions {
param (
[Parameter(Mandatory)]
[object] $packageInfo
[object] $PackageInfo
)
return $packageInfo | ForEach-Object {
$versions = $packageInfo | Where-Object { $_ -Match "Android SDK Platform " } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
$packageName = $packageInfoParts[0].replace(";", "-")
$packageDescription = "Android SDK Build-Tools, Revision " + $packageInfoParts[1]
return Build-AndroidTableObject -PackageName $packageName -Description $packageDescription
$revision = $packageInfoParts[1]
$version = $packageInfoParts[0].split(";")[1]
return "$version (rev $revision)"
}
[array]::Reverse($versions)
return ($versions -Join "<br>")
}
function Build-AndroidNDKTable {
function Get-AndroidBuildToolVersions {
param (
[Parameter(Mandatory)]
[object] $PackageInfo
)
$versions = $packageInfo | Where-Object { $_ -Match "Android SDK Build-Tools" } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
return $packageInfoParts[1]
}
$groupVersions = @()
$versions | ForEach-Object {
$majorVersion = $_.Split(".")[0]
$groupVersions += $versions | Where-Object { $_.StartsWith($majorVersion) } | Join-String -Separator " "
}
return ($groupVersions | Sort-Object -Descending -Unique | Join-String -Separator "<br>")
}
function Get-AndroidGoogleAPIsVersions {
param (
[Parameter(Mandatory)]
[object] $PackageInfo
)
$versions = $packageInfo | Where-Object { $_ -Match "Google APIs" } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
return $packageInfoParts[0].split(";")[1]
}
return ($versions -Join "<br>")
}
function Get-AndroidNDKVersions {
param (
[Parameter(Mandatory)][AllowEmptyString()]
[string[]] $installedPackages
[string[]] $packageInfo
)
$ndkInfo = @()
$os = Get-OSVersion
$versions = @()
if ($os.IsLessThanBigSur) {
$ndkInfo += [PSCustomObject] @{
# Hardcode NDK 15 as a separate case since it is installed manually without sdk-manager (to none default location)
"Version" = "15.2.4203891"
"Path" = Join-Path (Get-AndroidSDKRoot) "android-ndk-r15c"
}
# Hardcode NDK 15 as a separate case since it is installed manually without sdk-manager (to none default location)
$versions += "15.2.4203891"
$ndkFolderPath = Join-Path (Get-AndroidSDKRoot) "ndk"
$ndkInfo += Get-ChildItem -Path $ndkFolderPath | ForEach-Object {
return [PSCustomObject] @{
"Version" = $_.Name
"Path" = $_.FullName
}
Get-ChildItem -Path $ndkFolderPath | ForEach-Object {
$versions += $_.Name
}
}
$ndkBundleInfo = $installedPackages | Where-Object { $_ -Match "ndk-bundle" } | Select-Object -First 1
$ndkBundleVersion = (Split-TableRowByColumns $ndkBundleInfo)[1]
$ndkInfo += [PSCustomObject] @{
"Version" = $ndkBundleVersion
"Path" = Join-Path (Get-AndroidSDKRoot) "ndk-bundle"
$versions += $packageInfo | Where-Object { $_ -Match "ndk-bundle" } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
return $packageInfoParts[1]
}
$ndkInfo | ForEach-Object {
$_.Path = $_.Path.Replace($env:HOME, '$HOME')
}
return $ndkInfo
}
function Build-AndroidUtilsTable {
param (
[Parameter(Mandatory)][AllowEmptyString()]
[string[]] $installedPackages
)
$utilsList = @("cmake", "Android Emulator")
return $utilsList | ForEach-Object {
$packageName = $_
$packageInfo = $installedPackages | Where-Object { $_ -Match $packageName } | Select-Object -First 1
$packageInfoParts = Split-TableRowByColumns $packageInfo
return [PSCustomObject] @{
"Package Name" = $packageName
"Version" = $packageInfoParts[1]
}
}
}
function Build-AndroidExtraPackagesTable {
param (
[Parameter(Mandatory)][AllowEmptyString()]
[string[]] $installedPackages
)
$extraPackages = @(
"Android Support Repository",
"Google Play services",
"Google Repository",
"Hardware_Accelerated_Execution_Manager"
)
return $extraPackages | ForEach-Object {
$packageId = $_
$packageInfo = $installedPackages | Where-Object { $_ -Like "*${packageId}*" } | Select-Object -First 1
$packageInfoParts = Split-TableRowByColumns $packageInfo
return [PSCustomObject] @{
"Package Name" = $packageInfoParts[2]
"Version" = $packageInfoParts[1]
}
}
return ($versions -Join "<br>")
}

View File

@@ -55,6 +55,10 @@ if ( -not $os.IsHighSierra) {
$markdown += New-MDList -Style Unordered -NoNewLine -Lines $lines
}
if ($os.IsLessThanBigSur) {
$markdown += New-MDList -Style Unordered -Lines @(Get-RVersion) -NoNewLine
}
$markdown += New-MDList -Style Unordered -Lines @(
"Node.js ${nodejsVersion}"
"NVM ${nvmVersion}"
@@ -63,7 +67,6 @@ $markdown += New-MDList -Style Unordered -Lines @(
$python3Version,
"Ruby ${rubyVersion}",
(Get-DotnetVersionList),
(Get-RVersion),
"Go ${goVersion}",
"$phpVersion",
"$juliaVersion"
@@ -139,8 +142,6 @@ $bazelVersion = Run-Command "bazel --version" | Take-Part -Part 0 -Delimiter "-"
$bazeliskVersion = Run-Command "bazelisk version" | Select-String "Bazelisk version:" | Take-Part -Part 1 -Delimiter ":"
$packerVersion = Run-Command "packer --version"
$helmVersion = Run-Command "helm version --short"
$vbox = Run-Command "vboxmanage -v"
$vagrant = Run-Command "vagrant -v"
$mongo = Run-Command "mongo --version" | Select-String "MongoDB shell version" | Take-Part -Part 3
$mongod = Run-Command "mongod --version" | Select-String "db version " | Take-Part -Part 2
$p7zip = Run-Command "7z i" | Select-String "7-Zip" | Take-Part -Part 0,2
@@ -166,10 +167,8 @@ $markdown += New-MDList -Style Unordered -NoNewLine -Lines @(
$bazelVersion,
"bazelisk $($bazeliskVersion.Trim())",
"helm $helmVersion",
"virtualbox $vbox",
"mongo $mongo",
"mongod $mongod",
"$vagrant",
$p7zip
)
if ($os.IsHigherThanMojave) {
@@ -177,8 +176,14 @@ if ($os.IsHigherThanMojave) {
$markdown += New-MDList -Lines "Newman $newmanVersion" -Style Unordered -NoNewLine
}
if ($os.IsLessThanBigSur) {
$vagrant = Run-Command "vagrant -v"
$vbox = Run-Command "vboxmanage -v"
$parallelVersion = Run-Command "parallel --version" | Select-String "GNU parallel" | Select-Object -First 1
$markdown += New-MDList -Lines $parallelVersion -Style Unordered
$markdown += New-MDList -Style Unordered -Lines @(
"virtualbox $vbox",
$vagrant,
$parallelVersion
)
}
$markdown += New-MDNewLine
@@ -190,9 +195,9 @@ $azureCLIVersion = Run-Command "az -v" | Select-String "^azure-cli" | Take-Part
$awsVersion = Run-Command "aws --version" | Take-Part -Part 0 | Take-Part -Delimiter "/" -Part 1
$aliyunVersion = Run-Command "aliyun --version" | Select-String "Alibaba Cloud Command Line Interface Version " | Take-Part -Part 6
$awsSamVersion = Run-Command "sam --version" | Take-Part -Part 3
$awsSessionManagerVersion = Run-Command "session-manager-plugin --version"
$awsSessionManagerVersion = Run-Command "session-manager-plugin --version"
$ghcUpVersion = Run-Command "ghcup --version" | Take-Part -Part 5
$ghcVersion = Run-Command "ghc --version" | Take-Part -Part 7
$ghcVersion = Run-Command "ghc --version" | Take-Part -Part 7
$cabalVersion = Run-Command "cabal --version" | Take-Part -Part 3
$stackVersion = Run-Command "stack --version" | Take-Part -Part 1 | ForEach-Object {$_.replace(",","")}
@@ -305,45 +310,7 @@ if (-not $os.IsBigSur) {
# Android section
$markdown += New-MDHeader "Android" -Level 3
$androidInstalledPackages = Get-AndroidInstalledPackages
$markdown += New-MDHeader "Android SDK Tools" -Level 4
$androidSDKTools = $androidInstalledPackages | Where-Object { $_ -Match "Android SDK Tools" }
$markdown += Build-AndroidSDKToolsTable $androidSDKTools | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Android SDK Platform-Tools" -Level 4
$androidSDKPlatformTools = $androidInstalledPackages | Where-Object { $_ -Match "Android SDK Platform-Tools" }
$markdown += Build-AndroidSDKToolsTable $androidSDKPlatformTools | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Android SDK Platforms" -Level 4
$androidSDKPlatforms = $androidInstalledPackages | Where-Object { $_ -Match "Android SDK Platform " }
$markdown += Build-AndroidSDKPlatformTable $androidSDKPlatforms | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Android SDK Build-Tools" -Level 4
$androidSDKBuildTools = $androidInstalledPackages | Where-Object { $_ -Match "Android SDK Build-Tools" }
$markdown += Build-AndroidSDKBuildtoolsTable $androidSDKBuildTools | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Android NDKs" -Level 4
$markdown += Build-AndroidNDKTable $androidInstalledPackages | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Android Utils" -Level 4
$markdown += Build-AndroidUtilsTable $androidInstalledPackages | New-MDTable
$markdown += New-MDNewLine
$androidGoogleAPIsTable = $androidInstalledPackages | Where-Object { $_ -Match "Google APIs" }
if ($androidGoogleAPIsTable.Count -gt 0) {
$markdown += New-MDHeader "Android Google APIs" -Level 4
$markdown += Build-AndroidSDKPlatformTable $androidGoogleAPIsTable | New-MDTable
$markdown += New-MDNewLine
}
$markdown += New-MDHeader "Extra Packages" -Level 4
$markdown += Build-AndroidExtraPackagesTable $androidInstalledPackages | New-MDTable
$markdown += Build-AndroidTable | New-MDTable
$markdown += New-MDNewLine
#

View File

@@ -12,6 +12,14 @@ Describe "Disk free space" {
}
}
Describe "Certificate" {
It "Apple Worldwide Developer Relations Certification Authority[expired: 2030-02] is installed" {
$sha1Hash = "06EC06599F4ED0027CC58956B4D3AC1255114F35"
$certs = security find-certificate -a -c Worldwide -p -Z | Out-String
$certs | Should -Match $sha1Hash
}
}
Describe "Git" {
It "git is installed" {
"git --version" | Should -ReturnZeroExitCode
@@ -103,7 +111,7 @@ Describe "Common utilities" {
$result = Get-CommandResult "gem list"
$result.Output | Should -BeLike "*nomad-cli*"
}
It "Nomad CLI IPA" {
"ipa --version" | Should -ReturnZeroExitCode
}
@@ -163,7 +171,7 @@ Describe "Common utilities" {
It "PostgreSQL-Client" {
"psql --version" | Should -ReturnZeroExitCode
}
It "PostgreSQL-Server" {
"pg_config --version" | Should -ReturnZeroExitCode
}
@@ -180,11 +188,11 @@ Describe "Common utilities" {
Get-WhichTool "php" | Should -Not -BeLike "/usr/bin/php*"
"php --version" | Should -ReturnZeroExitCode
}
It "Composer" {
"composer --version" | Should -ReturnZeroExitCode
}
It "R" -Skip:($os.IsBigSur) {
"R --version" | Should -ReturnZeroExitCode
}
@@ -200,7 +208,7 @@ Describe "Common utilities" {
It "bazelisk" {
"bazelisk version" | Should -ReturnZeroExitCode
}
It "Julia" {
"julia --version" | Should -ReturnZeroExitCode
}
@@ -213,11 +221,11 @@ Describe "Common utilities" {
"helm version --short" | Should -ReturnZeroExitCode
}
It "virtualbox" {
It "virtualbox" -Skip:($os.IsBigSur) {
"vboxmanage -v" | Should -ReturnZeroExitCode
}
It "vagrant" {
It "vagrant" -Skip:($os.IsBigSur) {
"vagrant --version" | Should -ReturnZeroExitCode
}
@@ -254,7 +262,7 @@ Describe "Browsers" {
It "Microsoft Edge Driver" {
"msedgedriver --version" | Should -ReturnZeroExitCode
}
It "Firefox" {
$firefoxLocation = "/Applications/Firefox.app/Contents/MacOS/firefox"
$firefoxLocation | Should -Exist
@@ -306,7 +314,7 @@ Describe "Haskell" -Skip:($os.IsHighSierra) {
It "GHC" {
"ghc --version" | Should -ReturnZeroExitCode
}
It "Cabal" {
"cabal --version" | Should -ReturnZeroExitCode
}
@@ -329,7 +337,7 @@ Describe "Gcc" -Skip:($os.IsHighSierra) {
param (
[string] $GccVersion
)
"gcc-$GccVersion --version" | Should -ReturnZeroExitCode
}
}

View File

@@ -6,12 +6,12 @@
]
},
"xamarin": {
"vsmac": "8.7.7.10",
"vsmac": "8.7.8.4",
"mono-versions": [
"6.12.0.93", "6.10.0.106", "6.8.0.123", "6.6.0.166", "6.4.0.208"
],
"ios-versions": [
"13.20.2.2", "13.18.2.1", "13.16.0.13", "13.14.1.39", "13.10.0.21", "13.8.3.0", "13.6.0.12", "13.4.0.2", "13.2.0.47"
"14.0.0.0", "13.20.2.2", "13.18.2.1", "13.16.0.13", "13.14.1.39", "13.10.0.21", "13.8.3.0", "13.6.0.12", "13.4.0.2", "13.2.0.47"
],
"mac-versions": [
"6.20.2.2", "6.18.3.2", "6.16.0.13", "6.14.1.39", "6.10.0.21", "6.8.3.0", "6.6.0.12", "6.4.0.2", "6.2.0.47"
@@ -21,6 +21,13 @@
],
"bundle-default": "latest",
"bundles": [
{
"symlink": "6_12_1",
"mono":"6.12",
"ios": "14.0",
"mac": "6.20",
"android": "11.0"
},
{
"symlink": "6_12_0",
"mono":"6.12",

View File

@@ -6,12 +6,12 @@
]
},
"xamarin": {
"vsmac": "8.7.7.10",
"vsmac": "8.7.8.4",
"mono-versions": [
"6.12.0.93"
],
"ios-versions": [
"13.20.2.2"
"14.0.0.0", "13.20.2.2"
],
"mac-versions": [
"6.20.2.2"
@@ -21,6 +21,13 @@
],
"bundle-default": "latest",
"bundles": [
{
"symlink": "6_12_1",
"mono":"6.12",
"ios": "14.0",
"mac": "6.20",
"android": "11.0"
},
{
"symlink": "6_12_0",
"mono":"6.12",

View File

@@ -15,7 +15,6 @@
"private_virtual_network_with_public_ip": "{{env `PRIVATE_VIRTUAL_NETWORK_WITH_PUBLIC_IP`}}",
"vm_size": "Standard_DS4_v2",
"run_scan_antivirus": "false",
"root_folder": "C:",
"toolset_json_path": "{{env `TEMP`}}\\toolset.json",
"image_folder": "C:\\image",
@@ -30,7 +29,11 @@
"github_feed_token": "{{env `GITHUB_FEED_TOKEN`}}",
"announcements": "{{env `ANNOUNCEMENTS`}}"
},
"sensitive-variables": ["install_password", "client_secret", "github_feed_token"],
"sensitive-variables": [
"install_password",
"client_secret",
"github_feed_token"
],
"builders": [
{
"name": "vhd",
@@ -65,7 +68,7 @@
"provisioners": [
{
"type": "powershell",
"inline":[
"inline": [
"New-Item -Path {{user `image_folder`}} -ItemType Directory -Force"
]
},
@@ -97,7 +100,7 @@
{
"type": "windows-shell",
"inline": [
"net user {{user `install_user`}} {{user `install_password`}} /add /passwordchg:no /passwordreq:yes /active:yes /Y" ,
"net user {{user `install_user`}} {{user `install_password`}} /add /passwordchg:no /passwordreq:yes /active:yes /Y",
"net localgroup Administrators {{user `install_user`}} /add",
"winrm set winrm/config/service/auth @{Basic=\"true\"}",
"winrm get winrm/config/service/auth"
@@ -116,7 +119,7 @@
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-PowerShellModules.ps1",
"{{ template_dir }}/scripts/Installers/Initialize-VM.ps1",
"{{ template_dir }}/scripts/Installers/Install-WebPlatformInstaller.ps1"
@@ -125,7 +128,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Update-DotnetTLS.ps1",
"{{ template_dir }}/scripts/Installers/Install-ContainersFeature.ps1"
]
@@ -137,8 +140,8 @@
{
"type": "powershell",
"inline": [
"setx ImageVersion {{user `image_version` }} /m",
"setx ImageOS {{user `image_os` }} /m"
"setx ImageVersion {{user `image_version` }} /m",
"setx ImageOS {{user `image_os` }} /m"
]
},
{
@@ -147,7 +150,7 @@
"IMAGE_VERSION={{user `image_version`}}",
"IMAGEDATA_FILE={{user `imagedata_file`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Update-ImageData.ps1",
"{{ template_dir }}/scripts/Installers/Install-Docker.ps1",
"{{ template_dir }}/scripts/Installers/Install-PowershellCore.ps1"
@@ -159,7 +162,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Update-DockerImages.ps1"
]
},
@@ -169,10 +172,10 @@
0,
3010
],
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-VS.ps1",
"{{ template_dir }}/scripts/Installers/Install-NET48.ps1",
"{{ template_dir }}/scripts/Installers/Windows2016/Install-SSDT.ps1"
@@ -182,10 +185,10 @@
},
{
"type": "powershell",
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-Nuget.ps1",
"{{ template_dir }}/scripts/Installers/Install-Wix.ps1",
"{{ template_dir }}/scripts/Installers/Install-WDK.ps1",
@@ -194,7 +197,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
],
"execution_policy": "remotesigned"
@@ -205,10 +208,11 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-AzureCli.ps1",
"{{ template_dir }}/scripts/Installers/Install-AzureDevOpsCli.ps1",
"{{ template_dir }}/scripts/Installers/Install-AzCopy.ps1",
"{{ template_dir }}/scripts/Installers/Install-AzureDevSpacesCli.ps1",
"{{ template_dir }}/scripts/Installers/Install-NodeLts.ps1",
"{{ template_dir }}/scripts/Installers/Install-Bazel.ps1",
"{{ template_dir }}/scripts/Installers/Install-7zip.ps1",
@@ -221,12 +225,12 @@
},
{
"type": "powershell",
"environment_vars":[
"environment_vars": [
"GITHUB_FEED_TOKEN={{ user `github_feed_token` }}",
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"ROOT_FOLDER={{user `root_folder`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Download-ToolCache.ps1",
"{{ template_dir }}/scripts/Installers/Install-PyPy.ps1",
"{{ template_dir }}/scripts/Installers/Install-Toolset.ps1",
@@ -237,7 +241,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-Sbt.ps1",
"{{ template_dir }}/scripts/Installers/Install-OpenSSL.ps1",
"{{ template_dir }}/scripts/Installers/Install-Perl.ps1",
@@ -256,7 +260,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Enable-DeveloperMode.ps1"
],
"elevated_user": "{{user `install_user`}}",
@@ -272,21 +276,23 @@
},
{
"type": "windows-shell",
"inline": ["wmic product where \"name like '%%microsoft azure powershell%%'\" call uninstall /nointeractive"]
"inline": [
"wmic product where \"name like '%%microsoft azure powershell%%'\" call uninstall /nointeractive"
]
},
{
"type": "powershell",
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-AzureModules.ps1"
]
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-VSWhere.ps1",
"{{ template_dir }}/scripts/Installers/Install-WinAppDriver.ps1",
"{{ template_dir }}/scripts/Installers/Install-Cmake.ps1",
@@ -300,7 +306,15 @@
},
{
"type": "powershell",
"scripts":[
"elevated_user": "SYSTEM",
"elevated_password": "",
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-Msys2.ps1"
]
},
{
"type": "powershell",
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-Mingw64.ps1",
"{{ template_dir }}/scripts/Installers/Install-TypeScript.ps1",
"{{ template_dir }}/scripts/Installers/Install-Haskell.ps1",
@@ -318,12 +332,13 @@
"{{ template_dir }}/scripts/Installers/Install-KubernetesCli.ps1",
"{{ template_dir }}/scripts/Installers/Install-Kind.ps1",
"{{ template_dir }}/scripts/Installers/Install-MongoDB.ps1",
"{{ template_dir }}/scripts/Installers/Install-GoogleCloudSDK.ps1"
"{{ template_dir }}/scripts/Installers/Install-GoogleCloudSDK.ps1",
"{{ template_dir }}/scripts/Installers/Install-CodeQLBundle.ps1"
]
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-WindowsUpdates.ps1",
"{{ template_dir }}/scripts/Installers/Configure-DynamicPort.ps1",
"{{ template_dir }}/scripts/Installers/Disable-JITDebugger.ps1",
@@ -338,10 +353,10 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Tests/RunAll-Tests.ps1"
],
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}",
"ROOT_FOLDER={{user `root_folder`}}"
@@ -352,7 +367,7 @@
"inline": [
"pwsh -File '{{user `image_folder`}}\\SoftwareReport\\SoftwareReport.Generator.ps1'"
],
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"ANNOUNCEMENTS={{user `announcements`}}"
]
@@ -365,7 +380,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Finalize-VM.ps1"
]
},
@@ -375,17 +390,18 @@
},
{
"type": "powershell",
"environment_vars":[
"environment_vars": [
"RUN_SCAN_ANTIVIRUS={{user `run_scan_antivirus`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Run-Antivirus.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Configure-Antivirus.ps1"
"scripts": [
"{{ template_dir }}/scripts/Installers/Configure-Antivirus.ps1",
"{{ template_dir }}/scripts/Installers/Disable-JITDebugger.ps1"
]
},
{

View File

@@ -4,7 +4,7 @@
***
# Microsoft Windows Server 2016 Datacenter
- OS Version: 10.0.14393 Build 3930
- Image Version: 20200913.0
- Image Version: 20200920.1
## Installed Software
### Language and Runtime
@@ -18,7 +18,7 @@
- PHP 7.4.9
- Julia 1.5.1
- Perl 5.32.0
- Node 12.18.3
- Node 12.18.4
### Package Management
- Chocolatey 0.10.15
@@ -28,7 +28,7 @@
- pip 20.2.3 (python 3.7)
- Miniconda 4.6.14
- RubyGems 3.1.4
- Helm 3.3.1
- Helm 3.3.3
- Composer 1.10.13
- NuGet 5.7.0.6726
@@ -45,15 +45,15 @@
- Bazelisk 1.6.1
- CMake 3.18.2
- R 4.0.2
- Docker 19.03.11
- Docker-compose 1.26.2
- Docker 19.03.12
- Docker-compose 1.27.2
- Git 2.28.0
- Git LFS 2.11.0
- Google Cloud SDK 309.0.0
- Google Cloud SDK 310.0.0
- InnoSetup 6.0.5
- jq 1.6
- Kubectl 1.19.1
- Kind 0.8.1
- Kind 0.9.0
- Mingw-w64 8.1.0
- MySQL 5.7.21.0
- Mercurial 5.0
@@ -61,7 +61,7 @@
- Newman 5.2.0
- OpenSSL 1.1.1
- Packer 1.6.2
- Pulumi v2.10.0
- Pulumi v2.10.1
- SQLPS 1.0
- SQLServer PS 21.1.18226
- Subversion (SVN) 1.14.0
@@ -77,20 +77,20 @@
### CLI Tools
- Azure CLI 2.11.1
- Azure DevOps CLI extension 0.18.0
- AWS CLI 2.0.48
- AWS CLI 2.0.50
- AWS SAM CLI 1.2.0
- AWS Session Manager CLI 1.1.61.0
- Alibaba Cloud CLI 3.0.56
- Alibaba Cloud CLI 3.0.59
- Cloud Foundry CLI 6.52.0
- Hub CLI 2.14.2
- GitHub CLI 0.12.0
- GitHub CLI 1.0.0
### Rust Tools
- Rust 1.46.0
#### Packages
- bindgen 0.55.1
- cbindgen 0.14.4
- cbindgen 0.14.5
- cargo-audit 0.12.0
- cargo-outdated v0.9.11
@@ -147,9 +147,9 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Version | Architecture |
| ------- | ------------ |
| 8.17.0 | x64 |
| 10.22.0 | x64 |
| 12.18.3 | x64 |
| 14.10.1 | x64 |
| 10.22.1 | x64 |
| 12.18.4 | x64 |
| 14.11.0 | x64 |
#### Python
@@ -174,8 +174,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.2 with MSC v.1927 32 bit |
| 3.6.9 | x86 | PyPy 7.3.2 with MSC v.1927 32 bit |
| 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 |

View File

@@ -15,7 +15,6 @@
"private_virtual_network_with_public_ip": "{{env `PRIVATE_VIRTUAL_NETWORK_WITH_PUBLIC_IP`}}",
"vm_size": "Standard_D4_v2",
"run_scan_antivirus": "false",
"root_folder": "C:",
"toolset_json_path": "{{env `TEMP`}}\\toolset.json",
"image_folder": "C:\\image",
@@ -30,7 +29,11 @@
"github_feed_token": "{{env `GITHUB_FEED_TOKEN`}}",
"announcements": "{{env `ANNOUNCEMENTS`}}"
},
"sensitive-variables": ["install_password", "client_secret", "github_feed_token"],
"sensitive-variables": [
"install_password",
"client_secret",
"github_feed_token"
],
"builders": [
{
"name": "vhd",
@@ -65,7 +68,7 @@
"provisioners": [
{
"type": "powershell",
"inline":[
"inline": [
"New-Item -Path {{user `image_folder`}} -ItemType Directory -Force"
]
},
@@ -97,7 +100,7 @@
{
"type": "windows-shell",
"inline": [
"net user {{user `install_user`}} {{user `install_password`}} /add /passwordchg:no /passwordreq:yes /active:yes /Y" ,
"net user {{user `install_user`}} {{user `install_password`}} /add /passwordchg:no /passwordreq:yes /active:yes /Y",
"net localgroup Administrators {{user `install_user`}} /add",
"winrm set winrm/config/service/auth @{Basic=\"true\"}",
"winrm get winrm/config/service/auth"
@@ -116,7 +119,7 @@
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-PowerShellModules.ps1",
"{{ template_dir }}/scripts/Installers/Initialize-VM.ps1",
"{{ template_dir }}/scripts/Installers/Install-WebPlatformInstaller.ps1"
@@ -127,13 +130,13 @@
"type": "powershell",
"elevated_user": "SYSTEM",
"elevated_password": "",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Windows2019/Install-WSL.ps1"
]
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Update-DotnetTLS.ps1",
"{{ template_dir }}/scripts/Installers/Install-ContainersFeature.ps1"
]
@@ -141,8 +144,8 @@
{
"type": "powershell",
"inline": [
"setx ImageVersion {{user `image_version` }} /m",
"setx ImageOS {{user `image_os` }} /m"
"setx ImageVersion {{user `image_version` }} /m",
"setx ImageOS {{user `image_os` }} /m"
]
},
{
@@ -155,7 +158,7 @@
"IMAGE_VERSION={{user `image_version`}}",
"IMAGEDATA_FILE={{user `imagedata_file`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Update-ImageData.ps1",
"{{ template_dir }}/scripts/Installers/Install-Docker.ps1",
"{{ template_dir }}/scripts/Installers/Install-PowershellCore.ps1"
@@ -167,7 +170,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Update-DockerImages.ps1"
]
},
@@ -177,10 +180,10 @@
0,
3010
],
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-VS.ps1",
"{{ template_dir }}/scripts/Installers/Install-NET48.ps1"
],
@@ -189,10 +192,10 @@
},
{
"type": "powershell",
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-Nuget.ps1",
"{{ template_dir }}/scripts/Installers/Install-Wix.ps1",
"{{ template_dir }}/scripts/Installers/Install-WDK.ps1",
@@ -200,6 +203,7 @@
"{{ template_dir }}/scripts/Installers/Install-AzureCli.ps1",
"{{ template_dir }}/scripts/Installers/Install-AzureDevOpsCli.ps1",
"{{ template_dir }}/scripts/Installers/Install-AzCopy.ps1",
"{{ template_dir }}/scripts/Installers/Install-AzureDevSpacesCli.ps1",
"{{ template_dir }}/scripts/Installers/Install-NodeLts.ps1",
"{{ template_dir }}/scripts/Installers/Install-7zip.ps1",
"{{ template_dir }}/scripts/Installers/Install-Packer.ps1",
@@ -209,7 +213,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
],
"execution_policy": "remotesigned"
@@ -220,38 +224,39 @@
},
{
"type": "powershell",
"environment_vars":[
"environment_vars": [
"GITHUB_FEED_TOKEN={{ user `github_feed_token` }}",
"ROOT_FOLDER={{user `root_folder`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Download-ToolCache.ps1"
]
},
{
"type": "windows-shell",
"inline": ["wmic product where \"name like '%%microsoft azure powershell%%'\" call uninstall /nointeractive"]
"inline": [
"wmic product where \"name like '%%microsoft azure powershell%%'\" call uninstall /nointeractive"
]
},
{
"type": "powershell",
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"ROOT_FOLDER={{user `root_folder`}}",
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-PyPy.ps1",
"{{ template_dir }}/scripts/Installers/Install-Toolset.ps1",
"{{ template_dir }}/scripts/Installers/Configure-Toolset.ps1",
"{{ template_dir }}/scripts/Installers/Install-YAMLLint.ps1",
"{{ template_dir }}/scripts/Installers/Update-AndroidSDK.ps1",
"{{ template_dir }}/scripts/Installers/Install-AzureModules.ps1"
]
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-OpenSSL.ps1",
"{{ template_dir }}/scripts/Installers/Install-Perl.ps1",
"{{ template_dir }}/scripts/Installers/Install-Git.ps1",
@@ -270,7 +275,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Enable-DeveloperMode.ps1"
],
"elevated_user": "{{user `install_user`}}",
@@ -280,13 +285,13 @@
"type": "powershell",
"elevated_user": "SYSTEM",
"elevated_password": "",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-Msys2.ps1"
]
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-VSWhere.ps1",
"{{ template_dir }}/scripts/Installers/Install-WinAppDriver.ps1",
"{{ template_dir }}/scripts/Installers/Install-Cmake.ps1",
@@ -317,12 +322,13 @@
"{{ template_dir }}/scripts/Installers/Install-AliyunCli.ps1",
"{{ template_dir }}/scripts/Installers/Install-RootCA.ps1",
"{{ template_dir }}/scripts/Installers/Install-MongoDB.ps1",
"{{ template_dir }}/scripts/Installers/Install-GoogleCloudSDK.ps1"
"{{ template_dir }}/scripts/Installers/Install-GoogleCloudSDK.ps1",
"{{ template_dir }}/scripts/Installers/Install-CodeQLBundle.ps1"
]
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-WindowsUpdates.ps1",
"{{ template_dir }}/scripts/Installers/Configure-DynamicPort.ps1",
"{{ template_dir }}/scripts/Installers/Disable-JITDebugger.ps1",
@@ -337,10 +343,10 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Tests/RunAll-Tests.ps1"
],
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}",
"ROOT_FOLDER={{user `root_folder`}}"
@@ -351,7 +357,7 @@
"inline": [
"pwsh -File '{{user `image_folder`}}\\SoftwareReport\\SoftwareReport.Generator.ps1'"
],
"environment_vars":[
"environment_vars": [
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
"ANNOUNCEMENTS={{user `announcements`}}"
]
@@ -364,7 +370,7 @@
},
{
"type": "powershell",
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Finalize-VM.ps1"
]
},
@@ -374,17 +380,28 @@
},
{
"type": "powershell",
"environment_vars":[
"environment_vars": [
"RUN_SCAN_ANTIVIRUS={{user `run_scan_antivirus`}}"
],
"scripts":[
"scripts": [
"{{ template_dir }}/scripts/Installers/Run-Antivirus.ps1"
]
},
{
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Configure-Antivirus.ps1",
"scripts": [
"{{ template_dir }}/scripts/Installers/Configure-Antivirus.ps1"
]
},
{
"type": "powershell",
"scripts": [
"{{ template_dir }}/scripts/Installers/Disable-JITDebugger.ps1"
]
},
{
"type": "powershell",
"scripts": [
"{{ template_dir }}/scripts/Installers/Run-NGen.ps1"
]
},

View File

@@ -1,10 +1,10 @@
| Announcements |
|-|
| [Replace SVN (1.8.17) by TortoiseSVN (1.14.x) on Windows images](https://github.com/actions/virtual-environments/issues/1318) |
| [[In Discussion] Git internal tools will be removed from PATH Windows images](https://github.com/actions/virtual-environments/issues/1525) |
***
# Microsoft Windows Server 2019 Datacenter
- OS Version: 10.0.17763 Build 1397
- Image Version: 20200827.1
- OS Version: 10.0.17763 Build 1457
- Image Version: 20200920.1
## Enabled windows optional features
- Windows Subsystem for Linux
@@ -17,26 +17,26 @@
- Java 13.0.2
- Python 3.7.9
- Ruby 2.5.8p224
- Go 1.14.7
- Go 1.14.9
- PHP 7.4.9
- Julia 1.5.1
- Perl 5.30.3
- Node 12.18.3
- Perl 5.32.0
- Node 12.18.4
### Package Management
- Chocolatey 0.10.15
- Vcpkg 2020.06.15
- NPM 6.14.6
- Yarn 1.22.4
- pip 20.2.2 (python 3.7)
- Yarn 1.22.5
- pip 20.2.3 (python 3.7)
- Miniconda 4.6.14
- RubyGems 3.1.4
- Helm 3.3.0
- Composer 1.10.10
- Helm 3.3.3
- Composer 1.10.13
- NuGet 5.7.0.6726
### Project Management
- Ant 1.10.5
- Ant 1.10.8
- Maven 3.6.3
- Gradle 6.6
- sbt 1.3.13
@@ -44,26 +44,27 @@
### Tools
- Azure CosmosDb Emulator 2.11.5.0
- azcopy 10.6.0
- Bazel 3.4.1
- Bazel 3.5.0
- Bazelisk 1.6.1
- CMake 3.18.2
- R 4.0.2
- Docker 19.03.11
- Docker-compose 1.26.2
- Docker 19.03.12
- Docker-compose 1.27.2
- Git 2.28.0
- Git LFS 2.11.0
- Google Cloud SDK 307.0.0
- Google Cloud SDK 310.0.0
- InnoSetup 6.0.5
- jq 1.6
- Kubectl 1.18.8
- Kind 0.8.1
- 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.1.2
- Newman 5.2.0
- OpenSSL 1.1.1
- Packer 1.6.1
- Packer 1.6.2
- Pulumi v2.10.1
- SQLPS 1.0
- SQLServer PS 21.1.18226
- Subversion (SVN) 1.14.0
@@ -71,37 +72,37 @@
- Cabal 3.2.0.0
- Stack 2.3.3
- WinAppDriver 1.1.1809.18001
- zstd 1.4.0
- zstd 1.4.5
- VSWhere 2.8.4
- 7zip 19.00
- yamllint 1.24.2
### CLI Tools
- Azure CLI 2.11.0
- Azure CLI 2.11.1
- Azure DevOps CLI extension 0.18.0
- AWS CLI 2.0.43
- AWS SAM CLI 1.1.0
- AWS CLI 2.0.50
- AWS SAM CLI 1.2.0
- AWS Session Manager CLI 1.1.61.0
- Alibaba Cloud CLI 3.0.56
- Alibaba Cloud CLI 3.0.59
- Cloud Foundry CLI 6.52.0
- Hub CLI 2.14.2
- GitHub CLI gh version 0.11.1 (2020-07-28) https://github.com/cli/cli/releases/tag/v0.11.1
- GitHub CLI 1.0.0
### Rust Tools
- Rust 1.45.2
- Rust 1.46.0
#### Packages
- bindgen 0.55.1
- cbindgen 0.14.4
- cbindgen 0.14.5
- cargo-audit 0.12.0
- cargo-outdated v0.9.11
### Browsers and webdrivers
- Google Chrome 85.0.4183.83
- Chrome Driver 85.0.4183.83
- Microsoft Edge 84.0.522.63
- Microsoft Edge Driver 84.0.522.63
- Mozilla Firefox 80.0
- 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
- Gecko Driver 0.27.0
- IE Driver 3.150.1.0
@@ -141,17 +142,17 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| 1.11.13 | x64 | GOROOT_1_11_X64 |
| 1.12.17 | x64 | GOROOT_1_12_X64 |
| 1.13.15 | x64 | GOROOT_1_13_X64 |
| 1.14.7 (Default) | x64 | GOROOT_1_14_X64 |
| 1.15.0 | x64 | GOROOT_1_15_X64 |
| 1.14.9 (Default) | x64 | GOROOT_1_14_X64 |
| 1.15.2 | x64 | GOROOT_1_15_X64 |
#### Node
| Version | Architecture |
| ------- | ------------ |
| 8.17.0 | x64 |
| 10.22.0 | x64 |
| 12.18.3 | x64 |
| 14.8.0 | x64 |
| 10.22.1 | x64 |
| 12.18.4 | x64 |
| 14.11.0 | x64 |
#### Python
@@ -198,20 +199,20 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
#### MongoDB
| Version | ServiceName | ServiceStatus | ServiceStartType |
| ------- | ----------- | ------------- | ---------------- |
| 4.4.0.0 | MongoDB | Running | Automatic |
| 4.4.1.0 | MongoDB | Running | Automatic |
### Visual Studio Enterprise 2019
| Name | Version | Path |
| ----------------------------- | -------------- | -------------------------------------------------------------- |
| Visual Studio Enterprise 2019 | 16.7.30413.136 | C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise |
| Visual Studio Enterprise 2019 | 16.7.30503.244 | C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise |
#### Workloads, components and extensions:
| Package | Version |
| ------------------------------------------------------------------------- | -------------- |
| Component.Android.NDK.R16B | 16.7.30411.121 |
| Component.Android.NDK.R16B | 16.7.30427.251 |
| Component.Android.SDK25.Private | 16.0.28625.61 |
| Component.Android.SDK28 | 16.2.29003.222 |
| Component.Ant | 1.9.3.8 |
@@ -230,12 +231,14 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Component.UnityEngine.x64 | 16.7.30310.162 |
| Component.Unreal | 16.1.28810.153 |
| Component.Unreal.Android | 16.1.28810.153 |
| Component.VSInstallerProjects | 0.9.9 |
| Component.WixToolset.VisualStudioExtension.Dev16 | 1.0.0.4 |
| Component.WixToolset.VisualStudioExtension.Schemas3 | 1.0.0.4 |
| Component.WixToolset.VisualStudioExtension.Schemas4 | 1.0.0.4 |
| Component.Xamarin | 16.7.30310.162 |
| Component.Xamarin.RemotedSimulator | 16.0.28315.86 |
| Microsoft.Component.Azure.DataLake.Tools | 16.7.30310.162 |
| Microsoft.Component.ClickOnce | 16.4.29409.204 |
| Microsoft.Component.MSBuild | 16.5.29515.121 |
| Microsoft.Component.NetFX.Native | 16.5.29515.121 |
| Microsoft.Component.PythonTools | 16.5.29515.121 |
@@ -261,10 +264,10 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Microsoft.Net.ComponentGroup.4.7.DeveloperTools | 16.3.29207.166 |
| Microsoft.Net.ComponentGroup.DevelopmentPrerequisites | 16.3.29207.166 |
| Microsoft.Net.ComponentGroup.TargetingPacks.Common | 16.0.28516.191 |
| Microsoft.Net.Core.Component.SDK.2.1 | 16.7.30406.193 |
| Microsoft.Net.Core.Component.SDK.2.1 | 16.7.30428.286 |
| Microsoft.NetCore.Component.DevelopmentTools | 16.5.29721.120 |
| Microsoft.NetCore.Component.Runtime.3.1 | 16.7.30406.193 |
| Microsoft.NetCore.Component.SDK | 16.7.30406.193 |
| Microsoft.NetCore.Component.Runtime.3.1 | 16.7.30428.286 |
| Microsoft.NetCore.Component.SDK | 16.7.30428.286 |
| Microsoft.NetCore.Component.Web | 16.5.29721.120 |
| Microsoft.VisualStudio.Component.AppInsights.Tools | 16.5.29515.121 |
| Microsoft.VisualStudio.Component.AspNet45 | 16.0.28315.86 |
@@ -397,6 +400,7 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang | 16.7.30310.162 |
| Microsoft.VisualStudio.ComponentGroup.UWP.NetCoreAndStandard | 16.3.29102.218 |
| Microsoft.VisualStudio.ComponentGroup.UWP.Support | 16.4.29409.204 |
| Microsoft.VisualStudio.ComponentGroup.UWP.VC | 16.7.30310.162 |
| Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin | 16.5.29514.35 |
| Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites | 16.4.29318.151 |
| Microsoft.VisualStudio.ComponentGroup.Web | 16.4.29318.151 |
@@ -422,7 +426,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.12 |
| SSDT Microsoft Analysis Services Projects | 2.9.13 |
| SSDT SQL Server Integration Services Projects | 3.9 |
| SSDT Microsoft Reporting Services Projects | 2.6.7 |
| Windows Driver Kit | 3.11.4516 |
@@ -451,20 +455,20 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
### .NET Core SDK
`Location C:\Program Files\dotnet\sdk`
- 2.1.300 2.1.301 2.1.302 2.1.401 2.1.402 2.1.403 2.1.500 2.1.502 2.1.503 2.1.504 2.1.505 2.1.506 2.1.507 2.1.508 2.1.509 2.1.510 2.1.511 2.1.512 2.1.513 2.1.514 2.1.515 2.1.516 2.1.517 2.1.602 2.1.603 2.1.604 2.1.605 2.1.606 2.1.607 2.1.608 2.1.609 2.1.610 2.1.611 2.1.612 2.1.613 2.1.614 2.1.700 2.1.701 2.1.801 2.1.802 2.1.803 2.1.804 2.1.805 2.1.806 2.1.807 2.1.808 2.1.809 3.1.100 3.1.101 3.1.102 3.1.103 3.1.104 3.1.105 3.1.106 3.1.107 3.1.200 3.1.201 3.1.202 3.1.300 3.1.301 3.1.302 3.1.401
- 2.1.300 2.1.301 2.1.302 2.1.401 2.1.402 2.1.403 2.1.500 2.1.502 2.1.503 2.1.504 2.1.505 2.1.506 2.1.507 2.1.508 2.1.509 2.1.510 2.1.511 2.1.512 2.1.513 2.1.514 2.1.515 2.1.516 2.1.517 2.1.518 2.1.602 2.1.603 2.1.604 2.1.605 2.1.606 2.1.607 2.1.608 2.1.609 2.1.610 2.1.611 2.1.612 2.1.613 2.1.614 2.1.615 2.1.700 2.1.701 2.1.801 2.1.802 2.1.803 2.1.804 2.1.805 2.1.806 2.1.807 2.1.808 2.1.809 2.1.810 3.1.100 3.1.101 3.1.102 3.1.103 3.1.104 3.1.105 3.1.106 3.1.107 3.1.108 3.1.200 3.1.201 3.1.202 3.1.300 3.1.301 3.1.302 3.1.401 3.1.402
### .NET Core Runtime
`Location: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All`
- 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.20 2.1.21
- 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.20 2.1.21 2.1.22
`Location: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App`
- 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.20 2.1.21 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7
- 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.20 2.1.21 2.1.22 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8
`Location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App`
- 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.20 2.1.21 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7
- 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.20 2.1.21 2.1.22 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8
`Location: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App`
- 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7
- 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8
### .NET Framework
`Type: Developer Pack`
@@ -475,11 +479,11 @@ 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 | 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 | 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'.
@@ -490,7 +494,7 @@ All other versions are saved but not installed.
| ------------------ | ------------------ |
| DockerMsftProvider | 1.0.0.8 |
| MarkdownPS | 1.9 |
| Pester | 3.4.0<br>5.0.3 |
| 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 |

View File

@@ -0,0 +1,10 @@
################################################################################
## File: Install-AzureDevSpacesCLI.ps1
## Desc: Install Azure Dev Spaces CLI
################################################################################
# Install Azure Dev Spaces CLI
Install-Binary -Url "https://aka.ms/get-azds-windows" -Name "Azure Dev Spaces CLI.exe" -ArgumentList ("/quiet")
Add-MachinePathItem -PathItem "C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI"
Invoke-PesterTests -TestFile "CLI.Tools" -TestName "Azure Dev Spaces CLI"

View File

@@ -0,0 +1,28 @@
################################################################################
## File: Install-CodeQLBundle.ps1
## Desc: Install the CodeQL CLI Bundle to the toolcache.
################################################################################
# Retrieve the name of the CodeQL bundle preferred by the Action (in the format codeql-bundle-YYYYMMDD).
$CodeQLBundleName = (Invoke-RestMethod "https://raw.githubusercontent.com/github/codeql-action/main/src/defaults.json").bundleVersion
# Convert the bundle name to a version number (0.0.0-YYYYMMDD).
$CodeQLBundleVersion = "0.0.0-" + $CodeQLBundleName.split("-")[-1]
$ExtractionDirectory = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath $CodeQLBundleVersion | Join-Path -ChildPath "x64"
New-Item -Path $ExtractionDirectory -ItemType Directory -Force | Out-Null
Write-Host "Downloading CodeQL bundle $CodeQLBundleVersion..."
$CodeQLBundlePath = Start-DownloadWithRetry -Url "https://github.com/github/codeql-action/releases/download/$CodeQLBundleName/codeql-bundle.tar.gz" -Name "codeql-bundle.tar.gz"
$DownloadDirectoryPath = (Get-Item $CodeQLBundlePath).Directory.FullName
Extract-7Zip -Path $CodeQLBundlePath -DestinationPath $DownloadDirectoryPath
$UnGzipedCodeQLBundlePath = Join-Path $DownloadDirectoryPath "codeql-bundle.tar"
Extract-7Zip -Path $UnGzipedCodeQLBundlePath -DestinationPath $ExtractionDirectory
# Touch a special file that indicates to the CodeQL Action that this bundle was baked-in to the hosted runner images.
New-Item -ItemType file (Join-Path $ExtractionDirectory -ChildPath "pinned-version")
# Touch a file to indicate to the toolcache that setting up CodeQL is complete.
New-Item -ItemType file "$ExtractionDirectory.complete"
# Test that the tool has been extracted successfully.
Invoke-PesterTests -TestFile "Tools" -TestName "CodeQLBundle"

View File

@@ -71,6 +71,7 @@ $ndkRoot = "C:\Program Files (x86)\Android\android-sdk\ndk-bundle"
if (Test-Path $ndkRoot) {
setx ANDROID_HOME $sdkRoot /M
setx ANDROID_SDK_ROOT $sdkRoot /M
setx ANDROID_NDK_HOME $ndkRoot /M
setx ANDROID_NDK_PATH $ndkRoot /M
} else {

View File

@@ -1,3 +1,5 @@
$ErrorActionPreference = "Stop"
Import-Module MarkdownPS
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Android.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Browsers.psm1") -DisableNameChecking
@@ -77,6 +79,7 @@ $markdown += New-MDList -Style Unordered -Lines @(
(Get-BazelVersion),
(Get-BazeliskVersion),
(Get-CMakeVersion),
(Get-CodeQLBundleVersion),
(Get-RVersion),
(Get-DockerVersion),
(Get-DockerComposeVersion),
@@ -112,6 +115,7 @@ $markdown += New-MDHeader "CLI Tools" -Level 3
$markdown += New-MDList -Style Unordered -Lines @(
(Get-AzureCLIVersion),
(Get-AzureDevopsExtVersion),
(Get-AZDSVersion),
(Get-AWSCLIVersion),
(Get-AWSSAMVersion),
(Get-AWSSessionManagerVersion),

View File

@@ -30,6 +30,14 @@ function Get-CMakeVersion {
return "CMake $cmakeVersion"
}
function Get-CodeQLBundleVersion {
$CodeQLVersionsWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "codeql" | Join-Path -ChildPath "*"
$CodeQLVersionPath = Get-ChildItem $CodeQLVersionsWildcard | Select-Object -First 1 -Expand FullName
$CodeQLPath = Join-Path $CodeQLVersionPath -ChildPath "x64" | Join-Path -ChildPath "codeql" | Join-Path -ChildPath "codeql.exe"
$CodeQLVersion = & $CodeQLPath version --quiet
return "CodeQL Action Bundle $CodeQLVersion"
}
function Get-DockerVersion {
$dockerVersion = $(docker version --format "{{.Server.Version}}")
return "Docker $dockerVersion"
@@ -246,4 +254,9 @@ function Get-VisualCPPComponents {
}
}
}
}
}
function Get-AZDSVersion {
$azdsVersion = $(azds --version) | Select-String "(\d+\.\d+\.\d+.\d+)"
return "Azure Dev Spaces CLI $azdsVersion"
}

View File

@@ -53,4 +53,10 @@ Describe "Hub CLI" {
It "hub is installed" {
"hub --version" | Should -ReturnZeroExitCode
}
}
Describe "Azure Dev Spaces CLI" {
It "Azure Dev Spaces CLI" {
"azds --version" | Should -ReturnZeroExitCode
}
}

View File

@@ -41,6 +41,15 @@ Describe "CMake" {
}
}
Describe "CodeQLBundle" {
It "CodeQLBundle" {
$CodeQLVersionsWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "codeql" | Join-Path -ChildPath "*"
$CodeQLVersionPath = Get-ChildItem $CodeQLVersionsWildcard | Select-Object -First 1 -Expand FullName
$CodeQLPath = Join-Path $CodeQLVersionPath -ChildPath "x64" | Join-Path -ChildPath "codeql" | Join-Path -ChildPath "codeql.exe"
"$CodeQLPath version" | Should -ReturnZeroExitCode
}
}
Describe "R" {
It "Rscript" {
"Rscript --version" | Should -ReturnZeroExitCode

View File

@@ -121,7 +121,8 @@
"3.8.0",
"4.3.0",
"4.4.0",
"4.6.0"
"4.6.0",
"4.7.0"
]
}
],

View File

@@ -130,7 +130,8 @@
"3.8.0",
"4.3.0",
"4.4.0",
"4.6.0"
"4.6.0",
"4.7.0"
]
}
],