From 898625bd738b6382970e080e5266afdaf4922087 Mon Sep 17 00:00:00 2001 From: Image generation service account Date: Mon, 18 May 2020 15:18:14 +0000 Subject: [PATCH 1/7] Updating readme file for ubuntu16 version 20200512.2 --- images/linux/Ubuntu1604-README.md | 78 +++++++++++++++++-------------- 1 file changed, 42 insertions(+), 36 deletions(-) diff --git a/images/linux/Ubuntu1604-README.md b/images/linux/Ubuntu1604-README.md index 2b08fe605..8dfad0a3e 100644 --- a/images/linux/Ubuntu1604-README.md +++ b/images/linux/Ubuntu1604-README.md @@ -1,11 +1,11 @@ # Ubuntu 16.04.6 LTS -The following software is installed on machines with the 20200430.2 update. +The following software is installed on machines with the 20200512.2 update. *** -- Homebrew on Linux (Homebrew 2.2.14 -Homebrew/linuxbrew-core (git revision 8abe3; last commit 2020-04-30)) +- Homebrew on Linux (Homebrew 2.2.16 +Homebrew/linuxbrew-core (git revision a610a8; last commit 2020-05-12)) - 7-Zip 9.20 -- Ansible (ansible 2.9.7) +- Ansible (ansible 2.9.8) - AzCopy (azcopy 7.3.0-netcore) - Azure CLI (azure-cli 2.5.1) - Azure CLI (azure-devops 0.18.0) @@ -38,8 +38,9 @@ Homebrew/linuxbrew-core (git revision 8abe3; last commit 2020-04-30)) - wget - zip - zstd -- Alibaba Cloud CLI (3.0.39) -- AWS CLI (aws-cli/1.18.49 Python/2.7.12 Linux/4.15.0-1082-azure botocore/1.15.49) + - gnupg2 +- Alibaba Cloud CLI (3.0.42) +- AWS CLI (aws-cli/1.18.58 Python/2.7.12 Linux/4.15.0-1082-azure botocore/1.16.8) - build-essential - nvm (0.35.3) - Clang 6.0 (6.0.0) @@ -118,7 +119,7 @@ Target: x86_64-unknown-linux-gnu - 2.1.301 - 2.1.300 - Erlang (Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 10.7.1) -- Firefox (Mozilla Firefox 75.0) +- Firefox (Mozilla Firefox 76.0.1) - Geckodriver (0.26.0); Gecko Driver is available via GECKOWEBDRIVER environment variable - GNU C++ 7.5.0 - GNU C++ 8.4.0 @@ -126,11 +127,11 @@ Target: x86_64-unknown-linux-gnu - GNU Fortran 8.4.0 - GNU Fortran 9.3.0 - Git (2.26.2) -- Git Large File Storage (LFS) (2.10.0) +- Git Large File Storage (LFS) (2.11.0) - Hub CLI (2.14.2) -- Google Chrome (Google Chrome 81.0.4044.129 ) -- ChromeDriver 81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}); Chrome Driver is available via CHROMEWEBDRIVER environment variable -- Google Cloud SDK (290.0.1) +- Google Chrome (Google Chrome 81.0.4044.138 ) +- ChromeDriver 81.0.4044.138 (8c6c7ba89cc9453625af54f11fd83179e23450fa-refs/branch-heads/4044@{#999}); Chrome Driver is available via CHROMEWEBDRIVER environment variable +- Google Cloud SDK (292.0.0) - Haskell Cabal (cabal-install version 2.0.0.1 compiled using version 2.0.1.1 of the Cabal library ) - Haskell Cabal (cabal-install version 2.2.0.0 @@ -152,9 +153,9 @@ compiled using version 3.2.0.0 of the Cabal library ) - GHC (The Glorious Glasgow Haskell Compilation System, version 8.8.2) - GHC (The Glorious Glasgow Haskell Compilation System, version 8.8.3) - GHC (The Glorious Glasgow Haskell Compilation System, version 8.10.1) -- Haskell Stack (Version 2.1.3, Git revision 636e3a759d51127df2b62f90772def126cdf6d1f (7735 commits) x86_64 hpack-0.31.2) -- Heroku (heroku/7.39.5 linux-x64 node-v12.16.2) -- HHVM (HipHop VM 4.55.0 (rel)) +- Haskell Stack (Version 2.3.1, Git revision de2a7b694f07de7e6cf17f8c92338c16286b2878 (8103 commits) x86_64 hpack-0.33.0) +- Heroku (heroku/7.41.1 linux-x64 node-v12.16.2) +- HHVM (HipHop VM 4.56.0 (rel)) - ImageMagick - Azul Zulu OpenJDK: - 7 (openjdk version "1.7.0_262") @@ -162,16 +163,16 @@ compiled using version 3.2.0.0 of the Cabal library ) - 11 (openjdk version "11.0.7" 2020-04-14 LTS) - 12 (openjdk version "12.0.2" 2019-07-16) - Ant (Apache Ant(TM) version 1.9.6 compiled on July 20 2018) -- Gradle 6.3 +- Gradle 6.4 - Maven (Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)) - Kind (kind v0.7.0 go1.13.6 linux/amd64) -- kubectl (error: Missing or incomplete configuration info. Please point to an existing, complete config file:) -- helm (v3.2.0+ge11b7ce) +- kubectl (Client Version: v1.18.2) +- helm (v3.2.1+gfe51cd1) - Leiningen (Leiningen 2.9.3 on Java 1.8.0_252 OpenJDK 64-Bit Server VM) - Mercurial (Mercurial Distributed SCM (version 4.4.1)) - Miniconda (conda 4.8.2) -- Mono (Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:20:35 UTC 2020)) -- MySQL (mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using EditLine wrapper) +- Mono (Mono JIT compiler version 6.8.0.123 (tarball Tue May 12 15:13:37 UTC 2020)) +- MySQL (mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper) - 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' @@ -181,7 +182,7 @@ compiled using version 3.2.0.0 of the Cabal library ) Local version: Unknown) - n (6.5.1) - Parcel (1.12.4) -- TypeScript (Version 3.8.3) +- TypeScript (Version 3.9.2) - Webpack (4.43.0) - Webpack CLI (3.3.11) - Yarn (1.22.4) @@ -194,39 +195,35 @@ Local version: Unknown) - PHP 7.2 (PHP 7.2.30-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Apr 19 2020 07:50:31) ( NTS )) - PHP 7.3 (PHP 7.3.17-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Apr 19 2020 07:44:05) ( NTS )) - PHP 7.4 (PHP 7.4.5 (cli) (built: Apr 19 2020 07:36:13) ( NTS )) -- Composer (Composer version 1.10.5 2020-04-10 11:44:22) +- Composer (Composer version 1.10.6 2020-05-06 10:28:10) - PHPUnit (PHPUnit 7.5.20 by Sebastian Bergmann and contributors.) - Pollinate - psql (PostgreSQL) 9.5.21 - Powershell (PowerShell 7.0.0) - ruby (2.3.1p112) -- gem (3.1.2) +- gem (3.1.3) - rustup (1.21.1) -- rust (1.43.0) +- rust (1.43.1) - cargo (1.43.0) - rustfmt (1.4.12-stable) - clippy (0.0.212) -- rustdoc (1.43.0) +- rustdoc (1.43.1) - bindgen (0.53.2) -- cbindgen (0.14.1) +- cbindgen (0.14.2) - Julia (julia version 1.4.1) - sbt (1.3.10) - 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.12.24) -- Packer (1.5.5) +- Packer (1.5.6) - Vcpkg 2020.02.04-unknownhash -- Zeit Now CLI (18.0.0) -- MongoDB on Linux (2020-04-30T12:21:47.651+0000 I CONTROL [initandlisten] db version v4.2.6 -2020-04-30T12:21:47.651+0000 I CONTROL [initandlisten] git version: 20364840b8f1af16917e4c23c1b5f5efd8b352f8 -2020-04-30T12:21:47.651+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016) +- Zeit Now CLI (19.0.1) +- MongoDB on Linux (2020-05-12T23:21:16.910+0000 I CONTROL [initandlisten] db version v4.2.6 +2020-05-12T23:21:16.910+0000 I CONTROL [initandlisten] git version: 20364840b8f1af16917e4c23c1b5f5efd8b352f8 +2020-05-12T23:21:16.910+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016) - Haveged 1.9.1-3 - AWS SAM CLI, version 0.48.0 -- Go 1.11 (go version go1.11.13 linux/amd64) -- Go 1.12 (go version go1.12.17 linux/amd64) -- Go 1.13 (go version go1.13.10 linux/amd64) -- Go 1.14 (go version go1.14.2 linux/amd64) - Google Repository 58 - Google Play services 49 - Google APIs 24 @@ -238,7 +235,7 @@ Local version: Unknown) - Android Support Repository 47.0.0 - Android Solver for ConstraintLayout 1.0.2 - Android Solver for ConstraintLayout 1.0.1 -- Android SDK Platform-Tools 30.0.0 +- Android SDK Platform-Tools 30.0.1 - Android SDK Platform 29 - Android SDK Platform 28 - Android SDK Platform 27 @@ -295,12 +292,12 @@ Local version: Unknown) - Az Module (3.1.0) - Az Module (3.5.0) - Cached container images + - jekyll/builder:latest (Digest: sha256:a8345b1d5316347dccd73ed4e96cb08e29bd8b2634bb727fb4d9311fe1e3ec89) - node:12-alpine (Digest: sha256:84f5c9090cc741421b2376b2393e7d5fa2f89d36167c12eb57aef16dd64ecf6c) - node:12 (Digest: sha256:5fe210262a6dc0c1f5555976356cf076c7a8c7645b0c781bc8a913881bbe7942) - node:10-alpine (Digest: sha256:b2db1b026f1b01a6a91f39d8204b89c5c13d2b40a017dd4d9253ab066c9cf2cb) - alpine:3.9 (Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011) - alpine:3.10 (Digest: sha256:f0e9534a598e501320957059cb2a23774b4d4072e37c7b2cf7e95b241f019e35) - - jekyll/builder:latest (Digest: sha256:89c952121d275ba475b6611060e2d917434ebe8e125049d647ffefdbef9ca859) - node:10 (Digest: sha256:e0c512c52c3ca8797fc60ada3698004f5cba13af4a8a5968041edac1b5d98577) - buildpack-deps:stretch (Digest: sha256:38353fdc334fa612f3dedb3d1e8172c3e63de706ca80260856e5708d0fd1146a) - debian:9 (Digest: sha256:666ffd4fbcdff07edcbd65f0ec1dc86ed294f5e3be93eb26280575f77427df46) @@ -321,11 +318,20 @@ Local version: Unknown) - 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)) +- Go 1.11.13 (go version go1.11.13 linux/amd64) +- Go 1.12.17 (go version go1.12.17 linux/amd64) +- Go 1.13.10 (go version go1.13.10 linux/amd64) +- Go 1.14.2 (go version go1.14.2 linux/amd64) - Python: - Python 2.7.18 - Python 3.5.9 - Python 3.6.10 - Python 3.7.7 - Python 3.8.2 +- node: + - node 8.17.0 + - node 10.20.1 + - node 12.16.3 + - node 14.2.0 - Boost C++ Libraries 1.69.0 - Boost C++ Libraries 1.72.0 From 863228809752c58fb5e9fd3db42cd7584e496d0f Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Tue, 19 May 2020 13:26:04 +0500 Subject: [PATCH 2/7] Install GitHub CLI on Windows images (#853) * Install GitHub CLI on Windows images * Resolve comments Co-authored-by: Sergey Dolin --- images/win/Windows2016-Azure.json | 12 +++++++++ images/win/Windows2019-Azure.json | 12 +++++++++ .../scripts/Installers/Install-GitHub-CLI.ps1 | 10 +++++++ .../Installers/Validate-GitHub-CLI.ps1 | 27 +++++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 images/win/scripts/Installers/Install-GitHub-CLI.ps1 create mode 100644 images/win/scripts/Installers/Validate-GitHub-CLI.ps1 diff --git a/images/win/Windows2016-Azure.json b/images/win/Windows2016-Azure.json index 8c29d1559..945e79740 100644 --- a/images/win/Windows2016-Azure.json +++ b/images/win/Windows2016-Azure.json @@ -370,6 +370,12 @@ "{{ template_dir }}/scripts/Installers/Install-Git.ps1" ] }, + { + "type": "powershell", + "scripts":[ + "{{ template_dir }}/scripts/Installers/Install-GitHub-CLI.ps1" + ] + }, { "type": "powershell", "environment_vars": [ @@ -719,6 +725,12 @@ "{{ template_dir }}/scripts/Installers/Validate-Git.ps1" ] }, + { + "type": "powershell", + "scripts":[ + "{{ template_dir }}/scripts/Installers/Validate-GitHub-CLI.ps1" + ] + }, { "type": "powershell", "environment_vars": [ diff --git a/images/win/Windows2019-Azure.json b/images/win/Windows2019-Azure.json index deecbe6f6..aa008e02e 100644 --- a/images/win/Windows2019-Azure.json +++ b/images/win/Windows2019-Azure.json @@ -343,6 +343,12 @@ "{{ template_dir }}/scripts/Installers/Install-Git.ps1" ] }, + { + "type": "powershell", + "scripts":[ + "{{ template_dir }}/scripts/Installers/Install-GitHub-CLI.ps1" + ] + }, { "type": "powershell", "environment_vars": [ @@ -716,6 +722,12 @@ "{{ template_dir }}/scripts/Installers/Validate-Git.ps1" ] }, + { + "type": "powershell", + "scripts":[ + "{{ template_dir }}/scripts/Installers/Validate-GitHub-CLI.ps1" + ] + }, { "type": "powershell", "environment_vars": [ diff --git a/images/win/scripts/Installers/Install-GitHub-CLI.ps1 b/images/win/scripts/Installers/Install-GitHub-CLI.ps1 new file mode 100644 index 000000000..5fb49887a --- /dev/null +++ b/images/win/scripts/Installers/Install-GitHub-CLI.ps1 @@ -0,0 +1,10 @@ +################################################################################ +## File: Install-GitHub-CLI.ps1 +## Desc: Install GitHub CLI +################################################################################ + +Import-Module -Name ImageHelpers -Force + +Choco-Install -PackageName gh + +Add-MachinePathItem "C:\Program Files (x86)\GitHub CLI" \ No newline at end of file diff --git a/images/win/scripts/Installers/Validate-GitHub-CLI.ps1 b/images/win/scripts/Installers/Validate-GitHub-CLI.ps1 new file mode 100644 index 000000000..fa9f2bf1f --- /dev/null +++ b/images/win/scripts/Installers/Validate-GitHub-CLI.ps1 @@ -0,0 +1,27 @@ +################################################################################ +## File: Validate-GitHub-CLI.ps1 +## Desc: Validate GitHub CLI +################################################################################ + +$command = Get-Command -Name 'gh' + +if ($command) +{ + Write-Host "gh on path" +} +else +{ + Write-Host 'gh is not on path' + exit 1 +} + +# Adding description of the software to Markdown +$SoftwareName = "GitHub CLI" + +$version = (gh --version).Split()[2] + +$Description = @" +_Version:_ $version
+"@ + +Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description \ No newline at end of file From a12a3b7042abead3e4145bd78a6f61dc4951fcf6 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Tue, 19 May 2020 13:16:59 +0300 Subject: [PATCH 3/7] Rename Mingw-w64 (#893) --- images/win/Windows2016-Azure.json | 4 ++-- images/win/Windows2019-Azure.json | 4 ++-- .../{Install-MinGW.ps1 => Install-Mingw64.ps1} | 2 +- .../{Validate-MinGW.ps1 => Validate-Mingw64.ps1} | 14 +++++++------- 4 files changed, 12 insertions(+), 12 deletions(-) rename images/win/scripts/Installers/{Install-MinGW.ps1 => Install-Mingw64.ps1} (94%) rename images/win/scripts/Installers/{Validate-MinGW.ps1 => Validate-Mingw64.ps1} (81%) diff --git a/images/win/Windows2016-Azure.json b/images/win/Windows2016-Azure.json index 945e79740..795ebd4b5 100644 --- a/images/win/Windows2016-Azure.json +++ b/images/win/Windows2016-Azure.json @@ -547,7 +547,7 @@ { "type": "powershell", "scripts":[ - "{{ template_dir }}/scripts/Installers/Install-MinGW.ps1" + "{{ template_dir }}/scripts/Installers/Install-Mingw64.ps1" ] }, { @@ -861,7 +861,7 @@ { "type": "powershell", "scripts":[ - "{{ template_dir }}/scripts/Installers/Validate-MinGW.ps1" + "{{ template_dir }}/scripts/Installers/Validate-Mingw64.ps1" ] }, { diff --git a/images/win/Windows2019-Azure.json b/images/win/Windows2019-Azure.json index aa008e02e..9cebffb4a 100644 --- a/images/win/Windows2019-Azure.json +++ b/images/win/Windows2019-Azure.json @@ -526,7 +526,7 @@ { "type": "powershell", "scripts":[ - "{{ template_dir }}/scripts/Installers/Install-MinGW.ps1" + "{{ template_dir }}/scripts/Installers/Install-Mingw64.ps1" ] }, { @@ -846,7 +846,7 @@ { "type": "powershell", "scripts":[ - "{{ template_dir }}/scripts/Installers/Validate-MinGW.ps1" + "{{ template_dir }}/scripts/Installers/Validate-Mingw64.ps1" ] }, { diff --git a/images/win/scripts/Installers/Install-MinGW.ps1 b/images/win/scripts/Installers/Install-Mingw64.ps1 similarity index 94% rename from images/win/scripts/Installers/Install-MinGW.ps1 rename to images/win/scripts/Installers/Install-Mingw64.ps1 index ac585b9d8..fcb8f781f 100644 --- a/images/win/scripts/Installers/Install-MinGW.ps1 +++ b/images/win/scripts/Installers/Install-Mingw64.ps1 @@ -1,5 +1,5 @@ ################################################################################ -## File: Install-MinGW.ps1 +## File: Install-Mingw64.ps1 ## Desc: Install GNU tools for Windows to C:\tools\mingw64 ################################################################################ diff --git a/images/win/scripts/Installers/Validate-MinGW.ps1 b/images/win/scripts/Installers/Validate-Mingw64.ps1 similarity index 81% rename from images/win/scripts/Installers/Validate-MinGW.ps1 rename to images/win/scripts/Installers/Validate-Mingw64.ps1 index 475372cd0..080a9797a 100644 --- a/images/win/scripts/Installers/Validate-MinGW.ps1 +++ b/images/win/scripts/Installers/Validate-Mingw64.ps1 @@ -1,6 +1,6 @@ ################################################################################ -## File: Validate-MinGW.ps1 -## Desc: Validate MinGW +## File: Validate-Mingw64.ps1 +## Desc: Validate Mingw64 ################################################################################ if (Get-Command -Name 'gcc') @@ -39,19 +39,19 @@ else # Adding description of the software to Markdown # `gcc --version` gives output like: -# gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 5.3.0 +# gcc.exe (x86_64-posix-seh-rev0, Built by Mingw-w64 project) 5.3.0 # Copyright (C) 2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -$SoftwareName = "MinGW" +$SoftwareName = "Mingw-w64" $(gcc --version).Split([System.Environment]::NewLine)[0] -match "\d\.\d\.\d$" -$minGwVersion = $matches[0] +$mingw64Version = $matches[0] $Description = @" -_Version:_ $minGwVersion
+_Version:_ $mingw64Version
_Environment:_ -* PATH: contains location of the MinGW 'bin' directory +* PATH: contains location of the Mingw-w64 'bin' directory "@ Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description From e38d15d102d352b2159df8c996ab06ae7679af64 Mon Sep 17 00:00:00 2001 From: Gabriele Castellani Date: Tue, 19 May 2020 12:43:00 +0200 Subject: [PATCH 4/7] Added support for Az Module (3.8.0) (#892) --- images/linux/scripts/installers/azpowershell.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/images/linux/scripts/installers/azpowershell.sh b/images/linux/scripts/installers/azpowershell.sh index 1e87d9b1e..feef2d62b 100644 --- a/images/linux/scripts/installers/azpowershell.sh +++ b/images/linux/scripts/installers/azpowershell.sh @@ -15,6 +15,7 @@ sudo pwsh -Command 'Save-Module -Name Az -LiteralPath /usr/share/az_2.6.0 -Requi sudo pwsh -Command 'Save-Module -Name Az -LiteralPath /usr/share/az_2.8.0 -RequiredVersion 2.8.0 -Force' sudo pwsh -Command 'Save-Module -Name Az -LiteralPath /usr/share/az_3.1.0 -RequiredVersion 3.1.0 -Force' sudo pwsh -Command 'Save-Module -Name Az -LiteralPath /usr/share/az_3.5.0 -RequiredVersion 3.5.0 -Force' +sudo pwsh -Command 'Save-Module -Name Az -LiteralPath /usr/share/az_3.8.0 -RequiredVersion 3.8.0 -Force' # Run tests to determine that the software installed as expected echo "Testing to make sure that script performed as expected, and basic scenarios work" @@ -52,6 +53,11 @@ if ! pwsh -Command '$actualPSModulePath = $env:PSModulePath ; $env:PSModulePath if (!(get-module -listavailable -name Az.accounts)) { Write-Host "Az Module was not installed"; $env:PSModulePath = $actualPSModulePath; exit 1 } + $env:PSModulePath = $actualPSModulePath + $actualPSModulePath = $env:PSModulePath ; $env:PSModulePath = "/usr/share/az_3.8.0:" + $env:PSModulePath; + if (!(get-module -listavailable -name Az.accounts)) { + Write-Host "Az Module was not installed"; $env:PSModulePath = $actualPSModulePath; exit 1 + } $env:PSModulePath = $actualPSModulePath'; then exit 1 fi @@ -65,3 +71,4 @@ DocumentInstalledItem "Az Module (2.6.0)" DocumentInstalledItem "Az Module (2.8.0)" DocumentInstalledItem "Az Module (3.1.0)" DocumentInstalledItem "Az Module (3.5.0)" +DocumentInstalledItem "Az Module (3.8.0)" From 94a9bafd20ff0996ab4614701e9dd504910072ce Mon Sep 17 00:00:00 2001 From: Image generation service account Date: Tue, 19 May 2020 10:52:04 +0000 Subject: [PATCH 5/7] Updating readme file for ubuntu18 version 20200512.2 --- images/linux/Ubuntu1804-README.md | 84 +++++++++++++++++-------------- 1 file changed, 45 insertions(+), 39 deletions(-) diff --git a/images/linux/Ubuntu1804-README.md b/images/linux/Ubuntu1804-README.md index 952b97690..460d72e3c 100644 --- a/images/linux/Ubuntu1804-README.md +++ b/images/linux/Ubuntu1804-README.md @@ -1,11 +1,11 @@ # Ubuntu 18.04.4 LTS -The following software is installed on machines with the 20200430.1 update. +The following software is installed on machines with the 20200512.2 update. *** -- Homebrew on Linux (Homebrew 2.2.14 -Homebrew/linuxbrew-core (git revision d5a54e; last commit 2020-04-30)) +- Homebrew on Linux (Homebrew 2.2.16 +Homebrew/linuxbrew-core (git revision a610a8; last commit 2020-05-12)) - 7-Zip 16.02 -- Ansible (ansible 2.9.7) +- Ansible (ansible 2.9.8) - AzCopy (azcopy 7.3.0-netcore) - Azure CLI (azure-cli 2.5.1) - Azure CLI (azure-devops 0.18.0) @@ -36,8 +36,9 @@ Homebrew/linuxbrew-core (git revision d5a54e; last commit 2020-04-30)) - wget - zip - zstd -- Alibaba Cloud CLI (3.0.39) -- AWS CLI (aws-cli/1.18.49 Python/2.7.17 Linux/5.3.0-1020-azure botocore/1.15.49) + - gnupg2 +- Alibaba Cloud CLI (3.0.42) +- AWS CLI (aws-cli/1.18.58 Python/2.7.17 Linux/5.3.0-1020-azure botocore/1.16.8) - build-essential - Clang 6.0 (6.0.0) - Clang 8 (8.0.0) @@ -45,9 +46,9 @@ Homebrew/linuxbrew-core (git revision d5a54e; last commit 2020-04-30)) - Swift version 5.2.3 (swift-5.2.3-RELEASE) Target: x86_64-unknown-linux-gnu - CMake (cmake version 3.17.0) -- Podman (podman --version) -Buildah (buildah --version) -Skopeo (skopeo --version) +- Podman (1.9.1) +- Buildah (1.14.8) +- Skopeo (0.2.0) - Docker Compose (docker-compose version 1.25.4, build 8d51620a) - Docker-Moby (Docker version 3.0.11+azure, build eb310fca49568dccd87c6136f774ef6fff2a1b51) - Docker-Buildx (0.3.1+azure) @@ -118,7 +119,7 @@ Skopeo (skopeo --version) - 2.1.301 - 2.1.300 - Erlang (Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 10.7.1) -- Firefox (Mozilla Firefox 75.0) +- Firefox (Mozilla Firefox 76.0.1) - Geckodriver (0.26.0); Gecko Driver is available via GECKOWEBDRIVER environment variable - GNU C++ 7.5.0 - GNU C++ 8.4.0 @@ -126,11 +127,11 @@ Skopeo (skopeo --version) - GNU Fortran 8.4.0 - GNU Fortran 9.3.0 - Git (2.26.2) -- Git Large File Storage (LFS) (2.10.0) +- Git Large File Storage (LFS) (2.11.0) - Hub CLI (2.14.2) -- Google Chrome (Google Chrome 81.0.4044.129 ) -- ChromeDriver 81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}); Chrome Driver is available via CHROMEWEBDRIVER environment variable -- Google Cloud SDK (290.0.1) +- Google Chrome (Google Chrome 81.0.4044.138 ) +- ChromeDriver 81.0.4044.138 (8c6c7ba89cc9453625af54f11fd83179e23450fa-refs/branch-heads/4044@{#999}); Chrome Driver is available via CHROMEWEBDRIVER environment variable +- Google Cloud SDK (292.0.0) - Haskell Cabal (cabal-install version 2.0.0.1 compiled using version 2.0.1.1 of the Cabal library ) - Haskell Cabal (cabal-install version 2.2.0.0 @@ -152,9 +153,9 @@ compiled using version 3.2.0.0 of the Cabal library ) - GHC (The Glorious Glasgow Haskell Compilation System, version 8.8.2) - GHC (The Glorious Glasgow Haskell Compilation System, version 8.8.3) - GHC (The Glorious Glasgow Haskell Compilation System, version 8.10.1) -- Haskell Stack (Version 2.1.3, Git revision 636e3a759d51127df2b62f90772def126cdf6d1f (7735 commits) x86_64 hpack-0.31.2) -- Heroku (heroku/7.39.5 linux-x64 node-v12.16.2) -- HHVM (HipHop VM 4.55.0 (rel)) +- Haskell Stack (Version 2.3.1, Git revision de2a7b694f07de7e6cf17f8c92338c16286b2878 (8103 commits) x86_64 hpack-0.33.0) +- Heroku (heroku/7.41.1 linux-x64 node-v12.16.2) +- HHVM (HipHop VM 4.57.0 (rel)) - ImageMagick - Azul Zulu OpenJDK: - 7 (openjdk version "1.7.0_262") @@ -162,16 +163,16 @@ compiled using version 3.2.0.0 of the Cabal library ) - 11 (openjdk version "11.0.7" 2020-04-14 LTS) - 12 (openjdk version "12.0.2" 2019-07-16) - Ant (Apache Ant(TM) version 1.10.5 compiled on March 28 2019) -- Gradle 6.3 +- Gradle 6.4 - Maven (Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)) - Kind (kind v0.7.0 go1.13.6 linux/amd64) -- kubectl (error: Missing or incomplete configuration info. Please point to an existing, complete config file:) -- helm (v3.2.0+ge11b7ce) +- kubectl (Client Version: v1.18.2) +- helm (v3.2.1+gfe51cd1) - Leiningen (Leiningen 2.9.3 on Java 1.8.0_252 OpenJDK 64-Bit Server VM) - Mercurial (Mercurial Distributed SCM (version 4.5.3)) - Miniconda (conda 4.8.2) -- Mono (Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:20:20 UTC 2020)) -- MySQL (mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using EditLine wrapper) +- Mono (Mono JIT compiler version 6.8.0.123 (tarball Tue May 12 15:11:57 UTC 2020)) +- MySQL (mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper) - 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' @@ -182,7 +183,7 @@ compiled using version 3.2.0.0 of the Cabal library ) Local version: Unknown) - n (6.5.1) - Parcel (1.12.4) -- TypeScript (Version 3.8.3) +- TypeScript (Version 3.9.2) - Webpack (4.43.0) - Webpack CLI (3.3.11) - Yarn (1.22.4) @@ -193,39 +194,35 @@ Local version: Unknown) - PHP 7.2 (PHP 7.2.30-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Apr 19 2020 07:50:50) ( NTS )) - PHP 7.3 (PHP 7.3.17-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Apr 19 2020 07:44:26) ( NTS )) - PHP 7.4 (PHP 7.4.5 (cli) (built: Apr 19 2020 07:36:30) ( NTS )) -- Composer (Composer version 1.10.5 2020-04-10 11:44:22) +- Composer (Composer version 1.10.6 2020-05-06 10:28:10) - PHPUnit (PHPUnit 7.5.20 by Sebastian Bergmann and contributors.) - Pollinate - psql (PostgreSQL) 10.12 - Powershell (PowerShell 7.0.0) - ruby (2.5.1p57) -- gem (3.1.2) +- gem (3.1.3) - rustup (1.21.1) -- rust (1.43.0) +- rust (1.43.1) - cargo (1.43.0) - rustfmt (1.4.12-stable) - clippy (0.0.212) -- rustdoc (1.43.0) +- rustdoc (1.43.1) - bindgen (0.53.2) -- cbindgen (0.14.1) +- cbindgen (0.14.2) - Julia (julia version 1.4.1) - sbt (1.3.10) - 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.12.24) -- Packer (1.5.5) +- Packer (1.5.6) - Vcpkg 2020.02.04-unknownhash -- Zeit Now CLI (18.0.0) -- MongoDB on Linux (2020-04-30T20:19:37.962+0000 I CONTROL [initandlisten] db version v4.2.6 -2020-04-30T20:19:37.962+0000 I CONTROL [initandlisten] git version: 20364840b8f1af16917e4c23c1b5f5efd8b352f8 -2020-04-30T20:19:37.962+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1g 21 Apr 2020) +- Zeit Now CLI (19.0.1) +- MongoDB on Linux (2020-05-12T23:26:04.659+0000 I CONTROL [initandlisten] db version v4.2.6 +2020-05-12T23:26:04.659+0000 I CONTROL [initandlisten] git version: 20364840b8f1af16917e4c23c1b5f5efd8b352f8 +2020-05-12T23:26:04.659+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1g 21 Apr 2020) - Haveged 1.9.1-6 - AWS SAM CLI, version 0.48.0 -- Go 1.11 (go version go1.11.13 linux/amd64) -- Go 1.12 (go version go1.12.17 linux/amd64) -- Go 1.13 (go version go1.13.10 linux/amd64) -- Go 1.14 (go version go1.14.2 linux/amd64) - Google Repository 58 - Google Play services 49 - Google APIs 24 @@ -235,7 +232,7 @@ Local version: Unknown) - CMake 3.10.2.4988404 3.6.4111459 - Android Support Repository 47.0.0 -- Android SDK Platform-Tools 30.0.0 +- Android SDK Platform-Tools 30.0.1 - Android SDK Platform 29 - Android SDK Platform 28 - Android SDK Platform 27 @@ -288,7 +285,7 @@ Local version: Unknown) - Az Module (3.1.0) - Az Module (3.5.0) - Cached container images - - jekyll/builder:latest (Digest: sha256:c97cebe5f614888d61bebf234c1c93399aa74463ffdb175fd9b975a4b0fa8f13) + - jekyll/builder:latest (Digest: sha256:a8345b1d5316347dccd73ed4e96cb08e29bd8b2634bb727fb4d9311fe1e3ec89) - node:12-alpine (Digest: sha256:84f5c9090cc741421b2376b2393e7d5fa2f89d36167c12eb57aef16dd64ecf6c) - node:12 (Digest: sha256:5fe210262a6dc0c1f5555976356cf076c7a8c7645b0c781bc8a913881bbe7942) - node:10-alpine (Digest: sha256:b2db1b026f1b01a6a91f39d8204b89c5c13d2b40a017dd4d9253ab066c9cf2cb) @@ -314,11 +311,20 @@ Local version: Unknown) - 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)) +- Go 1.11.13 (go version go1.11.13 linux/amd64) +- Go 1.12.17 (go version go1.12.17 linux/amd64) +- Go 1.13.10 (go version go1.13.10 linux/amd64) +- Go 1.14.2 (go version go1.14.2 linux/amd64) - Python: - Python 2.7.18 - Python 3.5.9 - Python 3.6.10 - Python 3.7.7 - Python 3.8.2 +- node: + - node 8.17.0 + - node 10.20.1 + - node 12.16.3 + - node 14.2.0 - Boost C++ Libraries 1.69.0 - Boost C++ Libraries 1.72.0 From 8b72149ff762e5597a9916ebaead17e9640002fd Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Tue, 19 May 2020 17:25:09 +0300 Subject: [PATCH 6/7] Update pacman installation process (#899) --- images/win/scripts/Installers/Install-Msys2.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/images/win/scripts/Installers/Install-Msys2.ps1 b/images/win/scripts/Installers/Install-Msys2.ps1 index 49f75e430..dcf417386 100644 --- a/images/win/scripts/Installers/Install-Msys2.ps1 +++ b/images/win/scripts/Installers/Install-Msys2.ps1 @@ -38,6 +38,13 @@ bash.exe -c "pacman-key --init 2>&1" Write-Host "bash pacman-key --populate msys2" bash.exe -c "pacman-key --populate msys2 2>&1" +Write-Host "pacman --noconfirm -Sy pacman" +pacman --noconfirm -Sy pacman +pacman --noconfirm -Su + +# Force stop gpg-agent to continue installation +Get-Process gpg-agent -ErrorAction SilentlyContinue | Stop-Process -Force + Write-Host "pacman --noconfirm -Syyuu" pacman.exe -Syyuu --noconfirm pacman.exe -Syuu --noconfirm From 0d9b0822aea726705078fd62f651d53858ca4b06 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Wed, 20 May 2020 09:31:27 +0300 Subject: [PATCH 7/7] update PyPy download source (#901) --- images/linux/scripts/installers/pypy.sh | 6 +++--- images/win/scripts/Installers/Install-PyPy.ps1 | 18 ++++++++---------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/images/linux/scripts/installers/pypy.sh b/images/linux/scripts/installers/pypy.sh index 68ccc7036..d6e36a28b 100644 --- a/images/linux/scripts/installers/pypy.sh +++ b/images/linux/scripts/installers/pypy.sh @@ -74,8 +74,8 @@ function InstallPyPy function getPyPyVersions { - uri="https://api.bitbucket.org/2.0/repositories/pypy/pypy/downloads?pagelen=100" - curl -s -N $uri | jq -r ".values[].links.self.href|select(contains(\"linux64\"))" + uri="https://downloads.python.org/pypy/" + wget -q -O - $uri | gunzip -c | grep 'linux64' | awk -v uri="$uri" -F'>|<' '{print uri$5}' } # Installation PyPy @@ -84,7 +84,7 @@ toolsetJson="$INSTALLER_SCRIPT_FOLDER/toolset.json" toolsetVersions=$(cat $toolsetJson | jq -r '.toolcache[] | select(.name | contains("PyPy")) | .versions[]') for toolsetVersion in $toolsetVersions; do - latestMajorPyPyVersion=$(echo "${pypyVersions}" | grep -E "pypy${toolsetVersion}-v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+-" | head -1) + latestMajorPyPyVersion=$(echo "${pypyVersions}" | grep -E "pypy${toolsetVersion}-v[0-9]+\.[0-9]+\.[0-9]+-" | head -1) if [[ -z "$latestMajorPyPyVersion" ]]; then echo "Failed to get PyPy version '$toolsetVersion'" diff --git a/images/win/scripts/Installers/Install-PyPy.ps1 b/images/win/scripts/Installers/Install-PyPy.ps1 index 10e55c2ed..598752a5a 100644 --- a/images/win/scripts/Installers/Install-PyPy.ps1 +++ b/images/win/scripts/Installers/Install-PyPy.ps1 @@ -3,13 +3,15 @@ ## Team: CI-Build ## Desc: Install PyPy ################################################################################ - function Get-PyPyVersions { - $uri = "https://api.bitbucket.org/2.0/repositories/pypy/pypy/downloads?pagelen=100" + $uri = "https://downloads.python.org/pypy/" try { - (Invoke-RestMethod -Uri $uri).Values + $hrefs = (Invoke-WebRequest -Uri $uri).Links.href + $hrefs | Where-Object {$_ -match '^pypy'} | Select-Object @{n = "Name"; e = {$_}}, @{n = "href"; e = { + [string]::Join('', ($uri, $_)) + }} } catch { @@ -17,7 +19,6 @@ function Get-PyPyVersions exit 1 } } - function Install-PyPy { param( @@ -97,17 +98,14 @@ foreach($pypyTool in $pypyTools) { # Query latest PyPy version $filter = '{0}{1}-*-{2}.zip' -f $pypyTool.name, $pypyVersion, $pypyTool.platform - $latestMajorPyPyVersion = $pypyVersions | Where-Object { - $_.name -like $filter -and $_.name.Split('-')[1].Substring(1) -as [System.Version] - } | Sort-Object {[System.Version]$_.name.Split('-')[1].Substring(1)} | Select-Object -Last 1 + $latestMajorPyPyVersion = $pypyVersions | Where-Object {$_.name -like $filter} | Select-Object -First 1 if ($latestMajorPyPyVersion) { $packageName = $latestMajorPyPyVersion.name - $packageDate = $latestMajorPyPyVersion.created_on - Write-Host "Found PyPy '$packageName' package created on '$packageDate'" - $url = $latestMajorPyPyVersion.links.self.href + Write-Host "Found PyPy '$packageName' package" + $url = $latestMajorPyPyVersion.href $tempPyPyPackagePath = Start-DownloadWithRetry -Url $url -Name $packageName Install-PyPy -PackagePath $tempPyPyPackagePath -Architecture $pypyTool.arch }