Merge branch 'main' of https://github.com/actions/virtual-environments into v-llaphin/fix-path

This commit is contained in:
Leonid Lapshin
2020-11-06 00:32:36 +03:00
35 changed files with 203 additions and 214 deletions
+27 -25
View File
@@ -1,11 +1,13 @@
| Announcements |
|-|
| [Default Node.JS will be switched to 14.x on all platforms ](https://github.com/actions/virtual-environments/issues/1953) |
| [[macOS] Default Python will be upgraded to 3.9](https://github.com/actions/virtual-environments/issues/1929) |
| [.NET 5.0 will become a default .NET version on November, 10](https://github.com/actions/virtual-environments/issues/1891) |
| [[Ubuntu] [Windows] Boost 1.69.0 will be deprecated on November, 10](https://github.com/actions/virtual-environments/issues/1847) |
| [Ubuntu-latest workflows will use Ubuntu-20.04](https://github.com/actions/virtual-environments/issues/1816) |
***
# Ubuntu 16.04.7 LTS
- Image Version: 20201026.1
- Image Version: 20201102.0
## Installed Software
### Language and Runtime
@@ -14,7 +16,7 @@
- Clang 6.0.0, 8.0.0, 9.0.1
- Erlang 11.1
- Mono 6.12.0.90
- Node 12.19.0
- Node 14.15.0
- Python 2.7.12
- Python3 3.5.2
- PowerShell 7.0.3
@@ -24,8 +26,8 @@
### Package Management
- Gem 3.1.4
- Helm 3.3.4
- Homebrew 2.5.6
- Helm 3.4.0
- Homebrew 2.5.8
- Miniconda 4.8.3
- Npm 6.14.8
- Pip 8.1.1
@@ -48,7 +50,7 @@
- Bazel 3.7.0
- Bazelisk 1.7.3
- CMake 3.17.0
- CodeQL Action Bundle 2.3.0
- CodeQL Action Bundle 2.3.1+202010222007
- curl 7.47.0
- Docker Compose 1.27.4
- Docker-Buildx 0.4.2
@@ -56,21 +58,21 @@
- Git 2.29.0
- Git LFS 2.12.0
- Git-ftp 1.0.2
- Google Cloud SDK 315.0.0
- Google Cloud SDK 316.0.0
- Haveged 1.9.1
- Heroku 7.46.2
- Heroku 7.47.0
- HHVM (HipHop VM) 4.56.1
- jq 1.5
- Kind 0.9.0
- Kubectl 1.19.3
- Kustomize 3.8.5
- Kustomize 3.8.6
- Leiningen 2.9.4
- m4 1.4.17
- Mercurial 4.4.1
- Minikube 1.14.1
- Newman 5.2.0
- Minikube 1.14.2
- Newman 5.2.1
- nvm 0.36.0
- Packer 1.6.4
- Packer 1.6.5
- PhantomJS 2.1.1
- Pulumi 2.12.1
- R 4.0.3
@@ -86,14 +88,14 @@
### CLI Tools
- Alibaba Cloud CLI 3.0.60
- AWS CLI 1.18.164
- AWS CLI 1.18.169
- AWS CLI Session manager plugin 1.2.7.0
- AWS SAM CLI 1.6.2
- Azure CLI (azure-cli) 2.13.0
- AWS SAM CLI 1.7.0
- Azure CLI (azure-cli) 2.14.0
- Azure CLI (azure-devops) 0.18.0
- GitHub CLI 1.1.0
- GitHub CLI 1.2.0
- Hub CLI 2.14.2
- Netlify CLI 2.65.7
- Netlify CLI 2.67.2
- oc CLI 4.5.0
- ORAS CLI 0.8.1
- Vercel CLI 20.1.2
@@ -109,8 +111,8 @@
### PHP
| Tool | Version |
| -------- | ----------------------------------------- |
| PHP | 5.6.40 7.0.33 7.1.33 7.2.34 7.3.23 7.4.11 |
| Composer | 2.0.2 |
| PHP | 5.6.40 7.0.33 7.1.33 7.2.34 7.3.24 7.4.12 |
| Composer | 2.0.4 |
| PHPUnit | 7.5.20 |
### Haskell
@@ -126,16 +128,16 @@
#### Packages
- Bindgen 0.55.1
- Cargo audit 0.12.1
- Cargo outdated 0.9.11
- Cargo audit 0.13.1
- Cargo outdated 0.9.13
- Cargo clippy 0.0.212
- Cbindgen 0.15.0
- Rustfmt 1.4.20
### Browsers and Drivers
- Google Chrome 86.0.4240.111
- Google Chrome 86.0.4240.183
- ChromeDriver 86.0.4240.22
- Mozilla Firefox 81.0.2
- Mozilla Firefox 82.0
- Geckodriver 0.27.0
### .NET Core SDK
@@ -150,7 +152,7 @@
- sqlite3 3.11.0
#### MySQL
- MySQL 5.7.31
- MySQL 5.7.32
- MySQL Server (user:root password:root)
- MS SQL Server Client Tools
@@ -178,9 +180,9 @@
#### Node.js
- 8.17.0
- 10.22.1
- 10.23.0
- 12.19.0
- 14.14.0
- 14.15.0
#### Go
- 1.11.13
@@ -240,6 +240,17 @@ function Get-CachedDockerImages {
return $images
}
function Get-CachedDockerImagesTableData {
return (sudo docker images --digests --format "*{{.Repository}}:{{.Tag}}|{{.Digest}} |{{.CreatedAt}}").Split("*") | Where-Object { $_ } | ForEach-Object {
$parts=$_.Split("|")
[PSCustomObject] @{
"Repository:Tag" = $parts[0]
"Digest" = $parts[1]
"Created" = $parts[2].split(' ')[0]
}
}
}
function Get-AptPackages {
$toolsetJson = Get-ToolsetContent
$apt = $toolsetJson.apt
@@ -252,4 +263,4 @@ function Get-PipxVersion {
$result -match "(?<version>\d+\.\d+\.\d+\.?\d*)" | Out-Null
$pipxVersion = $Matches.Version
return "Pipx $pipxVersion"
}
}
@@ -224,7 +224,8 @@ $markdown += Build-AndroidTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Cached Docker images" -Level 3
$markdown += New-MDList -Style Unordered -Lines @(Get-CachedDockerImages)
$markdown += Get-CachedDockerImagesTableData | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Installed apt packages" -Level 3
$markdown += New-MDList -Style Unordered -Lines @(Get-AptPackages)
+1 -5
View File
@@ -1,9 +1,5 @@
#!/bin/bash -e
export DEBIAN_FRONTEND=noninteractive
apt-get -yq update
apt-get -yq dist-upgrade
# Stop and disable apt-daily upgrade services;
systemctl stop apt-daily.timer
systemctl disable apt-daily.timer
@@ -16,7 +12,7 @@ systemctl disable apt-daily-upgrade.service
sudo sed -i 's/APT::Periodic::Update-Package-Lists "1"/APT::Periodic::Update-Package-Lists "0"/' /etc/apt/apt.conf.d/20auto-upgrades
# Enable retry logic for apt up to 10 times
echo "APT::Acquire::Retries \"10\";" > /etc/apt/apt.conf.d/80-retries
echo "APT::Acquire::Retries \"10\";" > /etc/apt/apt.conf.d/80-retries
# Configure apt to always assume Y
echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
+4 -1
View File
@@ -16,4 +16,7 @@ curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
apt-get update
# update
apt-get -yq update
apt-get -yq dist-upgrade
@@ -18,6 +18,10 @@ pwsh -Command "Update-Module -Name PowerShellGet -Force"
# Install Azure CLI (instructions taken from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
for version in ${versions[@]}; do
pwsh -Command "Save-Module -Name Az -LiteralPath /usr/share/az_$version -RequiredVersion $version -Force -Verbose"
if isUbuntu20; then
rm -rf "/usr/share/az_$version/Az.Accounts"
pwsh -Command "Save-Module -Name Az.Accounts -LiteralPath /usr/share/az_$version -RequiredVersion 1.9.5 -Force -Verbose"
fi
done
# Run tests to determine that the software installed as expected
@@ -9,8 +9,7 @@ source $HELPER_SCRIPTS/os.sh
# Install Powershell
if isUbuntu20 ; then
dotnet tool install --tool-path /opt/microsoft/powershell/7 powershell
ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
snap install powershell --classic --channel=edge/useedge
fi
if isUbuntu16 || isUbuntu18 ; then
-3
View File
@@ -42,8 +42,6 @@
"arch": "x64",
"platform" : "linux",
"versions": [
"1.11.*",
"1.12.*",
"1.13.*",
"1.14.*",
"1.15.*"
@@ -57,7 +55,6 @@
"platform_version": "16.04",
"arch": "x64",
"versions": [
"1.69.0",
"1.72.0"
]
}
-3
View File
@@ -42,8 +42,6 @@
"arch": "x64",
"platform" : "linux",
"versions": [
"1.11.*",
"1.12.*",
"1.13.*",
"1.14.*",
"1.15.*"
@@ -57,7 +55,6 @@
"platform_version": "18.04",
"arch": "x64",
"versions": [
"1.69.0",
"1.72.0"
]
}
+3
View File
@@ -72,6 +72,9 @@
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/apt.sh",
"environment_vars": [
"DEBIAN_FRONTEND=noninteractive"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
+3
View File
@@ -75,6 +75,9 @@
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/apt.sh",
"environment_vars": [
"DEBIAN_FRONTEND=noninteractive"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
+11
View File
@@ -74,9 +74,20 @@
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"expect_disconnect": true,
"scripts": [
"{{template_dir}}/scripts/base/reboot.sh"
],
"execute_command": "/bin/sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/apt.sh",
"environment_vars": [
"DEBIAN_FRONTEND=noninteractive"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{