Compare commits

...

20 Commits

Author SHA1 Message Date
Image generation service account 8072c7b24b Updating readme file for macOS-11 version 20220118.8 2022-01-19 17:21:07 +00:00
Aleksandr Chebotov 7ef06a9879 [Packer] Add info about build_resource_group_name option (#4900)
* Add info about build_resource_group_name option

* Update docs/create-image-and-azure-resources.md

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2022-01-19 10:58:23 +03:00
Mariusz Ferdyn 84c135f86f Added AAD Service Principals to the command (#4886)
* Added AAD Service Principals to the command

Added: -AzureClientId {AADApplicationID} -AzureClientSecret {AADApplicationSecret} -AzureTenantId {AADTenantID} to the command.

* Update docs/create-image-and-azure-resources.md

Agree - better.

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2022-01-18 18:55:31 +03:00
José Simões 9b6af5b76e Add install of dotnet tools (#4820)
* Add install of dotnet tools

- Add new section under dotnet.
- Add installer for dotnet tools.
- Add tests for dotnet tools.
- Add dotnet tools to software report.

* Fixes from code review

* Add test and version check to dotnet tool json

- Rework installer to use tool name.
- Rework test to call tool test.
- Rework software report to use tool specific command to get version.

* Fixes from code review

* Fix test for nbgv

* Fix linux installer

* Fix name for test context.

* Update images/linux/scripts/installers/dotnetcore-sdk.sh

Co-authored-by: PJ <me@panekj.dev>

* Update images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1

Co-authored-by: PJ <me@panekj.dev>

* Update images/win/scripts/Tests/DotnetSDK.Tests.ps1

Co-authored-by: PJ <me@panekj.dev>

* Aligning PS1 between win and linux

* Remove out

* Add Nuget.org as feed source for installing tool

* Fix tests

* Fix getting tool version

* Change from code review

* Update images/win/toolsets/toolset-2022.json

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

* Update images/win/toolsets/toolset-2019.json

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

* Update images/win/toolsets/toolset-2016.json

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

* Changes from code review

* Change from code revision

* Fix tests

* dotnet tool is now installed to a tool path

* Move dotnet tools install

- Need to install the dotnet tools AFTER post install steps otherwise dotnet is not in the path.

* Fxi typo in path

* Add path to software report for dotnet tools

* Remove new line (from code review)

* Add progress output message to dotnet tools install

* Change install path for tool

* New updating PATH with dotnet tools location

* Remove duplicated assigment

* Remove output message and add back Out-null

Co-authored-by: PJ <me@panekj.dev>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2022-01-18 16:31:51 +03:00
github-actions[bot] 37d8c26d31 Updating readme file for macOS-10.15 version 20220110.2 (#4859)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-01-14 07:49:59 +00:00
github-actions[bot] 562a5868e9 Updating readme file for macOS-11 version 20220110.2 (#4860)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-01-14 07:42:16 +00:00
github-actions[bot] 8e0e0d68b9 Updating readme file for win19 version 20220110.1 (#4865)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-01-13 15:52:06 +00:00
github-actions[bot] b8762ca568 Updating readme file for win16 version 20220110.1 (#4866)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-01-13 13:00:03 +00:00
github-actions[bot] 5db309d81e Updating readme file for ubuntu18 version 20220111.1 (#4862)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-01-13 09:40:25 +00:00
github-actions[bot] 996eae0346 Updating readme file for ubuntu20 version 20220111.1 (#4861)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-01-13 08:40:42 +00:00
Aleksandr Chebotov 7b9719416b [Ubuntu] Disable motd updates metadata (#4873)
* Disable motd updates metadata

* check daemon.conf config exists

* mask fwupd-refresh.timer service
2022-01-13 11:23:56 +03:00
Lucas Mior 59bc59f568 Fixing small typo (#4878) 2022-01-13 09:53:31 +03:00
Nikolay Frolov 02b0bf3e1a [Windows] Add Microsoft.VisualStudio.Component.VC.Modules.x86.x64 (#4872) 2022-01-12 22:07:09 +03:00
Nikolay Frolov a8db6be3f0 [Windows] Update Azure PowerShell to 7.1 (#4853) 2022-01-12 22:06:52 +03:00
Nikolay Frolov 44fd9ae71a [macOS] Update Azure PowerShell to 7.1 (#4854) 2022-01-12 22:06:45 +03:00
Nikolay Frolov a6856ecef3 [Ubuntu] Update Azure PowerShell to 7.1 (#4855) 2022-01-12 22:06:39 +03:00
Aleksandr Chebotov b5fd6da0f9 Add Net.Component.4.7.TargetingPack component (#4874) 2022-01-12 22:05:59 +03:00
Mikhail Koliada 1048793daa [Ubuntu] Add Eclipse Temurin (Adoptium) to Java installer (#4868) 2022-01-12 22:05:33 +03:00
Aleksandr Chebotov 9a54916b6c Pass build_id as an argument to ImageName (#4869) 2022-01-12 12:54:57 +03:00
Maksim Shilov 340f75b8f2 Add vc v141 ATL ARM/64 components (#4857) 2022-01-12 09:55:46 +03:00
28 changed files with 546 additions and 312 deletions
+7
View File
@@ -66,6 +66,12 @@ Where:
The function automatically creates all required Azure resources and kicks off packer image generation for the selected image type.
For optional authentication via service principal make sure to provide the following params — `AzureClientId`, `AzureClientSecret`, `AzureTenantId`, so the whole command will be:
```
GenerateResourcesAndImage -SubscriptionId {YourSubscriptionId} -ResourceGroupName "myTestResourceGroup" -ImageGenerationRepositoryRoot "$pwd" -ImageType Ubuntu1804 -AzureLocation "East US" -AzureClientId {AADApplicationID} -AzureClientSecret {AADApplicationSecret} -AzureTenantId {AADTenantID}
```
*Please, check synopsis of `GenerateResourcesAndImage` for details about non-mandatory parameters.*
#### Generated VM Deployment
@@ -95,6 +101,7 @@ The function creates an Azure VM from a template and generates network resources
### User variables
The Packer template includes `variables` section containing user variables used in image generation. Each variable is defined as a key/value strings. User variables can be passed to packer via predefined environment variables, or as direct arguments, in case if packer started manually.
- `build_resource_group_name` - Specify an existing resource group to run the build in it. By default, a temporary resource group will be created and destroyed as part of the build. If you do not have permission to do so, use build_resource_group_name to specify an existing resource group to run the build in it.
- `client_id` - The application ID of the AAD Service Principal. Requires `client_secret`.
- `object_id` - The object ID for the AAD SP. Will be derived from the oAuth token if empty.
- `client_secret` - A password/secret registered for the AAD SP.
+56 -54
View File
@@ -1,10 +1,12 @@
| Announcements |
|-|
| [[All OSs] Az PowerShell Module will be upgraded to 7.1.0 on January, 17](https://github.com/actions/virtual-environments/issues/4841) |
| [[Ubuntu] Issue with libstdc++ cannot allocate memory in static TLS block](https://github.com/actions/virtual-environments/issues/4799) |
| [[All OSs] Python version 3.5 will be removed from the images on January 24, 2022](https://github.com/actions/virtual-environments/issues/4744) |
***
# Ubuntu 18.04.6 LTS
- Linux kernel version: 5.4.0-1064-azure
- Image Version: 20211219.1
- Linux kernel version: 5.4.0-1065-azure
- Image Version: 20220111.1
## Installed Software
### Language and Runtime
@@ -12,14 +14,14 @@
- Clang 9.0.0
- Clang-format 9.0.0
- Erlang 24.1.7 (Eshell 12.1.5)
- Erlang rebar3 3.17.0
- Erlang rebar3 3.18.0
- GNU C++ 7.5.0, 9.4.0, 10.3.0
- GNU Fortran 7.5.0, 9.4.0, 10.3.0
- Julia 1.7.0
- Julia 1.7.1
- Kotlin 1.6.0-release-798
- Mono 6.12.0.122 (apt source repository: https://download.mono-project.com/repo/ubuntu stable-bionic main)
- MSBuild 16.6.0.15201 (from /usr/lib/mono/msbuild/15.0/bin/MSBuild.dll)
- Node 16.13.1
- Node 16.13.2
- Perl 5.26.1
- Python 2.7.17
- Python3 3.6.9
@@ -29,14 +31,14 @@
### Package Management
- cpan 1.64
- Helm 3.7.2
- Homebrew 3.3.8
- Homebrew 3.3.10
- Miniconda 4.10.3
- Npm 8.1.2
- Pip 9.0.1
- Pip3 9.0.1
- Pipx 0.16.4
- Pipx 1.0.0
- RubyGems 2.7.6
- Vcpkg (build from master \<50fd3d995>)
- Vcpkg (build from master \<b8b1217bd>)
- Yarn 1.22.17
#### Environment variables
@@ -47,9 +49,9 @@
### Project Management
- Ant 1.10.5
- Gradle 7.3.2
- Gradle 7.3.3
- Maven 3.8.4
- Sbt 1.5.7
- Sbt 1.6.1
### Tools
- Ansible 2.11.7
@@ -71,7 +73,7 @@
- Git-ftp 1.3.1
- Haveged 1.9.1
- Heroku 7.59.2
- HHVM (HipHop VM) 4.140.1
- HHVM (HipHop VM) 4.143.0
- jq 1.5
- Kind 0.11.1
- Kubectl 1.23.1
@@ -80,36 +82,36 @@
- MediaInfo 17.12
- Mercurial 4.5.3
- Minikube 1.24.0
- n 8.0.1
- Newman 5.3.0
- n 8.0.2
- Newman 5.3.1
- nvm 0.39.1
- OpenSSL 1.1.1 11 Sep 2018
- Packer 1.7.8
- Parcel 2.0.1
- Parcel 2.1.1
- PhantomJS 2.1.1
- Podman 3.0.1 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- Pulumi 3.19.0
- Pulumi 3.21.1
- R 4.1.2
- Skopeo 1.2.2 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- Sphinx Open Source Search Server 2.2.11
- SVN 1.9.7
- Terraform 1.1.2
- Terraform 1.1.3
- yamllint 1.26.3
- yq 4.16.1
- zstd 1.5.0 (homebrew)
- yq 4.16.2
- zstd 1.5.1 (homebrew)
### CLI Tools
- Alibaba Cloud CLI 3.0.102
- AWS CLI 1.22.24
- AWS CLI Session manager plugin 1.2.279.0
- AWS SAM CLI 1.36.0
- Azure CLI (azure-cli) 2.31.0 (installation method: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt)
- AWS CLI 1.22.33
- AWS CLI Session manager plugin 1.2.295.0
- AWS SAM CLI 1.37.0
- Azure CLI (azure-cli) 2.32.0 (installation method: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt)
- Azure CLI (azure-devops) 0.22.0
- GitHub CLI 2.3.0
- Google Cloud SDK 367.0.0 (apt source repository: https://packages.cloud.google.com/apt)
- GitHub CLI 2.4.0
- Google Cloud SDK 368.0.0 (apt source repository: https://packages.cloud.google.com/apt)
- Hub CLI 2.14.2
- Netlify CLI 8.1.8
- OpenShift CLI 4.9.11
- Netlify CLI 8.6.21
- OpenShift CLI 4.9.13
- ORAS CLI 0.12.0
- Vercel CLI 23.1.2
@@ -123,9 +125,9 @@
### PHP
| Tool | Version |
| -------- | ---------------------------------------- |
| PHP | 7.1.33 7.2.34 7.3.33 7.4.26 8.0.13 8.1.0 |
| Composer | 2.1.14 |
| PHPUnit | 8.5.21 |
| PHP | 7.1.33 7.2.34 7.3.33 7.4.27 8.0.14 8.1.1 |
| Composer | 2.2.4 |
| PHPUnit | 8.5.22 |
```
Both Xdebug and PCOV extensions are installed, but only Xdebug is enabled.
```
@@ -150,11 +152,11 @@
- Rustfmt 1.4.37
### Browsers and Drivers
- Google Chrome 96.0.4664.110
- ChromeDriver 96.0.4664.45
- Mozilla Firefox 95.0
- Google Chrome 97.0.4692.71
- ChromeDriver 97.0.4692.71
- Mozilla Firefox 95.0.1
- Geckodriver 0.30.0
- Chromium 96.0.4664.0
- Chromium 97.0.4692.0
- Selenium server 4.1.0
#### Environment variables
@@ -186,13 +188,13 @@
### Cached Tools
#### Go
- 1.15.15
- 1.16.12
- 1.17.5
- 1.16.13
- 1.17.6
#### Node.js
- 12.22.8
- 14.18.2
- 16.13.1
- 12.22.9
- 14.18.3
- 16.13.2
#### PyPy
- 2.7.18 [PyPy 7.3.6]
@@ -218,8 +220,8 @@
| Name | Value | Architecture |
| --------------- | ----------------------------------- | ------------ |
| GOROOT_1_15_X64 | /opt/hostedtoolcache/go/1.15.15/x64 | x64 |
| GOROOT_1_16_X64 | /opt/hostedtoolcache/go/1.16.12/x64 | x64 |
| GOROOT_1_17_X64 | /opt/hostedtoolcache/go/1.17.5/x64 | x64 |
| GOROOT_1_16_X64 | /opt/hostedtoolcache/go/1.16.13/x64 | x64 |
| GOROOT_1_17_X64 | /opt/hostedtoolcache/go/1.17.6/x64 | x64 |
### PowerShell Tools
- PowerShell 7.2.1
@@ -271,22 +273,22 @@
| alpine:3.12 | sha256:d9459083f962de6bd980ae6a05be2a4cf670df6a1d898157bceb420342bec280 | 2021-11-12 |
| alpine:3.13 | sha256:026f721af4cf2843e07bba648e158fb35ecc876d822130633cc49f707f0fc88c | 2021-11-12 |
| alpine:3.14 | sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 | 2021-11-12 |
| buildpack-deps:bullseye | sha256:5445b145c8a1a2f7e5a4b233f571c629aed12fce435496f942ad267f21a05ff2 | 2021-12-02 |
| buildpack-deps:buster | sha256:c11cd0a4c97acd1aa8d2289aee5c126ac78adc48108744c104f6741cbd9a1f6c | 2021-12-02 |
| buildpack-deps:stretch | sha256:bb93e2c2858cb20f7f16e433773adb2c583fce38dc9c71976c62bf098f956093 | 2021-12-02 |
| debian:10 | sha256:5b57f8c365c40fde437d53b953c436995525be7c481eb0128b1cbf3b49b0df18 | 2021-12-02 |
| debian:11 | sha256:45ee40a844048c2f6d0105899c1a17733530b56d481612608aab5e2e4048570b | 2021-12-02 |
| debian:9 | sha256:aa78ddaa7f8a14bad8f940ebff5542377f91843f6dcc168e41a8628c6007e815 | 2021-12-02 |
| buildpack-deps:bullseye | sha256:8cca6f729d85d572000a436eac498ff5358eeee5a0fa7b3e2b6668620c6ac06e | 2021-12-21 |
| buildpack-deps:buster | sha256:24cf4668129a284b9b960ffaa5e79f9654d7d040708721c8e7708811e362a9d9 | 2021-12-21 |
| buildpack-deps:stretch | sha256:19610095f7d1718c20d79e5109c42f64dabea9fdf104221394acdf2999170c51 | 2021-12-21 |
| debian:10 | sha256:94ccfd1c5115a6903cbb415f043a0b04e307be3f37b768cf6d6d3edff0021da3 | 2021-12-21 |
| debian:11 | sha256:2906804d2a64e8a13a434a1a127fe3f6a28bf7cf3696be4223b06276f32f1f2d | 2021-12-21 |
| debian:9 | sha256:54284a7a45383b407c1968657e8f1c50dc25b82d8d56b3812e46ad19f8bcfd83 | 2021-12-21 |
| moby/buildkit:latest | sha256:d6c89b7085b106301645ddcc77cf64eb7b705ab507b72d52d130ac33f1300417 | 2021-11-18 |
| node:12 | sha256:f881ce751096a214a7e595b0ccf9ee7d6e38d8e0141d7e9d5880b2f242ad392b | 2021-12-18 |
| node:12-alpine | sha256:8fad09b7620b2bc715cbba92e3313c64a797e453f560118576f1740a44584d5d | 2021-12-18 |
| node:14 | sha256:52c884d7cf8509c27def168415a1ff23a0bd95d358dd5787ca77b60474dcb3db | 2021-12-02 |
| node:14-alpine | sha256:7bcf853eeb97a25465cb385b015606c22e926f548cbd117f85b7196df8aa0d29 | 2021-12-02 |
| node:16 | sha256:89b59ce49929d8a8e230946bdb1b58c14cdbbb86c9a7397610afcecfce1be035 | 2021-12-02 |
| node:16-alpine | sha256:a9b9cb880fa429b0bea899cd3b1bc081ab7277cc97e6d2dcd84bd9753b2027e1 | 2021-12-02 |
| node:12 | sha256:36b3ee4724ab60ac5f288d22999074437ed517e8d1bd2e24ab19609479d39c81 | 2021-12-21 |
| node:12-alpine | sha256:05d61228b85c54b5527e74afc54153eb3572aae005948fb068a0f4ebe01f7c1e | 2022-01-03 |
| node:14 | sha256:e5c6aac226819f88d6431a56f502972d323d052b1b6108094ba7e6b07154a542 | 2021-12-21 |
| node:14-alpine | sha256:1e7481a9a977d8e4160a73ed6a0e726724570bf7d941adbec63a82cf7c07ae19 | 2022-01-03 |
| node:16 | sha256:32605ead97ed57bd39a8a7b0e919240e1a3218974dfc6965e61b54a801753131 | 2021-12-21 |
| node:16-alpine | sha256:0e071f3c5c84cffa6b1035023e1956cf28d48f4b36e229cef328772da81ec0c5 | 2022-01-03 |
| ubuntu:16.04 | sha256:0f71fa8d4d2d4292c3c617fda2b36f6dabe5c8b6e34c3dc5b0d17d4e704bd39c | 2021-08-31 |
| ubuntu:18.04 | sha256:0fedbd5bd9fb72089c7bbca476949e10593cebed9b1fb9edf5b79dbbacddd7d6 | 2021-10-01 |
| ubuntu:20.04 | sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322 | 2021-10-16 |
| ubuntu:18.04 | sha256:37b7471c1945a2a12e5a57488ee4e3e216a8369d0b9ee1ec2e41db9c2c1e3d22 | 2022-01-07 |
| ubuntu:20.04 | sha256:b5a61709a9a44284d88fb12e5c48db0409cfad5b69d4ff8224077c57302df9cf | 2022-01-07 |
### Installed apt packages
| Name | Version |
+58 -56
View File
@@ -1,10 +1,12 @@
| Announcements |
|-|
| [[All OSs] Az PowerShell Module will be upgraded to 7.1.0 on January, 17](https://github.com/actions/virtual-environments/issues/4841) |
| [[Ubuntu] Issue with libstdc++ cannot allocate memory in static TLS block](https://github.com/actions/virtual-environments/issues/4799) |
| [[All OSs] Python version 3.5 will be removed from the images on January 24, 2022](https://github.com/actions/virtual-environments/issues/4744) |
***
# Ubuntu 20.04.3 LTS
- Linux kernel version: 5.11.0-1022-azure
- Image Version: 20211219.1
- Linux kernel version: 5.11.0-1025-azure
- Image Version: 20220111.1
## Installed Software
### Language and Runtime
@@ -12,14 +14,14 @@
- Clang 10.0.0, 11.0.0, 12.0.0
- Clang-format 10.0.0, 11.0.0, 12.0.0
- Erlang 24.1.7 (Eshell 12.1.5)
- Erlang rebar3 3.17.0
- Erlang rebar3 3.18.0
- GNU C++ 9.3.0, 10.3.0
- GNU Fortran 9.3.0, 10.3.0
- Julia 1.7.0
- Julia 1.7.1
- Kotlin 1.6.0-release-798
- Mono 6.12.0.122 (apt source repository: https://download.mono-project.com/repo/ubuntu stable-focal main)
- MSBuild 16.6.0.15201 (from /usr/lib/mono/msbuild/15.0/bin/MSBuild.dll)
- Node 16.13.1
- Node 16.13.2
- Perl 5.30.0
- Python 3.8.10
- Python3 3.8.10
@@ -29,14 +31,14 @@
### Package Management
- cpan 1.64
- Helm 3.7.2
- Homebrew 3.3.8
- Homebrew 3.3.10
- Miniconda 4.10.3
- Npm 8.1.2
- Pip 20.0.2
- Pip3 20.0.2
- Pipx 0.16.4
- Pipx 1.0.0
- RubyGems 3.1.2
- Vcpkg (build from master \<50fd3d995>)
- Vcpkg (build from master \<b8b1217bd>)
- Yarn 1.22.17
#### Environment variables
@@ -47,10 +49,10 @@
### Project Management
- Ant 1.10.7
- Gradle 7.3.2
- Gradle 7.3.3
- Lerna 4.0.0
- Maven 3.8.4
- Sbt 1.5.7
- Sbt 1.6.1
### Tools
- Ansible 2.12.1
@@ -73,7 +75,7 @@
- Git-ftp 1.6.0
- Haveged 1.9.1
- Heroku 7.59.2
- HHVM (HipHop VM) 4.140.1
- HHVM (HipHop VM) 4.143.0
- jq 1.6
- Kind 0.11.1
- Kubectl 1.23.1
@@ -82,36 +84,36 @@
- MediaInfo 19.09
- Mercurial 5.3.1
- Minikube 1.24.0
- n 8.0.1
- Newman 5.3.0
- n 8.0.2
- Newman 5.3.1
- nvm 0.39.1
- OpenSSL 1.1.1f 31 Mar 2020
- Packer 1.7.8
- Parcel 2.0.1
- Parcel 2.1.1
- PhantomJS 2.1.1
- Podman 3.4.2 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- Pulumi 3.19.0
- Pulumi 3.21.1
- R 4.1.2
- Skopeo 1.3.0 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- Sphinx Open Source Search Server 2.2.11
- SVN 1.13.0
- Terraform 1.1.2
- Terraform 1.1.3
- yamllint 1.26.3
- yq 4.16.1
- zstd 1.5.0 (homebrew)
- yq 4.16.2
- zstd 1.5.1 (homebrew)
### CLI Tools
- Alibaba Cloud CLI 3.0.102
- AWS CLI 2.4.6
- AWS CLI Session manager plugin 1.2.279.0
- AWS SAM CLI 1.36.0
- Azure CLI (azure-cli) 2.31.0 (installation method: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt)
- AWS CLI 2.4.9
- AWS CLI Session manager plugin 1.2.295.0
- AWS SAM CLI 1.37.0
- Azure CLI (azure-cli) 2.32.0 (installation method: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt)
- Azure CLI (azure-devops) 0.22.0
- GitHub CLI 2.3.0
- Google Cloud SDK 367.0.0 (apt source repository: https://packages.cloud.google.com/apt)
- GitHub CLI 2.4.0
- Google Cloud SDK 368.0.0 (apt source repository: https://packages.cloud.google.com/apt)
- Hub CLI 2.14.2
- Netlify CLI 8.1.8
- OpenShift CLI 4.9.11
- Netlify CLI 8.6.21
- OpenShift CLI 4.9.13
- ORAS CLI 0.12.0
- Vercel CLI 23.1.2
@@ -129,9 +131,9 @@
### PHP
| Tool | Version |
| -------- | ------------------- |
| PHP | 7.4.26 8.0.13 8.1.0 |
| Composer | 2.1.14 |
| PHPUnit | 8.5.21 |
| PHP | 7.4.27 8.0.14 8.1.1 |
| Composer | 2.2.4 |
| PHPUnit | 8.5.22 |
```
Both Xdebug and PCOV extensions are installed, but only Xdebug is enabled.
```
@@ -156,11 +158,11 @@
- Rustfmt 1.4.37
### Browsers and Drivers
- Google Chrome 96.0.4664.110
- ChromeDriver 96.0.4664.45
- Mozilla Firefox 95.0
- Google Chrome 97.0.4692.71
- ChromeDriver 97.0.4692.71
- Mozilla Firefox 95.0.1
- Geckodriver 0.30.0
- Chromium 96.0.4664.0
- Chromium 97.0.4692.0
- Selenium server 4.1.0
#### Environment variables
@@ -192,13 +194,13 @@
### Cached Tools
#### Go
- 1.15.15
- 1.16.12
- 1.17.5
- 1.16.13
- 1.17.6
#### Node.js
- 12.22.8
- 14.18.2
- 16.13.1
- 12.22.9
- 14.18.3
- 16.13.2
#### PyPy
- 2.7.18 [PyPy 7.3.6]
@@ -225,8 +227,8 @@
| Name | Value | Architecture |
| --------------- | ----------------------------------- | ------------ |
| GOROOT_1_15_X64 | /opt/hostedtoolcache/go/1.15.15/x64 | x64 |
| GOROOT_1_16_X64 | /opt/hostedtoolcache/go/1.16.12/x64 | x64 |
| GOROOT_1_17_X64 | /opt/hostedtoolcache/go/1.17.5/x64 | x64 |
| GOROOT_1_16_X64 | /opt/hostedtoolcache/go/1.16.13/x64 | x64 |
| GOROOT_1_17_X64 | /opt/hostedtoolcache/go/1.17.6/x64 | x64 |
### PowerShell Tools
- PowerShell 7.2.1
@@ -279,22 +281,22 @@
| alpine:3.12 | sha256:d9459083f962de6bd980ae6a05be2a4cf670df6a1d898157bceb420342bec280 | 2021-11-12 |
| alpine:3.13 | sha256:026f721af4cf2843e07bba648e158fb35ecc876d822130633cc49f707f0fc88c | 2021-11-12 |
| alpine:3.14 | sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 | 2021-11-12 |
| buildpack-deps:bullseye | sha256:5445b145c8a1a2f7e5a4b233f571c629aed12fce435496f942ad267f21a05ff2 | 2021-12-02 |
| buildpack-deps:buster | sha256:c11cd0a4c97acd1aa8d2289aee5c126ac78adc48108744c104f6741cbd9a1f6c | 2021-12-02 |
| buildpack-deps:stretch | sha256:bb93e2c2858cb20f7f16e433773adb2c583fce38dc9c71976c62bf098f956093 | 2021-12-02 |
| debian:10 | sha256:5b57f8c365c40fde437d53b953c436995525be7c481eb0128b1cbf3b49b0df18 | 2021-12-02 |
| debian:11 | sha256:45ee40a844048c2f6d0105899c1a17733530b56d481612608aab5e2e4048570b | 2021-12-02 |
| debian:9 | sha256:aa78ddaa7f8a14bad8f940ebff5542377f91843f6dcc168e41a8628c6007e815 | 2021-12-02 |
| buildpack-deps:bullseye | sha256:8cca6f729d85d572000a436eac498ff5358eeee5a0fa7b3e2b6668620c6ac06e | 2021-12-21 |
| buildpack-deps:buster | sha256:24cf4668129a284b9b960ffaa5e79f9654d7d040708721c8e7708811e362a9d9 | 2021-12-21 |
| buildpack-deps:stretch | sha256:19610095f7d1718c20d79e5109c42f64dabea9fdf104221394acdf2999170c51 | 2021-12-21 |
| debian:10 | sha256:94ccfd1c5115a6903cbb415f043a0b04e307be3f37b768cf6d6d3edff0021da3 | 2021-12-21 |
| debian:11 | sha256:2906804d2a64e8a13a434a1a127fe3f6a28bf7cf3696be4223b06276f32f1f2d | 2021-12-21 |
| debian:9 | sha256:54284a7a45383b407c1968657e8f1c50dc25b82d8d56b3812e46ad19f8bcfd83 | 2021-12-21 |
| moby/buildkit:latest | sha256:d6c89b7085b106301645ddcc77cf64eb7b705ab507b72d52d130ac33f1300417 | 2021-11-18 |
| node:12 | sha256:f881ce751096a214a7e595b0ccf9ee7d6e38d8e0141d7e9d5880b2f242ad392b | 2021-12-18 |
| node:12-alpine | sha256:8fad09b7620b2bc715cbba92e3313c64a797e453f560118576f1740a44584d5d | 2021-12-18 |
| node:14 | sha256:52c884d7cf8509c27def168415a1ff23a0bd95d358dd5787ca77b60474dcb3db | 2021-12-02 |
| node:14-alpine | sha256:7bcf853eeb97a25465cb385b015606c22e926f548cbd117f85b7196df8aa0d29 | 2021-12-02 |
| node:16 | sha256:89b59ce49929d8a8e230946bdb1b58c14cdbbb86c9a7397610afcecfce1be035 | 2021-12-02 |
| node:16-alpine | sha256:a9b9cb880fa429b0bea899cd3b1bc081ab7277cc97e6d2dcd84bd9753b2027e1 | 2021-12-02 |
| node:12 | sha256:36b3ee4724ab60ac5f288d22999074437ed517e8d1bd2e24ab19609479d39c81 | 2021-12-21 |
| node:12-alpine | sha256:05d61228b85c54b5527e74afc54153eb3572aae005948fb068a0f4ebe01f7c1e | 2022-01-03 |
| node:14 | sha256:e5c6aac226819f88d6431a56f502972d323d052b1b6108094ba7e6b07154a542 | 2021-12-21 |
| node:14-alpine | sha256:1e7481a9a977d8e4160a73ed6a0e726724570bf7d941adbec63a82cf7c07ae19 | 2022-01-03 |
| node:16 | sha256:32605ead97ed57bd39a8a7b0e919240e1a3218974dfc6965e61b54a801753131 | 2021-12-21 |
| node:16-alpine | sha256:0e071f3c5c84cffa6b1035023e1956cf28d48f4b36e229cef328772da81ec0c5 | 2022-01-03 |
| ubuntu:16.04 | sha256:0f71fa8d4d2d4292c3c617fda2b36f6dabe5c8b6e34c3dc5b0d17d4e704bd39c | 2021-08-31 |
| ubuntu:18.04 | sha256:0fedbd5bd9fb72089c7bbca476949e10593cebed9b1fb9edf5b79dbbacddd7d6 | 2021-10-01 |
| ubuntu:20.04 | sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322 | 2021-10-16 |
| ubuntu:18.04 | sha256:37b7471c1945a2a12e5a57488ee4e3e216a8369d0b9ee1ec2e41db9c2c1e3d22 | 2022-01-07 |
| ubuntu:20.04 | sha256:b5a61709a9a44284d88fb12e5c48db0409cfad5b69d4ff8224077c57302df9cf | 2022-01-07 |
### Installed apt packages
| Name | Version |
@@ -344,7 +346,7 @@
| mercurial | 5.3.1-1ubuntu1 |
| net-tools | 1.60+git20180626.aebd88e-1ubuntu1 |
| netcat | 1.206-1ubuntu1 |
| openssh-client | 1:8.2p1-4ubuntu0.3 |
| openssh-client | 1:8.2p1-4ubuntu0.4 |
| p7zip-full | 16.02+dfsg-7build1 |
| p7zip-rar | 16.02-3build1 |
| parallel | 20161222-1.1 |
@@ -358,7 +360,7 @@
| shellcheck | 0.7.0-2build2 |
| sphinxsearch | 2.2.11-2ubuntu2 |
| sqlite3 | 3.31.1-4ubuntu0.2 |
| ssh | 1:8.2p1-4ubuntu0.3 |
| ssh | 1:8.2p1-4ubuntu0.4 |
| sshpass | 1.06-1 |
| subversion | 1.13.0-3 |
| sudo | 1.8.31-1ubuntu1.2 |
@@ -331,6 +331,20 @@ function Get-DotNetCoreSdkVersions {
return $dotNetCoreSdkVersion
}
function Get-DotnetTools {
$env:PATH = "/etc/skel/.dotnet/tools:$($env:PATH)"
$dotnetTools = (Get-ToolsetContent).dotnet.tools
$toolsList = @()
ForEach ($dotnetTool in $dotnetTools) {
$toolsList += $dotnetTool.name + " " + (Invoke-Expression $dotnetTool.getversion)
}
return $toolsList
}
function Get-CachedDockerImages {
$toolsetJson = Get-ToolsetContent
$images = $toolsetJson.docker.images
@@ -230,6 +230,10 @@ $markdown += New-MDList -Style Unordered -Lines @(
(Get-DotNetCoreSdkVersions)
)
$markdown += New-MDHeader ".NET tools" -Level 3
$tools = Get-DotnetTools
$markdown += New-MDList -Lines $tools -Style Unordered
$markdown += New-MDHeader "Databases" -Level 3
$markdown += New-MDList -Style Unordered -Lines (@(
(Get-PostgreSqlVersion),
@@ -1,19 +1,22 @@
function Get-JavaVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "Java_Adopt_jdk"
$javaToolcacheVersions = Get-ChildItem $toolcachePath -Name | Sort-Object { [int]$_.Split(".")[0] }
$javaToolcacheVersions = Get-ChildItem $env:AGENT_TOOLSDIRECTORY/Java*/* -Directory | Sort-Object { [int]$_.Name.Split(".")[0] }
return $javaToolcacheVersions | ForEach-Object {
$majorVersion = $_.split(".")[0]
$fullVersion = $_.Replace("-", "+")
$existingVersions = $javaToolcacheVersions | ForEach-Object {
$majorVersion = $_.Name.split(".")[0]
$fullVersion = $_.Name.Replace("-", "+")
$defaultJavaPath = $env:JAVA_HOME
$javaPath = Get-Item env:JAVA_HOME_${majorVersion}_X64
$defaultPostfix = ($javaPath.Value -eq $defaultJavaPath) ? " (default)" : ""
$vendorName = ($_.FullName -like '*Java_Adopt_jdk*') ? "Adopt OpenJDK" : "Eclipse Temurin"
[PSCustomObject] @{
"Version" = $fullVersion + $defaultPostfix
"Vendor" = "Adopt OpenJDK"
"Vendor" = $vendorName
"Environment Variable" = $javaPath.Name
}
}
}
# Return all the vendors which are not Adopt, also look for version 12 of Adopt (Eclipse Temurin does not have this version)
$versionsToReturn = $existingVersions | Where-Object {$_.Vendor -notlike "Adopt*" -or $_.Version.Split(".")[0] -eq 12}
return $versionsToReturn
}
@@ -31,4 +31,12 @@ echo 'vm.max_map_count=262144' | tee -a /etc/sysctl.conf
# Create symlink for tests running
chmod +x $HELPER_SCRIPTS/invoke-tests.sh
ln -s $HELPER_SCRIPTS/invoke-tests.sh /usr/local/bin/invoke_tests
ln -s $HELPER_SCRIPTS/invoke-tests.sh /usr/local/bin/invoke_tests
# Disable motd updates metadata
sed -i 's/ENABLED=1/ENABLED=0/g' /etc/default/motd-news
if [[ -f "/etc/fwupd/daemon.conf" ]]; then
sed -i 's/UpdateMotd=true/UpdateMotd=false/g' /etc/fwupd/daemon.conf
systemctl mask fwupd-refresh.timer
fi
@@ -11,6 +11,7 @@ source $HELPER_SCRIPTS/os.sh
# Ubuntu 20 doesn't support EOL versions
LATEST_DOTNET_PACKAGES=$(get_toolset_value '.dotnet.aptPackages[]')
DOTNET_VERSIONS=$(get_toolset_value '.dotnet.versions[]')
DOTNET_TOOLS=$(get_toolset_value '.dotnet.tools[].name')
# Disable telemetry
export DOTNET_CLI_TELEMETRY_OPTOUT=1
@@ -67,4 +68,10 @@ setEtcEnvironmentVariable DOTNET_NOLOGO 1
setEtcEnvironmentVariable DOTNET_MULTILEVEL_LOOKUP 0
prependEtcEnvironmentPath '$HOME/.dotnet/tools'
# install dotnet tools
for dotnet_tool in ${DOTNET_TOOLS[@]}; do
echo "Installing dotnet tool $dotnet_tool"
dotnet tool install $dotnet_tool --tool-path '/etc/skel/.dotnet/tools'
done
invoke_tests "DotnetSDK"
+105 -35
View File
@@ -8,50 +8,120 @@ source $HELPER_SCRIPTS/install.sh
source $HELPER_SCRIPTS/os.sh
source $HELPER_SCRIPTS/etc-environment.sh
JAVA_VERSIONS_LIST=$(get_toolset_value '.java.versions | .[]')
DEFAULT_JDK_VERSION=$(get_toolset_value '.java.default')
JAVA_TOOLCACHE_PATH="$AGENT_TOOLSDIRECTORY/Java_Adopt_jdk"
createJavaEnvironmentalVariable() {
local JAVA_VERSION=$1
local VENDOR_NAME=$2
local DEFAULT=$3
# Install GPG Key for Adopt Open JDK. See https://adoptopenjdk.net/installation.html
wget -qO - "https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public" | apt-key add -
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
case ${VENDOR_NAME} in
if isUbuntu18 ; then
# Install GPG Key for Azul Open JDK. See https://www.azul.com/downloads/azure-only/zulu/
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
apt-add-repository "deb https://repos.azul.com/azure-only/zulu/apt stable main"
fi
"Adopt" )
INSTALL_PATH_PATTERN="/usr/lib/jvm/adoptopenjdk-${JAVA_VERSION}-hotspot-amd64" ;;
apt-get update
"Temurin-Hotspot" )
INSTALL_PATH_PATTERN="/usr/lib/jvm/temurin-${JAVA_VERSION}-jdk-amd64" ;;
*)
echo "Unknown vendor"
exit 1
for JAVA_VERSION in ${JAVA_VERSIONS_LIST[@]}; do
apt-get -y install adoptopenjdk-$JAVA_VERSION-hotspot=\*
javaVersionPath="/usr/lib/jvm/adoptopenjdk-${JAVA_VERSION}-hotspot-amd64"
echo "JAVA_HOME_${JAVA_VERSION}_X64=$javaVersionPath" | tee -a /etc/environment
fullJavaVersion=$(cat "$javaVersionPath/release" | grep "^SEMANTIC" | cut -d "=" -f 2 | tr -d "\"" | tr "+" "-")
esac
# If there is no semver in java release, then extract java version from -fullversion
if [[ -z $fullJavaVersion ]]; then
fullJavaVersion=$(java -fullversion 2>&1 | tr -d "\"" | tr "+" "-" | awk '{print $4}')
if [[ ${DEFAULT} == "True" ]]; then
echo "Setting up JAVA_HOME variable to ${INSTALL_PATH_PATTERN}"
addEtcEnvironmentVariable JAVA_HOME ${INSTALL_PATH_PATTERN}
echo "Setting up default symlink"
update-java-alternatives -s ${INSTALL_PATH_PATTERN}
fi
javaToolcacheVersionPath="$JAVA_TOOLCACHE_PATH/$fullJavaVersion"
mkdir -p "$javaToolcacheVersionPath"
echo "Setting up JAVA_HOME_${JAVA_VERSION}_X64 variable to ${INSTALL_PATH_PATTERN}"
addEtcEnvironmentVariable JAVA_HOME_${JAVA_VERSION}_X64 ${INSTALL_PATH_PATTERN}
}
enableRepositories() {
# Add Adopt PPA
wget -qO - "https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public" | apt-key add -
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
# Add Addoptium PPA
wget -qO - "https://packages.adoptium.net/artifactory/api/gpg/key/public" | apt-key add -
add-apt-repository --yes https://packages.adoptium.net/artifactory/deb/
if isUbuntu18 ; then
# Install GPG Key for Azul Open JDK. See https://www.azul.com/downloads/azure-only/zulu/
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
apt-add-repository "deb https://repos.azul.com/azure-only/zulu/apt stable main"
fi
}
installOpenJDK() {
local JAVA_VERSION=$1
local VENDOR_NAME=$2
# Install Java from PPA repositories.
if [[ ${VENDOR_NAME} == "Temurin-Hotspot" ]]; then
apt-get -y install temurin-${JAVA_VERSION}-jdk=\*
javaVersionPath="/usr/lib/jvm/temurin-${JAVA_VERSION}-jdk-amd64"
elif [[ ${VENDOR_NAME} == "Adopt" ]]; then
apt-get -y install adoptopenjdk-${JAVA_VERSION}-hotspot=\*
javaVersionPath="/usr/lib/jvm/adoptopenjdk-${JAVA_VERSION}-hotspot-amd64"
else
echo "${VENDOR_NAME} is invalid, valid names are: Temurin-Hotspot and Adopt"
exit 1
fi
JAVA_TOOLCACHE_PATH="${AGENT_TOOLSDIRECTORY}/Java_${VENDOR_NAME}_jdk"
fullJavaVersion=$(cat "${javaVersionPath}/release" | grep "^SEMANTIC" | cut -d "=" -f 2 | tr -d "\"" | tr "+" "-")
# If there is no semver in java release, then extract java version from -fullversion
[[ -z ${fullJavaVersion} ]] && fullJavaVersion=$(${javaVersionPath}/bin/java -fullversion 2>&1 | tr -d "\"" | tr "+" "-" | awk '{print $4}')
javaToolcacheVersionPath="${JAVA_TOOLCACHE_PATH}/${fullJavaVersion}"
mkdir -p "${javaToolcacheVersionPath}"
# Create a complete file
touch "$javaToolcacheVersionPath/x64.complete"
touch "${javaToolcacheVersionPath}/x64.complete"
# Create symlink for Java
ln -s $javaVersionPath "$javaToolcacheVersionPath/x64"
ln -s ${javaVersionPath} "${javaToolcacheVersionPath}/x64"
# add extra permissions to be able execute command without sudo
chmod -R 777 /usr/lib/jvm
}
# Fetch repositories data
enableRepositories
# Get all the updates from enabled repositories.
apt-get update
defaultVersion=$(get_toolset_value '.java.default')
defaultVendor=$(get_toolset_value '.java.default_vendor')
jdkVendors=($(get_toolset_value '.java.vendors[].name'))
for jdkVendor in ${jdkVendors[@]}; do
# get vendor-specific versions
jdkVersionsToInstall=($(get_toolset_value ".java.vendors[] | select (.name==\"${jdkVendor}\") | .versions[]"))
for jdkVersionToInstall in ${jdkVersionsToInstall[@]}; do
installOpenJDK ${jdkVersionToInstall} ${jdkVendor}
isDefaultVersion=False; [[ ${jdkVersionToInstall} == ${defaultVersion} ]] && isDefaultVersion=True
if [[ ${jdkVendor} == ${defaultVendor} ]]; then
createJavaEnvironmentalVariable ${jdkVersionToInstall} ${jdkVendor} ${isDefaultVersion}
fi
done
done
# Set Default Java version
update-java-alternatives -s /usr/lib/jvm/adoptopenjdk-${DEFAULT_JDK_VERSION}-hotspot-amd64
# Adopt 12 is only available for Ubuntu 18.04
if isUbuntu18; then
createJavaEnvironmentalVariable "12" "Adopt"
fi
echo "JAVA_HOME=/usr/lib/jvm/adoptopenjdk-${DEFAULT_JDK_VERSION}-hotspot-amd64" | tee -a /etc/environment
# add extra permissions to be able execute command without sudo
chmod -R 777 /usr/lib/jvm
# Install Ant
apt-get install -y --no-install-recommends ant ant-optional
echo "ANT_HOME=/usr/share/ant" | tee -a /etc/environment
@@ -67,11 +137,11 @@ ln -s /usr/share/apache-maven-${mavenVersion}/bin/mvn /usr/bin/mvn
# This script founds the latest gradle release from https://services.gradle.org/versions/all
# The release is downloaded, extracted, a symlink is created that points to it, and GRADLE_HOME is set.
gradleJson=$(curl -s https://services.gradle.org/versions/all)
gradleLatestVersion=$(echo $gradleJson | jq -r '.[] | select(.version | contains("-") | not).version' | sort -V | tail -n1)
gradleDownloadUrl=$(echo $gradleJson | jq -r ".[] | select(.version==\"$gradleLatestVersion\") | .downloadUrl")
echo "gradleUrl=$gradleDownloadUrl"
echo "gradleVersion=$gradleLatestVersion"
download_with_retries $gradleDownloadUrl "/tmp" "gradleLatest.zip"
gradleLatestVersion=$(echo ${gradleJson} | jq -r '.[] | select(.version | contains("-") | not).version' | sort -V | tail -n1)
gradleDownloadUrl=$(echo ${gradleJson} | jq -r ".[] | select(.version==\"$gradleLatestVersion\") | .downloadUrl")
echo "gradleUrl=${gradleDownloadUrl}"
echo "gradleVersion=${gradleLatestVersion}"
download_with_retries ${gradleDownloadUrl} "/tmp" "gradleLatest.zip"
unzip -qq -d /usr/share /tmp/gradleLatest.zip
ln -s /usr/share/gradle-"${gradleLatestVersion}"/bin/gradle /usr/bin/gradle
echo "GRADLE_HOME=$(find /usr/share -depth -maxdepth 1 -name "gradle*")" | tee -a /etc/environment
+12 -1
View File
@@ -1,8 +1,9 @@
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
Describe "Dotnet" {
Describe "Dotnet and tools" {
BeforeAll {
$env:PATH = "/etc/skel/.dotnet/tools:$($env:PATH)"
$dotnetSDKs = dotnet --list-sdks | ConvertTo-Json
$dotnetRuntimes = dotnet --list-runtimes | ConvertTo-Json
}
@@ -28,4 +29,14 @@ Describe "Dotnet" {
}
}
}
Context "Dotnet tools" {
$dotnetTools = (Get-ToolsetContent).dotnet.tools
$testCases = $dotnetTools | ForEach-Object { @{ ToolName = $_.name; TestInstance = $_.test }}
It "<ToolName> is available" -TestCases $testCases {
"$TestInstance" | Should -ReturnZeroExitCode
}
}
}
+20 -5
View File
@@ -1,10 +1,15 @@
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" -DisableNameChecking
Describe "Java" {
[array]$jdkVersions = (Get-ToolsetContent).java.versions | ForEach-Object { @{Version = $_} }
$defaultJavaVersion = (Get-ToolsetContent).java.default
$toolsetJava = (Get-ToolsetContent).java
$defaultVersion = $toolsetJava.default
$defaultVendor = $toolsetJava.default_vendor
$javaVendors = $toolsetJava.vendors
It "Java <DefaultJavaVersion> is default" -TestCases @{ DefaultJavaVersion = $defaultJavaVersion } {
[array]$jdkVersions = ($javaVendors | Where-Object {$_.name -eq $defaultVendor}).versions | ForEach-Object { @{Version = $_} }
[array]$adoptJdkVersions = ($javaVendors | Where-Object {$_.name -eq "Adopt"}).versions | ForEach-Object { @{Version = $_} }
It "Java <DefaultJavaVersion> is default" -TestCases @{ DefaultJavaVersion = $defaultVersion } {
$actualJavaPath = Get-EnvironmentVariable "JAVA_HOME"
$expectedJavaPath = Get-EnvironmentVariable "JAVA_HOME_${DefaultJavaVersion}_X64"
@@ -42,6 +47,16 @@ Describe "Java" {
if ($Version -eq 8) {
$Version = "1.${Version}"
}
"`"$javaPath`" -version" | Should -MatchCommandOutput ([regex]::Escape("openjdk version `"${Version}."))
"`"$javaPath`" -version" | Should -MatchCommandOutput ([regex]::Escape("openjdk version `"${Version}."))
}
}
It "Java Adopt <Version>" -TestCases $adoptJdkVersions {
$javaPath = Join-Path (Get-ChildItem ${env:AGENT_TOOLSDIRECTORY}\Java_Adopt_jdk\${Version}*) "x64\bin\java"
"`"$javaPath`" -version" | Should -ReturnZeroExitCode
if ($Version -eq 8) {
$Version = "1.${Version}"
}
"`"$javaPath`" -version" | Should -MatchCommandOutput ([regex]::Escape("openjdk version `"${Version}."))
}
}
+16 -4
View File
@@ -71,8 +71,16 @@
],
"java": {
"default": "8",
"versions": [
"8", "11", "12"
"default_vendor": "Temurin-Hotspot",
"vendors": [
{
"name": "Temurin-Hotspot",
"versions": [ "8", "11", "17" ]
},
{
"name": "Adopt",
"versions": [ "8", "11", "12" ]
}
],
"maven": "3.8.4"
},
@@ -110,12 +118,13 @@
"name": "az",
"url" : "https://raw.githubusercontent.com/Azure/az-ps-module-versions/main/versions-manifest.json",
"versions": [
"6.4.0"
"7.1.0"
],
"zip_versions": [
"3.1.0",
"4.4.0",
"5.9.0"
"5.9.0",
"6.6.0"
]
}
],
@@ -245,6 +254,9 @@
"2.1",
"3.1",
"5.0"
],
"tools": [
{ "name": "nbgv", "test": "nbgv --version", "getversion" : "nbgv --version" }
]
},
"clang": {
+17 -5
View File
@@ -71,9 +71,17 @@
}
],
"java": {
"default": "11",
"versions": [
"8", "11"
"default": "8",
"default_vendor": "Temurin-Hotspot",
"vendors": [
{
"name": "Temurin-Hotspot",
"versions": [ "8", "11", "17" ]
},
{
"name": "Adopt",
"versions": [ "8", "11" ]
}
],
"maven": "3.8.4"
},
@@ -108,12 +116,13 @@
"name": "az",
"url" : "https://raw.githubusercontent.com/Azure/az-ps-module-versions/main/versions-manifest.json",
"versions": [
"6.4.0"
"7.1.0"
],
"zip_versions": [
"3.1.0",
"4.4.0",
"5.9.0"
"5.9.0",
"6.6.0"
]
}
],
@@ -245,6 +254,9 @@
"2.1",
"3.1",
"5.0"
],
"tools": [
{ "name": "nbgv", "test": "nbgv --version", "getversion" : "nbgv --version" }
]
},
"clang": {
+31 -29
View File
@@ -1,12 +1,14 @@
| Announcements |
|-|
| [[All OSs] Az PowerShell Module will be upgraded to 7.1.0 on January, 17](https://github.com/actions/virtual-environments/issues/4841) |
| [[macOS] Default Xcode on Big Sur image will be set to Xcode 13.2.1 on January, 24](https://github.com/actions/virtual-environments/issues/4800) |
| [[All OSs] Python version 3.5 will be removed from the images on January 24, 2022](https://github.com/actions/virtual-environments/issues/4744) |
| [macOS-latest workflows will use macOS-11](https://github.com/actions/virtual-environments/issues/4060) |
***
# macOS 10.15 info
- System Version: macOS 10.15.7 (19H1615)
- Kernel Version: Darwin 19.6.0
- Image Version: 20211220.1
- Image Version: 20220110.2
## Installed Software
### Language and Runtime
@@ -21,12 +23,12 @@
- GNU Fortran (Homebrew GCC 10.3.0) 10.3.0 - available by `gfortran-10` alias
- GNU Fortran (Homebrew GCC 11.2.0_3) 11.2.0 - available by `gfortran-11` alias
- Go 1.15.15
- julia 1.7.0
- julia 1.7.1
- Kotlin 1.6.10-release-923
- MSBuild 16.10.1.58001 (from /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/15.0/bin/MSBuild.dll)
- Node.js v16.13.1
- NVM 0.39.1
- NVM - Cached node versions: v12.22.8 v14.18.2 v16.13.1
- NVM - Cached node versions: v12.22.9 v14.18.3 v16.13.2
- Perl 5.34.0
- PHP 8.1.1
- Python 2.7.18
@@ -35,19 +37,19 @@
- Ruby 2.7.5p203
### Package Management
- Bundler version 2.2.33
- Bundler version 2.3.4
- Carthage 0.38.0
- CocoaPods 1.11.2
- Composer 2.1.14
- Composer 2.2.4
- Homebrew 3.3.9
- Miniconda 4.10.3
- NPM 8.1.2
- NuGet 5.9.0.7134
- Pip 20.3.4 (python 2.7)
- Pip 21.3.1 (python 3.9)
- Pipx 0.16.4
- Pipx 1.0.0
- RubyGems 3.2.33
- Vcpkg 2021 (build from master \<cf43cf71c>)
- Vcpkg 2021 (build from master \<5edd518dc>)
- Yarn 1.22.17
#### Environment variables
@@ -59,8 +61,8 @@
### Project Management
- Apache Ant(TM) 1.10.12
- Apache Maven 3.8.4
- Gradle 7.3.2
- Sbt 1.5.7
- Gradle 7.3.3
- Sbt 1.6.1
### Utilities
- 7-Zip 17.04
@@ -69,20 +71,20 @@
- bazel 4.2.2
- bazelisk 1.11.0
- bsdtar 3.3.2 - available by 'tar' alias
- Curl 7.80.0
- Curl 7.81.0
- Git LFS: 3.0.2
- Git: 2.34.1
- GitHub CLI: 2.3.0
- GNU parallel 20211122
- GitHub CLI: 2.4.0
- GNU parallel 20211222
- GNU Tar 1.34 - available by 'gtar' alias
- GNU Wget 1.21.2
- gpg (GnuPG) 2.3.3
- gpg (GnuPG) 2.3.4
- helm v3.7.2+g663a896
- Hub CLI: 2.14.2
- jq 1.6
- mongo v5.0.4
- mongod v5.0.4
- Newman 5.3.0
- Newman 5.3.1
- OpenSSL 1.1.1m 14 Dec 2021 `(/usr/local/opt/openssl@1.1 -> ../Cellar/openssl@1.1/1.1.1m)`
- Packer 1.7.8
- PostgreSQL 14.1
@@ -92,15 +94,15 @@
- Switchaudio-osx 1.1.0
- Vagrant 2.2.19
- virtualbox 6.1.30r148432
- zstd 1.5.0
- zstd 1.5.1
### Tools
- Aliyun CLI 3.0.102
- App Center CLI 2.10.7
- AWS CLI 2.4.6
- AWS SAM CLI 1.36.0
- App Center CLI 2.10.8
- AWS CLI 2.4.9
- AWS SAM CLI 1.37.0
- AWS Session Manager CLI 1.2.279.0
- Azure CLI 2.31.0
- Azure CLI 2.32.0
- Bicep CLI 0.4.1124
- Cabal 3.6.2.0
- Cmake 3.22.1
@@ -120,18 +122,18 @@
### Browsers
- Safari 15.2 (15612.3.6.1.8)
- SafariDriver 15.2 (15612.3.6.1.8)
- Google Chrome 96.0.4664.110
- ChromeDriver 96.0.4664.45
- Microsoft Edge 96.0.1054.62
- MSEdgeDriver 96.0.1054.62
- Google Chrome 97.0.4692.71
- ChromeDriver 97.0.4692.71
- Microsoft Edge 97.0.1072.55
- MSEdgeDriver 97.0.1072.55
- Mozilla Firefox 95.0.2
- geckodriver 0.30.0
- Selenium server 4.1.0
- Selenium server 4.1.1
#### Environment variables
| Name | Value |
| --------------- | --------------------------------------------- |
| CHROMEWEBDRIVER | /usr/local/Caskroom/chromedriver/96.0.4664.45 |
| CHROMEWEBDRIVER | /usr/local/Caskroom/chromedriver/97.0.4692.71 |
| EDGEWEBDRIVER | /usr/local/share/edge_driver |
| GECKOWEBDRIVER | /usr/local/opt/geckodriver/bin |
@@ -160,7 +162,7 @@
- 3.7.12
- 3.8.12
- 3.9.9
- 3.10.0
- 3.10.1
#### PyPy
- 2.7.18 [PyPy 7.3.6]
@@ -177,8 +179,8 @@
| Version | Architecture | Environment Variable |
| ------- | ------------ | -------------------- |
| 1.15.15 (Default) | x64 | GOROOT_1_15_X64 |
| 1.16.12 | x64 | GOROOT_1_16_X64 |
| 1.17.5 | x64 | GOROOT_1_17_X64 |
| 1.16.13 | x64 | GOROOT_1_16_X64 |
| 1.17.6 | x64 | GOROOT_1_17_X64 |
### Rust Tools
- Cargo 1.57.0
@@ -209,7 +211,7 @@
| Name | Version | ConfigFile | ServiceStatus | ListenPort |
| ----- | ------- | ------------------------------- | ------------- | ---------- |
| httpd | 2.4.52 | /usr/local/etc/httpd/httpd.conf | none | 80 |
| nginx | 1.21.4 | /usr/local/etc/nginx/nginx.conf | none | 80 |
| nginx | 1.21.5 | /usr/local/etc/nginx/nginx.conf | none | 80 |
### Xamarin
#### Visual Studio for Mac
+55 -49
View File
@@ -1,12 +1,15 @@
| Announcements |
|-|
| [[All OSs] .NET 2.1 will be removed from the images on February, 21](https://github.com/actions/virtual-environments/issues/4871) |
| [[All OSs] Az PowerShell Module will be upgraded to 7.1.0 on January, 17](https://github.com/actions/virtual-environments/issues/4841) |
| [[macOS] Default Xcode on Big Sur image will be set to Xcode 13.2.1 on January, 24](https://github.com/actions/virtual-environments/issues/4800) |
| [[All OSs] Python version 3.5 will be removed from the images on January 24, 2022](https://github.com/actions/virtual-environments/issues/4744) |
| [macOS-latest workflows will use macOS-11](https://github.com/actions/virtual-environments/issues/4060) |
***
# macOS 11.6 info
- System Version: macOS 11.6.2 (20G314)
- Kernel Version: Darwin 20.6.0
- Image Version: 20211219.1
- Image Version: 20220118.8
## Installed Software
### Language and Runtime
@@ -21,32 +24,32 @@
- GNU Fortran (Homebrew GCC 10.3.0) 10.3.0 - available by `gfortran-10` alias
- GNU Fortran (Homebrew GCC 11.2.0_3) 11.2.0 - available by `gfortran-11` alias
- Go 1.15.15
- julia 1.7.0
- julia 1.7.1
- Kotlin 1.6.10-release-923
- MSBuild 16.10.1.58001 (from /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/15.0/bin/MSBuild.dll)
- Node.js v16.13.1
- Node.js v16.13.2
- NVM 0.39.1
- NVM - Cached node versions: v12.22.8 v14.18.2 v16.13.1
- NVM - Cached node versions: v12.22.9 v14.18.3 v16.13.2
- Perl 5.34.0
- PHP 8.1.1
- Python 2.7.18
- Python 3.9.9
- Python 3.9.10
- Ruby 2.7.5p203
### Package Management
- Bundler version 2.2.33
- Bundler version 2.3.5
- Carthage 0.38.0
- CocoaPods 1.11.2
- Composer 2.1.14
- Homebrew 3.3.8
- Composer 2.2.4
- Homebrew 3.3.11
- Miniconda 4.10.3
- NPM 8.1.2
- NuGet 5.9.0.7134
- Pip 20.3.4 (python 2.7)
- Pip 21.3.1 (python 3.9)
- Pipx 0.16.4
- Pipx 1.0.0
- RubyGems 3.2.33
- Vcpkg 2021 (build from master \<50fd3d995>)
- Vcpkg 2021 (build from master \<4184491f0>)
- Yarn 1.22.17
#### Environment variables
@@ -58,8 +61,8 @@
### Project Management
- Apache Ant(TM) 1.10.12
- Apache Maven 3.8.4
- Gradle 7.3.2
- Sbt 1.5.7
- Gradle 7.3.3
- Sbt 1.6.1
### Utilities
- 7-Zip 17.04
@@ -68,19 +71,19 @@
- bazel 4.2.2
- bazelisk 1.11.0
- bsdtar 3.3.2 - available by 'tar' alias
- Curl 7.80.0
- Curl 7.81.0
- Git LFS: 3.0.2
- Git: 2.34.1
- GitHub CLI: 2.3.0
- GitHub CLI: 2.4.0
- GNU Tar 1.34 - available by 'gtar' alias
- GNU Wget 1.21.2
- gpg (GnuPG) 2.3.3
- gpg (GnuPG) 2.3.4
- helm v3.7.2+g663a896
- Hub CLI: 2.14.2
- jq 1.6
- mongo v5.0.4
- mongod v5.0.4
- Newman 5.3.0
- mongo v5.0.5
- mongod v5.0.5
- Newman 5.3.1
- OpenSSL 1.1.1m 14 Dec 2021 `(/usr/local/opt/openssl@1.1 -> ../Cellar/openssl@1.1/1.1.1m)`
- Packer 1.7.8
- PostgreSQL 14.1
@@ -88,24 +91,24 @@
- Sox 14.4.2
- Subversion (SVN) 1.14.1
- Switchaudio-osx 1.1.0
- zstd 1.5.0
- zstd 1.5.1
### Tools
- Aliyun CLI 3.0.102
- App Center CLI 2.10.6
- AWS CLI 2.4.6
- AWS SAM CLI 1.36.0
- AWS Session Manager CLI 1.2.279.0
- Azure CLI 2.31.0
- Aliyun CLI 3.0.104
- App Center CLI 2.10.8
- AWS CLI 2.4.11
- AWS SAM CLI 1.37.0
- AWS Session Manager CLI 1.2.295.0
- Azure CLI 2.32.0
- Bicep CLI 0.4.1124
- Cabal 3.6.2.0
- Cmake 3.22.1
- Fastlane 2.199.0
- Fastlane 2.200.0
- GHC 9.2.1
- GHCup 0.1.17.4
- Jazzy 0.14.1
- Stack 2.7.3
- SwiftFormat 0.49.1
- SwiftFormat 0.49.2
- Swig 4.0.2
- Xcode Command Line Tools 13.2.0.0.1.1638488800
@@ -116,18 +119,18 @@
### Browsers
- Safari 15.2 (16612.3.6.1.8)
- SafariDriver 15.2 (16612.3.6.1.8)
- Google Chrome 96.0.4664.110
- ChromeDriver 96.0.4664.45
- Microsoft Edge 96.0.1054.62
- MSEdgeDriver 96.0.1054.62
- Mozilla Firefox 95.0.1
- Google Chrome 97.0.4692.71
- ChromeDriver 97.0.4692.71
- Microsoft Edge 97.0.1072.62
- MSEdgeDriver 97.0.1072.62
- Mozilla Firefox 96.0.1
- geckodriver 0.30.0
- Selenium server 4.1.0
- Selenium server 4.1.1
#### Environment variables
| Name | Value |
| --------------- | --------------------------------------------- |
| CHROMEWEBDRIVER | /usr/local/Caskroom/chromedriver/96.0.4664.45 |
| CHROMEWEBDRIVER | /usr/local/Caskroom/chromedriver/97.0.4692.71 |
| EDGEWEBDRIVER | /usr/local/share/edge_driver |
| GECKOWEBDRIVER | /usr/local/opt/geckodriver/bin |
@@ -149,8 +152,8 @@
#### Python
- 3.7.12
- 3.8.12
- 3.9.9
- 3.10.0
- 3.9.10
- 3.10.2
#### PyPy
- 2.7.18 [PyPy 7.3.6]
@@ -158,21 +161,21 @@
- 3.8.12 [PyPy 7.3.7]
#### Node.js
- 12.22.8
- 14.18.2
- 16.13.1
- 12.22.9
- 14.18.3
- 16.13.2
#### Go
| Version | Architecture | Environment Variable |
| ------- | ------------ | -------------------- |
| 1.15.15 (Default) | x64 | GOROOT_1_15_X64 |
| 1.16.12 | x64 | GOROOT_1_16_X64 |
| 1.17.5 | x64 | GOROOT_1_17_X64 |
| 1.16.13 | x64 | GOROOT_1_16_X64 |
| 1.17.6 | x64 | GOROOT_1_17_X64 |
### Rust Tools
- Cargo 1.57.0
- Rust 1.57.0
- Rustdoc 1.57.0
- Cargo 1.58.0
- Rust 1.58.0
- Rustdoc 1.58.0
- Rustup 1.24.3
#### Packages
@@ -180,8 +183,8 @@
- Cargo-audit 0.16.0
- Cargo-outdated v0.10.2
- Cbindgen 0.20.0
- Clippy 0.1.57
- Rustfmt 1.4.37-stable
- Clippy 0.1.58
- Rustfmt 1.4.38-stable
### PowerShell Tools
- PowerShell 7.2.1
@@ -189,7 +192,7 @@
#### PowerShell Modules
| Module | Version |
| ---------------- | ------- |
| Az | 6.1.0 |
| Az | 7.1.0 |
| MarkdownPS | 1.9 |
| Pester | 5.3.1 |
| PSScriptAnalyzer | 1.20.0 |
@@ -197,8 +200,8 @@
### Web Servers
| Name | Version | ConfigFile | ServiceStatus | ListenPort |
| ----- | ------- | ------------------------------- | ------------- | ---------- |
| httpd | 2.4.51 | /usr/local/etc/httpd/httpd.conf | none | 80 |
| nginx | 1.21.4 | /usr/local/etc/nginx/nginx.conf | none | 80 |
| httpd | 2.4.52 | /usr/local/etc/httpd/httpd.conf | none | 80 |
| nginx | 1.21.5 | /usr/local/etc/nginx/nginx.conf | none | 80 |
### Xamarin
#### Visual Studio for Mac
@@ -207,6 +210,7 @@
#### Xamarin bundles
| symlink | Xamarin.Mono | Xamarin.iOS | Xamarin.Mac | Xamarin.Android |
| ----------------- | ------------ | ----------- | ----------- | --------------- |
| 6_12_12 | 6.12 | 15.4 | 8.4 | 12.0 |
| 6_12_11 | 6.12 | 15.2 | 8.2 | 12.0 |
| 6_12_10 (default) | 6.12 | 15.0 | 7.14 | 11.3 |
| 6_12_9 | 6.12 | 14.20 | 7.14 | 11.3 |
@@ -328,6 +332,8 @@
| ANDROID_SDK_ROOT | /Users/runner/Library/Android/sdk |
### Miscellaneous
- libXext 1.3.4
- libXft 2.3.4
- Zlib 1.2.11
+1 -1
View File
@@ -205,7 +205,7 @@ build {
}
provisioner "shell" {
inline = [
"pwsh -File \"$HOME/image-generation/software-report/SoftwareReport.Generator.ps1\" -OutputDirectory \"$HOME/image-generation/output/software-report\" -ImageName UUID=${build.PackerRunUUID}",
"pwsh -File \"$HOME/image-generation/software-report/SoftwareReport.Generator.ps1\" -OutputDirectory \"$HOME/image-generation/output/software-report\" -ImageName ${var.build_id}",
"pwsh -File \"$HOME/image-generation/tests/RunAll-Tests.ps1\""
]
execute_command = "source $HOME/.bash_profile; {{ .Vars }} {{ .Path }}"
+1 -1
View File
@@ -185,7 +185,7 @@
{
"name": "Az",
"versions": [
"6.1.0"
"7.1.0"
]
},
{"name": "MarkdownPS"},
+1 -1
View File
@@ -156,7 +156,7 @@
{
"name": "Az",
"versions": [
"6.1.0"
"7.1.0"
]
},
{"name": "MarkdownPS"},
+26 -24
View File
@@ -1,17 +1,19 @@
| Announcements |
|-|
| [windows-latest workflows will use Windows Server 2022](https://github.com/actions/virtual-environments/issues/4856) |
| [[All OSs] Az PowerShell Module will be upgraded to 7.1.0 on January, 17](https://github.com/actions/virtual-environments/issues/4841) |
| [[All OSs] Python version 3.5 will be removed from the images on January 24, 2022](https://github.com/actions/virtual-environments/issues/4744) |
| [Windows-2016 environment will be removed on March 15, 2022](https://github.com/actions/virtual-environments/issues/4312) |
***
# Microsoft Windows Server 2016 Datacenter
- OS Version: 10.0.14393 Build 4825
- Image Version: 20211219.1
- Image Version: 20220110.1
## Installed Software
### Language and Runtime
- Bash 4.4.23(1)-release
- Go 1.15.15
- Julia 1.7.0
- Julia 1.7.1
- Kotlin 1.6.10
- LLVM 13.0.0
- Node 16.13.1
@@ -22,15 +24,15 @@
### Package Management
- Chocolatey 0.11.3
- Composer 2.1.14
- Composer 2.2.4
- Helm 3.7.1
- Miniconda 4.10.3 (pre-installed on the image but not added to PATH)
- NPM 8.1.2
- NuGet 6.0.0.280
- pip 21.3.1 (python 3.7)
- Pipx 0.16.4
- Pipx 1.0.0
- RubyGems 2.7.6.3
- Vcpkg (build from master \<50fd3d995>)
- Vcpkg (build from master \<5edd518dc>)
- Yarn 1.22.17
#### Environment variables
@@ -43,10 +45,10 @@
- Ant 1.10.12
- Gradle 7.3
- Maven 3.8.4
- sbt 1.5.7
- sbt 1.6.1
### Tools
- 7zip 21.06
- 7zip 21.07
- aria2 1.36.0
- azcopy 10.13.0
- Bazel 4.2.2
@@ -68,12 +70,12 @@
- Kubectl 1.23.1
- Mercurial 5.0
- Mingw-w64 8.1.0
- Newman 5.3.0
- Newman 5.3.1
- NSIS v3.08
- OpenSSL 1.1.1
- Packer 1.7.8
- Parcel 2.0.1
- Pulumi v3.20.0
- Parcel 2.1.1
- Pulumi v3.21.1
- R 4.1.2
- Service Fabric SDK 8.2.1363.9590
- Stack 2.7.3
@@ -83,17 +85,17 @@
- WinAppDriver 1.2.2009.02003
- WiX Toolset v3.11.2.4516
- yamllint 1.26.3
- zstd 1.5.0
- zstd 1.5.1
### CLI Tools
- Alibaba Cloud CLI 3.0.102
- AWS CLI 2.4.6
- AWS SAM CLI 1.36.0
- AWS CLI 2.4.9
- AWS SAM CLI 1.37.0
- AWS Session Manager CLI 1.2.279.0
- Azure CLI 2.31.0
- Azure CLI 2.32.0
- Azure DevOps CLI extension 0.22.0
- Cloud Foundry CLI 6.53.0
- GitHub CLI 2.3.0
- GitHub CLI 2.4.0
- Hub CLI 2.14.2
### Rust Tools
@@ -111,10 +113,10 @@
- Rustfmt 1.4.37
### Browsers and webdrivers
- Google Chrome 96.0.4664.110
- Chrome Driver 96.0.4664.45
- Microsoft Edge 96.0.1054.62
- Microsoft Edge Driver 96.0.1054.62
- Google Chrome 97.0.4692.71
- Chrome Driver 97.0.4692.71
- Microsoft Edge 97.0.1072.55
- Microsoft Edge Driver 97.0.1072.55
- Mozilla Firefox 95.0.2
- Gecko Driver 0.30.0
- IE Driver 3.150.1.1
@@ -157,8 +159,8 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Version | Architecture | Environment Variable |
| ------- | ------------ | -------------------- |
| 1.15.15 (Default) | x64 | GOROOT_1_15_X64 |
| 1.16.12 | x64 | GOROOT_1_16_X64 |
| 1.17.5 | x64 | GOROOT_1_17_X64 |
| 1.16.13 | x64 | GOROOT_1_16_X64 |
| 1.17.6 | x64 | GOROOT_1_17_X64 |
#### Node
| Version | Architecture |
@@ -222,8 +224,8 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
### Web Servers
| Name | Version | ConfigFile | ServiceName | ServiceStatus | ListenPort |
| ------ | ------- | ------------------------------------- | ----------- | ------------- | ---------- |
| Apache | 2.4.51 | C:\tools\Apache24\conf\httpd.conf | Apache | Stopped | 80 |
| Nginx | 1.21.4 | C:\tools\nginx-1.21.4\conf\nginx.conf | nginx | Stopped | 80 |
| Apache | 2.4.52 | C:\tools\Apache24\conf\httpd.conf | Apache | Stopped | 80 |
| Nginx | 1.21.5 | C:\tools\nginx-1.21.5\conf\nginx.conf | nginx | Stopped | 80 |
### Visual Studio Enterprise 2017
| Name | Version | Path |
@@ -534,7 +536,7 @@ All other versions are saved but not installed.
| ------------------ | ---------------- |
| DockerMsftProvider | 1.0.0.8 |
| MarkdownPS | 1.9 |
| Microsoft.Graph | 1.9.0 |
| Microsoft.Graph | 1.9.1 |
| Pester | 3.4.0<br>5.3.1 |
| PowerShellGet | 1.0.0.1<br>2.2.5 |
| PSScriptAnalyzer | 1.20.0 |
+32 -30
View File
@@ -1,11 +1,13 @@
| Announcements |
|-|
| [windows-latest workflows will use Windows Server 2022](https://github.com/actions/virtual-environments/issues/4856) |
| [[All OSs] Az PowerShell Module will be upgraded to 7.1.0 on January, 17](https://github.com/actions/virtual-environments/issues/4841) |
| [[All OSs] Python version 3.5 will be removed from the images on January 24, 2022](https://github.com/actions/virtual-environments/issues/4744) |
| [Windows-2016 environment will be removed on March 15, 2022](https://github.com/actions/virtual-environments/issues/4312) |
***
# Microsoft Windows Server 2019 Datacenter
- OS Version: 10.0.17763 Build 2366
- Image Version: 20211219.1
- Image Version: 20220110.1
## Enabled windows optional features
- Windows Subsystem for Linux [WSLv1]
@@ -14,10 +16,10 @@
### Language and Runtime
- Bash 4.4.23(1)-release
- Go 1.15.15
- Julia 1.7.0
- Julia 1.7.1
- Kotlin 1.6.10
- LLVM 13.0.0
- Node 16.13.1
- Node 16.13.2
- Perl 5.32.1
- PHP 8.1.1
- Python 3.7.9
@@ -25,15 +27,15 @@
### Package Management
- Chocolatey 0.11.3
- Composer 2.1.14
- Composer 2.2.4
- Helm 3.7.1
- Miniconda 4.10.3 (pre-installed on the image but not added to PATH)
- NPM 8.1.2
- NuGet 6.0.0.280
- pip 21.3.1 (python 3.7)
- Pipx 0.16.4
- Pipx 1.0.0
- RubyGems 2.7.6.3
- Vcpkg (build from master \<50fd3d995>)
- Vcpkg (build from master \<9f04533f3>)
- Yarn 1.22.17
#### Environment variables
@@ -46,10 +48,10 @@
- Ant 1.10.12
- Gradle 7.3
- Maven 3.8.4
- sbt 1.5.7
- sbt 1.6.1
### Tools
- 7zip 21.06
- 7zip 21.07
- aria2 1.36.0
- azcopy 10.13.0
- Bazel 4.2.2
@@ -71,12 +73,12 @@
- Kubectl 1.23.1
- Mercurial 5.0
- Mingw-w64 8.1.0
- Newman 5.3.0
- Newman 5.3.1
- NSIS v3.08
- OpenSSL 1.1.1
- Packer 1.7.8
- Parcel 2.0.1
- Pulumi v3.20.0
- Parcel 2.1.1
- Pulumi v3.21.1
- R 4.1.2
- Service Fabric SDK 8.2.1363.9590
- Stack 2.7.3
@@ -86,17 +88,17 @@
- WinAppDriver 1.2.2009.02003
- WiX Toolset v3.11.2.4516
- yamllint 1.26.3
- zstd 1.5.0
- zstd 1.5.1
### CLI Tools
- Alibaba Cloud CLI 3.0.102
- AWS CLI 2.4.6
- AWS SAM CLI 1.36.0
- AWS CLI 2.4.9
- AWS SAM CLI 1.37.0
- AWS Session Manager CLI 1.2.279.0
- Azure CLI 2.31.0
- Azure CLI 2.32.0
- Azure DevOps CLI extension 0.22.0
- Cloud Foundry CLI 6.53.0
- GitHub CLI 2.3.0
- GitHub CLI 2.4.0
- Hub CLI 2.14.2
### Rust Tools
@@ -114,10 +116,10 @@
- Rustfmt 1.4.37
### Browsers and webdrivers
- Google Chrome 96.0.4664.110
- Chrome Driver 96.0.4664.45
- Microsoft Edge 96.0.1054.62
- Microsoft Edge Driver 96.0.1054.62
- Google Chrome 97.0.4692.71
- Chrome Driver 97.0.4692.71
- Microsoft Edge 97.0.1072.55
- Microsoft Edge Driver 97.0.1072.55
- Mozilla Firefox 95.0.2
- Gecko Driver 0.30.0
- IE Driver 3.150.1.1
@@ -164,15 +166,15 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Version | Architecture | Environment Variable |
| ------- | ------------ | -------------------- |
| 1.15.15 (Default) | x64 | GOROOT_1_15_X64 |
| 1.16.12 | x64 | GOROOT_1_16_X64 |
| 1.17.5 | x64 | GOROOT_1_17_X64 |
| 1.16.13 | x64 | GOROOT_1_16_X64 |
| 1.17.6 | x64 | GOROOT_1_17_X64 |
#### Node
| Version | Architecture |
| ------- | ------------ |
| 12.22.8 | x64 |
| 14.18.2 | x64 |
| 16.13.1 | x64 |
| 12.22.9 | x64 |
| 14.18.3 | x64 |
| 16.13.2 | x64 |
#### Python
| Version | Architecture |
@@ -229,8 +231,8 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
### Web Servers
| Name | Version | ConfigFile | ServiceName | ServiceStatus | ListenPort |
| ------ | ------- | ------------------------------------- | ----------- | ------------- | ---------- |
| Apache | 2.4.51 | C:\tools\Apache24\conf\httpd.conf | Apache | Stopped | 80 |
| Nginx | 1.21.4 | C:\tools\nginx-1.21.4\conf\nginx.conf | nginx | Stopped | 80 |
| Apache | 2.4.52 | C:\tools\Apache24\conf\httpd.conf | Apache | Stopped | 80 |
| Nginx | 1.21.5 | C:\tools\nginx-1.21.5\conf\nginx.conf | nginx | Stopped | 80 |
### Visual Studio Enterprise 2019
| Name | Version | Path |
@@ -260,7 +262,7 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Component.UnityEngine.x64 | 16.10.31205.252 |
| Component.Unreal | 16.1.28810.153 |
| Component.Unreal.Android | 16.1.28810.153 |
| Component.VSInstallerProjects | 1.0.0 |
| Component.VSInstallerProjects | 1.0.1 |
| Component.WixToolset.VisualStudioExtension.Dev16 | 1.0.0.4 |
| Component.WixToolset.VisualStudioExtension.Schemas3 | 1.0.0.4 |
| Component.WixToolset.VisualStudioExtension.Schemas4 | 1.0.0.4 |
@@ -464,7 +466,7 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| ProBITools.MicrosoftAnalysisServicesModelingProjects | 2.9.18 |
| ProBITools.MicrosoftReportProjectsforVisualStudio | 2.6.11 |
| SSIS.SqlServerIntegrationServicesProjects | 3.15 |
| VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects | 1.0.0 |
| VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects | 1.0.1 |
| Windows Driver Kit | 10.0.21381.0 |
| Windows Driver Kit Visual Studio Extension | 10.1.22000.1 |
| Windows Software Development Kit Extension | 10.1.22000.194 |
@@ -530,7 +532,7 @@ All other versions are saved but not installed.
| ------------------ | ---------------- |
| DockerMsftProvider | 1.0.0.8 |
| MarkdownPS | 1.9 |
| Microsoft.Graph | 1.9.0 |
| Microsoft.Graph | 1.9.1 |
| Pester | 3.4.0<br>5.3.1 |
| PowerShellGet | 1.0.0.1<br>2.2.5 |
| PSScriptAnalyzer | 1.20.0 |
@@ -108,6 +108,16 @@ function InstallAllValidSdks()
}
}
function InstallTools()
{
$dotnetTools = (Get-ToolsetContent).dotnet.tools
ForEach ($dotnetTool in $dotnetTools)
{
dotnet tool install $($dotnetTool.name) --tool-path "C:\Users\Default.dotnet\tools" --add-source https://api.nuget.org/v3/index.json | Out-Null
}
}
function RunPostInstallationSteps()
{
# Add dotnet to PATH
@@ -129,5 +139,6 @@ function RunPostInstallationSteps()
InstallAllValidSdks
RunPostInstallationSteps
InstallTools
Invoke-PesterTests -TestFile "DotnetSDK"
@@ -90,7 +90,7 @@ function Install-JavaJDK {
Write-Host "Creating Java '${fullJavaVersion}' folder in '${javaVersionPath}'"
New-Item -ItemType Directory -Path $javaVersionPath -Force | Out-Null
# Complete the installation by extarcting Java binaries to toolcache and creating the complete file
# Complete the installation by extracting Java binaries to toolcache and creating the complete file
Extract-7Zip -Path $archivePath -DestinationPath $javaVersionPath
Invoke-SBWithRetry -Command {
Get-ChildItem -Path $javaVersionPath | Rename-Item -NewName $javaArchPath -ErrorAction Stop
@@ -200,6 +200,18 @@ function Get-DotnetSdks {
}
}
function Get-DotnetTools {
$env:Path += ";C:\Users\Default.dotnet\tools"
$dotnetTools = (Get-ToolsetContent).dotnet.tools
$toolsList = @()
foreach ($dotnetTool in $dotnetTools) {
$toolsList += $dotnetTool.name + " " + (Invoke-Expression $dotnetTool.getversion)
}
return $toolsList
}
function Get-DotnetRuntimes {
$runtimesRawList = dotnet --list-runtimes
$runtimesRawList | Group-Object {$_.Split()[0]} | ForEach-Object {
@@ -261,6 +261,10 @@ $markdown += "``Location $($frameworks.Path)``"
$markdown += New-MDNewLine
$markdown += New-MDList -Lines $frameworks.Versions -Style Unordered
$markdown += New-MDHeader ".NET tools" -Level 3
$tools = Get-DotnetTools
$markdown += New-MDList -Lines $tools -Style Unordered
# PowerShell Tools
$markdown += New-MDHeader "PowerShell Tools" -Level 3
$markdown += New-MDList -Lines (Get-PowershellCoreVersion) -Style Unordered
+12 -2
View File
@@ -1,6 +1,7 @@
$dotnetVersions = (Get-ToolsetContent).dotnet.versions
$dotnetTools = (Get-ToolsetContent).dotnet.tools
Describe "Dotnet SDK" {
Describe "Dotnet SDK and tools" {
Context "Default" {
It "Default Dotnet SDK is available" {
@@ -21,4 +22,13 @@ Describe "Dotnet SDK" {
}
}
}
}
Context "Dotnet tools" {
$env:Path += ";C:\Users\Default.dotnet\tools"
$testCases = $dotnetTools | ForEach-Object { @{ ToolName = $_.name; TestInstance = $_.test }}
It "<ToolName> is available" -TestCases $testCases {
"$TestInstance" | Should -ReturnZeroExitCode
}
}
}
+6 -2
View File
@@ -123,7 +123,7 @@
"name": "az",
"url" : "https://raw.githubusercontent.com/Azure/az-ps-module-versions/main/versions-manifest.json",
"versions": [
"6.5.0"
"7.1.0"
],
"zip_versions": [
"1.0.0",
@@ -137,7 +137,8 @@
"4.4.0",
"4.7.0",
"5.5.0",
"5.9.0"
"5.9.0",
"6.6.0"
]
}
],
@@ -386,6 +387,9 @@
"3.1",
"5.0"
],
"tools": [
{ "name": "nbgv", "test": "nbgv --version", "getversion": "nbgv --version" }
],
"warmup": true
},
"choco": {
+9 -2
View File
@@ -124,7 +124,7 @@
"name": "az",
"url" : "https://raw.githubusercontent.com/Azure/az-ps-module-versions/main/versions-manifest.json",
"versions": [
"6.5.0"
"7.1.0"
],
"zip_versions": [
"1.0.0",
@@ -138,7 +138,8 @@
"4.4.0",
"4.7.0",
"5.5.0",
"5.9.0"
"5.9.0",
"6.6.0"
]
}
],
@@ -316,6 +317,7 @@
"Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre",
"Microsoft.VisualStudio.Component.VC.MFC.ARM64",
"Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.Modules.x86.x64",
"Microsoft.VisualStudio.Component.VC.Redist.MSM",
"Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre",
"Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre",
@@ -327,6 +329,8 @@
"Microsoft.VisualStudio.Component.VC.v141.ARM.Spectre",
"Microsoft.VisualStudio.Component.VC.v141.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.v141.ATL",
"Microsoft.VisualStudio.Component.VC.v141.ATL.ARM",
"Microsoft.VisualStudio.Component.VC.v141.ATL.ARM64",
"Microsoft.VisualStudio.Component.VC.v141.ATL.ARM.Spectre",
"Microsoft.VisualStudio.Component.VC.v141.ATL.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.v141.ATL.Spectre",
@@ -418,6 +422,9 @@
"3.1",
"5.0"
],
"tools": [
{ "name": "nbgv", "test": "nbgv --version", "getversion": "nbgv --version" }
],
"warmup": true
},
"choco": {
+9 -2
View File
@@ -114,9 +114,11 @@
"name": "az",
"url" : "https://raw.githubusercontent.com/Azure/az-ps-module-versions/main/versions-manifest.json",
"versions": [
"6.5.0"
"7.1.0"
],
"zip_versions": []
"zip_versions": [
"6.6.0"
]
}
],
"java": {
@@ -175,6 +177,7 @@
"Component.UnityEngine.x64",
"Component.Unreal.Android",
"Microsoft.Component.VC.Runtime.UCRTSDK",
"Microsoft.Net.Component.4.7.TargetingPack",
"Microsoft.Net.Component.4.7.2.TargetingPack",
"Microsoft.VisualStudio.Component.AspNet45",
"Microsoft.VisualStudio.Component.Azure.ServiceFabric.Tools",
@@ -202,6 +205,7 @@
"Microsoft.VisualStudio.Component.VC.ATL.ARM64",
"Microsoft.VisualStudio.Component.VC.MFC.ARM64",
"Microsoft.VisualStudio.Component.VC.MFC.ARM64EC",
"Microsoft.VisualStudio.Component.VC.Modules.x86.x64",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64EC",
"Microsoft.VisualStudio.Component.VC.v141.x86.x64",
@@ -279,6 +283,9 @@
"3.1",
"5.0"
],
"tools": [
{ "name": "nbgv", "test": "nbgv --version", "getversion": "nbgv --version" }
],
"warmup": false
},
"choco": {