Compare commits

...

2161 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
Craig Morten 865d805097 [macOS] Enable voiceover applescript defaults (#4824)
* feat: enable voiceover applescript in defaults

* refactor: reword comment

* fix: grammar in VO comment
2022-01-11 13:40:14 +03:00
Mikhail Koliada 97368aa175 [Ubuntu] put snap.sh upper environment cleanup (#4847) 2022-01-09 11:40:39 +03:00
Dibir Magomedsaygitov cd453927ca downgrade rubygems version to 3.2.33 (#4815) 2022-01-06 15:50:24 +03:00
V-Zabayrachny 3c2f1c6350 [macOS] Remove macOS 10.14 related code in the VE repo (#4816)
* [MacOS] Remove code for macOS-10.14

* remove is_Less_BigSur in all script

* remove variable the IsLessThanBigSur
2021-12-30 10:36:59 +03:00
Mikhail Koliada 29dbc46881 [Ubuntu] restart snapd during images generation (#4814) 2021-12-29 13:01:38 +03:00
Aleksandr Chebotov 92eeb55189 [Ubuntu] Add verbosity during software report generation (#4811)
* Add verbosity during software report generation

* Fix Get-CpanVersion

* set default ValidateExitCode value to $true

* update java test

* use lower-case for parameters
2021-12-28 11:16:20 +03:00
Mikhail Timofeev bb56fb7ef4 Add Service Fabric SDK to windows 2022 (#4812) 2021-12-27 23:12:44 +03:00
Mikhail Timofeev 3ff9488146 [macOS] Enable voiceover if SIP is disabled (#4805)
* Enable voiceover if SIP is disabled

* Replace touch with `echo -n "a"`

The file should contain `a` symbol

Co-authored-by: Craig Morten <cmorten@users.noreply.github.com>

* Wrap sudo call into bash -c

Co-authored-by: Craig Morten <cmorten@users.noreply.github.com>
2021-12-27 18:17:25 +03:00
Mikhail Timofeev ddf7ca4328 [Windows] Add Perl to windows-2022 (#4808)
* Add Perl to windows-2022 toolset

* Add missing tests and software report for perl
2021-12-27 13:43:52 +03:00
Mikhail Timofeev fcb8a9ca81 Windows 2022 is not in a beta state anymore (#4810) 2021-12-27 11:41:47 +03:00
Aleksandr Chebotov 7518d04a3a [Windows] Stop SoftwareReport script if error (#4801)
* Stop SoftwareReport script if error

* Validate blank versions

* Fix tables parsing
2021-12-24 10:58:19 +03:00
Mikhail Timofeev d4793cf476 Add data about Ubuntu packages to software guidelines (#4802) 2021-12-23 21:53:35 +03:00
Mikhail Koliada efcb653004 [macOS] Software update week 52 (#4798) 2021-12-23 16:23:19 +03:00
github-actions[bot] 1e6b55a484 Windows Server 2022 (20211219 update) (#4773)
* Updating readme file for win22 version 20211219.1

* Update rust and rust tools versions

There is an issue with the documentation, fixed in
https://github.com/actions/virtual-environments/pull/4774

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-22 22:14:10 +00:00
github-actions[bot] 99eda5a423 Windows Server 2019 (20211219 update) (#4776)
* Updating readme file for win19 version 20211219.1

* Update rust and rust tools versions

There is an issue with the documentation, fixed in
https://github.com/actions/virtual-environments/pull/4774

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-22 20:51:08 +00:00
Mikhail Timofeev 20705eae35 Change capitalization for Readme name in CI ymls (#4796) 2021-12-22 21:24:04 +03:00
Mark Dorison 4c3e1eb41f Updated broken links to Ubuntu READMEs. (#4795) 2021-12-22 20:18:45 +03:00
github-actions[bot] 5331de8e37 Windows Server 2016 (20211219 update) (#4779)
* Updating readme file for win16 version 20211219.1

* Update rust and rust tools versions

There is an issue with the documentation, fixed in
https://github.com/actions/virtual-environments/pull/4774

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-22 14:44:04 +00:00
Nikolay Frolov 35c775a852 [Windows] Update Finalize-VM (#4791) 2021-12-22 17:42:54 +03:00
Mikhail Timofeev 986530d6bb Skip linter-check for readmes (#4794)
* Exclude readmes from the linter
* Add env variable with exclusion to the linter yml
* Rename Ubuntu readmes to correspond with the other images
* Remove trailing space in ubuntu software generator
* Rename Ubuntu1804-README.md to Ubuntu1804-Readme.md
* Rename Ubuntu2004-README.md to Ubuntu2004-Readme.md
2021-12-22 17:34:53 +03:00
github-actions[bot] f274979207 Updating readme file for ubuntu18 version 20211219.1 (#4771)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-22 09:03:14 +00:00
github-actions[bot] bcce0b93c0 Updating readme file for ubuntu20 version 20211219.1 (#4772)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-22 08:28:06 +00:00
Mikhail Koliada 5aca2192f7 [Ubuntu] get rid of homebrew post-gen script (#4634) 2021-12-22 10:41:15 +03:00
Dibir Magomedsaygitov cfacab19e6 [macOS] Rework PowerShell installation (#4778) 2021-12-22 10:38:22 +03:00
github-actions[bot] d8cbcdfd38 Updating readme file for macOS-10.15 version 20211220.1 (#4785)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-22 06:15:23 +00:00
alex-3sr 99772f4c61 Add EnableHttpsTrafficOnly for storage (#4789) 2021-12-22 09:11:44 +03:00
Mikhail Koliada 6e09f7e132 [Ubuntu] Do not use apt-fast (#4784) 2021-12-21 19:12:15 +03:00
github-actions[bot] 8ad56a1fed Updating readme file for macOS-11 version 20211219.1 (#4775)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-21 09:13:49 +00:00
Mikhail Koliada fa1beee5af [macOS] install X libraries (#4777) 2021-12-20 22:07:41 +03:00
Aleksandr Chebotov 6846f12d42 Initialize rust environment to get software report (#4774) 2021-12-20 17:25:00 +03:00
Mikhail Koliada d2c5a46fcf [Ubuntu] put snapd auto refresh on hold (#4768) 2021-12-19 17:19:29 +03:00
Mikhail Koliada 459c5d1a21 [Ubuntu] list mysql-core dependencies explicitly (#4767) 2021-12-18 20:28:48 +03:00
Mikhail Timofeev b102665470 [macOS] Add xcode 13.2.1 (#4765) 2021-12-18 20:28:32 +03:00
Mikhail Koliada ef47ec38e7 [macOS] install zlib (#4763) 2021-12-17 23:47:47 +03:00
Mikhail Timofeev 36f279b623 Cleanup /root/.cache directory (#4761) 2021-12-17 11:40:04 +03:00
Nikolay Frolov 34a2d68118 [MacOS] Software updates Week 51 (#4756) 2021-12-17 00:05:42 +03:00
Mikhail Timofeev 5d6f295a05 Remove the title and move the block about Azure (#4759) 2021-12-16 21:30:00 +03:00
V-Zabayrachny d9b2265e58 [Windows] Update npm parcel package to v2 (#4742)
* [Windows] Update npm parcel package to v2

* [Windows] Add the parcel to the software report

* [Windows] Add the parcel in tests

* [Windows] Move the function Get-ParcelVersion
2021-12-16 18:37:45 +03:00
github-actions[bot] 2d4cd7ab63 Updating readme file for ubuntu20 version 20211214.2 (#4737)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-16 14:35:21 +00:00
github-actions[bot] 68b46cf15f Updating readme file for win22 version 20211212.1 (#4722)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-16 13:19:57 +00:00
Matt Cooley 6b7e9bec50 [Windows] Add UWP VC++ ARM64 component (#4750) 2021-12-16 16:09:14 +03:00
github-actions[bot] ae91041b90 Updating readme file for win19 version 20211212.1 (#4724)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-16 12:57:50 +00:00
Mikhail Koliada 73d58cc851 [Ubuntu] enable -e bash mode in mysql helper (#4752) 2021-12-16 14:56:33 +03:00
github-actions[bot] a39bc87388 macOS 10.15 (20211212 update) (#4726)
* Updating readme file for macOS-10.15 version 20211212.1

* Add new lines to gcc, gfrotran, clang

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-16 11:08:54 +00:00
Aleksandr Chebotov 192509400a Add TagName param with default value unixtimestamp (#4753) 2021-12-16 13:55:29 +03:00
github-actions[bot] 8d70ee3468 Updating readme file for win16 version 20211212.1 (#4725)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-16 10:10:50 +00:00
github-actions[bot] c042ffc4d7 Updating readme file for ubuntu18 version 20211212.1 (#4730)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-16 09:22:19 +00:00
V-Zabayrachny 30861de4bb [Ubuntu] Update npm parcel package to v2 (#4743)
* [Ubuntu] Update npm parcel package to v2

* [Ubuntu] Add the parcel to the software report

* [Ubuntu] Move the parcel on tools to the software report
2021-12-16 12:07:15 +03:00
Andrew King ff37068951 Update Install-NSIS.ps1 (#4740)
* Update Install-NSIS.ps1

Update NSIS to 3.08

See notes in #4739

* use  in Install-NSIS.ps1, added nsis to toolset files
2021-12-16 10:57:04 +03:00
github-actions[bot] c172738867 macOS 11 (20211211 update) (#4721)
* Updating readme file for macOS-11 version 20211211.1

* Add new lines in GCC, Gfortran, Clang

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-16 07:18:31 +00:00
Mikhail Koliada 9ec86a6e3e [Ubuntu] install mysql init script for sysVinit compatibility (#4736) 2021-12-14 21:46:30 +03:00
Aleksandr Chebotov 44d41e873b [Windows] Remove RustJunction.ps1 post-generation script (#4635)
* Remove RustJunction.ps1 post-generation script
* update rust tests
2021-12-14 18:08:46 +03:00
V-Zabayrachny 573c5aa999 [Windows] Add installer projects to VS on Windows-2022 (#4715)
* [Windows] Add installer projects to VS on windows-2022

* [Windows] Improve the function Install-VsixExtension
2021-12-14 11:31:48 +03:00
Aleksandr Chebotov ea705c4d63 [Windows] Wait Containers installation feature (#4720) 2021-12-13 14:54:37 +03:00
github-actions[bot] 211e6f3c29 Updating readme file for ubuntu20 version 20211209.3 (#4708)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-13 11:16:38 +00:00
Vladimir Safonkin 9c8ba4fede Expand inner arrays in languageAndRuntimeList array (#4714) 2021-12-13 12:49:56 +03:00
github-actions[bot] c44447f874 Updating readme file for ubuntu18 version 20211209.3 (#4709)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-13 09:17:56 +00:00
Aleksandr Chebotov 38877b3256 Add NativeDesktop.Llvm.Clang component (#4717) 2021-12-13 10:52:27 +03:00
Aleksandr Chebotov 6aa5d3704e Delete image before push (#4713) 2021-12-10 13:10:45 +03:00
Marcel Gerber 9d3fcffab4 [Ubuntu] remove --unsafe-perm code for netlify-cli (#4712) 2021-12-10 12:38:30 +03:00
Julian Ospald 1fb7d122d1 Expose ghcup binary to PATH on windows (#4264)
* Expose ghcup binary to PATH on windows

The bootstrap-haskell.ps1 script uses
'[System.EnvironmentVariableTarget]::User' instead of
'[System.EnvironmentVariableTarget]::Machine', so it appears
ghcup env vars and PATH update never make it. Do these manually
for now.

* Set CABAL_DIR and make sure config is adjusted

The config adjustment usually includes adding msys2 directories,
so cabal can find `pkg-config` and libraries, e.g.:

+ C: \ghcup\msys64\mingw64\bin
+ extra-include-dirs: C:\ghcup\msys64\mingw64\include
+ extra-lib-dirs: C:\ghcup\msys64\mingw64\lib
- extra-prog-path: C:\cabal\bin
+ extra-prog-path: C:\ghcup\bin,

* Expose cabal dir to PATH as well

* Use Set-SystemVariable

* Fix tests

* Use hardcoded cabal dir

* Fix bootstrap-haskell

* Move test after installation

* Print ghcup installation message

* Don't adjust cabal.config (to include mingw paths)

This may break setups.
2021-12-10 11:23:44 +03:00
Mikhail Koliada fea7c2e6d1 [Ubuntu] fix software report for mysql (#4699) 2021-12-10 10:27:18 +03:00
Cornelius Riemenschneider 9e30602178 CodeQL: Pull the bundle from codeql-action@v1 rather than main. (#4702)
As github/codeql-action by default uses the bundle from the toolcache,
make sure that that is considered stable.
2021-12-10 10:26:07 +03:00
Aleksandr Chebotov 54bf98dc42 Update the script to support MSGraph (#4701) 2021-12-10 09:56:11 +03:00
Vladimir Safonkin 5e4f5b8898 [Windows] Add grunt-cli to global npm packages on Windows 2022 (#4689) 2021-12-10 00:40:09 +03:00
github-actions[bot] 8aa18c1d57 Updating readme file for win19 version 20211207.2 (#4682)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-09 20:10:17 +00:00
github-actions[bot] f57f6aaf4a Updating readme file for win16 version 20211206.1 (#4676)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-09 17:38:17 +00:00
Maksim Shilov 5f872f77d6 Sorting releases and taking latest (#4703) 2021-12-09 18:39:44 +03:00
github-actions[bot] 8a7123162f macOS 10.15 (20211207 update) (#4692)
* Updating readme file for macOS-10.15 version 20211207.1

* Add new lines to gcc, clang, gfrotran

* Move clang line

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-09 14:10:17 +00:00
Mikhail Timofeev ee0629bfc3 Revert "Updating readme file for ubuntu18 version 20211208.3 (#4697)" (#4704)
This reverts commit 2330c91d00.
2021-12-09 16:56:27 +03:00
github-actions[bot] 2330c91d00 Updating readme file for ubuntu18 version 20211208.3 (#4697)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-09 13:26:34 +00:00
github-actions[bot] 2e01f1d85c Updating readme file for win22 version 20211206.1 (#4673)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-09 11:37:28 +00:00
github-actions[bot] 82bb1e015f macOS 11 (20211207 update) (#4686)
* Updating readme file for macOS-11 version 20211207.1

* Fix markdown for gcc and gfortran

* Remove extra whitespaces

* Fix clang section

* Rearrange clang lines

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-09 08:40:23 +00:00
Mikhail Koliada 4d7a8a0e35 [Ubuntu] do not install mysql 8.x on 18.04 (#4685) 2021-12-08 16:02:06 +03:00
Nikolay Frolov 07a22999fe [Windows] Update Kotlin install (#4645) 2021-12-08 10:39:42 +03:00
Shivam Mathur 7450e2dabe [Windows] upgrade php version to 8.1 (#4680) 2021-12-08 10:38:39 +03:00
Maksim Shilov 89e19af4c9 [MacOS] Add GCC and remove Nomad from MacOS 12 image (#4667)
* Add gcc 11 to macos12

* Remove nomad-shenzhen cli from macos12
2021-12-08 00:35:25 +03:00
Shivam Mathur 05b9e3e79c [Ubuntu] upgrade php version to 8.1 (#4681) 2021-12-07 23:39:17 +03:00
Mikhail Koliada 77f9a979a8 [Ubuntu] Downgrade mysql to 8.0.26 (#4674) 2021-12-07 23:38:14 +03:00
Aleksandr Chebotov 4a8cc99a63 [macos] pester: Replace service status stopped to none (#4677)
* pester: Replace service status stopped to none

* validate stopped or none
2021-12-07 20:05:02 +03:00
Aleksandr Chebotov 57cf70f791 [Anka] Clear LastRecommendedMajorOSBundleIdentifier property (#4675)
* clear LastRecommendedMajorOSBundleIdentifier property

* remove property
2021-12-07 14:30:22 +03:00
Reupen Shah 4828764ba0 [Windows] Add Llvm.Clang component to VS 2022 (#4670) 2021-12-07 13:58:30 +03:00
Aleksandr Chebotov cb6dd7c0e3 Add pause after installation windows features (#4668) 2021-12-06 22:02:12 +03:00
Nikolay Frolov 050efaf52a [Windows] Improve MySQL install (#4646) 2021-12-03 19:49:55 +03:00
V-Zabayrachny d12aeab69c [Windows] Fix markdown in the software report (#4587) 2021-12-03 00:33:38 +03:00
Maksim Shilov ca8169d472 [MacOS] Add software to MacOS 12 image was not available during the Monterey beta stage. (#4644) 2021-12-02 18:35:56 +03:00
github-actions[bot] ddaeaaa8fb Updating readme file for win22 version 20211130.3 (#4642)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-02 13:13:24 +00:00
github-actions[bot] 4638404b13 Updating readme file for macOS-10.15 version 20211126.1 (#4623)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-02 11:03:15 +00:00
github-actions[bot] 23e75abf72 Updating readme file for macOS-11 version 20211127.1 (#4622)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-02 09:14:12 +00:00
Aleksandr Chebotov c50afe27cd [Windows] Add pause after Windows Update (#4641) 2021-12-02 10:56:43 +03:00
github-actions[bot] d0f20ddfa3 Updating readme file for ubuntu20 version 20211129.1 (#4625)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-02 06:53:16 +00:00
github-actions[bot] 91d17b9150 Updating readme file for ubuntu18 version 20211129.1 (#4626)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-02 06:51:13 +00:00
github-actions[bot] 9c7f92e4c3 Updating readme file for win16 version 20211229.2 (#4637)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-01 13:07:11 +00:00
github-actions[bot] 92269a3a22 Updating readme file for win19 version 20211229.2 (#4638)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-12-01 13:01:53 +00:00
Sergey Dolin 6f662479c8 [macOS] Rebuilding Launch Services database (#4588) 2021-12-01 10:58:26 +03:00
Aleksandr Chebotov f4306a6c40 [Windows] zstd: Invoke Move-Item with retry (#4633) 2021-11-30 11:38:03 +03:00
Nikolay Frolov 248e6728a3 [Windows] Update MySQL version to 5.7.36 (#4632) 2021-11-29 22:09:02 +03:00
Mikhail Koliada 4e1be8de7f [macOS] Upgrade php version to 8.1 (#4631) 2021-11-29 22:05:49 +03:00
Nikolay Frolov 884d3e799d [Windows] Add WiX tool for Windows 2022 (#4624) 2021-11-29 18:54:51 +03:00
Nikolay Frolov 340b210bd1 [Windows] Add gulp-cli npm package (#4601) 2021-11-27 12:40:37 +03:00
V-Zabayrachny cb93e86daf [Ubuntu] Update the version Git-lfs (#4607) 2021-11-26 22:26:18 +03:00
Mikhail Koliada 3063eac712 Revert "Add WiX v3 to Windows 2022. (#4448)" (#4604)
This reverts commit 4672cb208d.
2021-11-26 20:37:33 +03:00
Aleksandr Chebotov 978ab79564 [Windows] Invoke Move-Item and Rename-Item with retry after Extract-7Zip (#4598) 2021-11-26 17:49:05 +03:00
Mikhail Koliada af645a7b5e [Ubuntu] get rid of post-gen rust script (#4575) 2021-11-26 12:39:13 +03:00
Mikhail Koliada 8922c7b5bf [Windows] pin mysql release version in toolset (#4590) 2021-11-26 11:52:02 +03:00
Aleksandr Chebotov acc3d7cc0d Remove Dotnet.ps1 post-generation script (#4585) 2021-11-26 10:41:26 +03:00
github-actions[bot] 120fc45b76 Updating readme file for win22 version 20211122.0 (#4570)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-26 00:31:07 +00:00
github-actions[bot] 7a3b442a0b Updating readme file for win16 version 20211122.1 (#4568)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-25 14:30:30 +00:00
github-actions[bot] 446bf8d222 Updating readme file for win19 version 20211122.1 (#4569)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-25 14:22:03 +00:00
Maksim Shilov 81c96d9781 [Windows] Fix Get-LatestChocoPackageVersion (#4581) 2021-11-25 14:24:27 +03:00
github-actions[bot] d7624a5675 Updating readme file for ubuntu20 version 20211122.1 (#4554)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-25 09:19:16 +00:00
github-actions[bot] 7a9ecc2877 Updating readme file for ubuntu18 version 20211122.1 (#4555)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-25 08:10:14 +00:00
V-Zabayrachny 51716d79fa [macOS] Fix markup in the software report (#4579) 2021-11-25 10:20:15 +03:00
Mikhail Koliada 4553146bc7 [macOS] set default nodeJS version to 16 (#4559) 2021-11-24 22:43:00 +03:00
Mikhail Koliada f3f76a29b0 [Windows] set default nodeJS version to 16 (#4560) 2021-11-24 22:42:52 +03:00
Mikhail Koliada a4ba8d2758 [Ubuntu] set default nodeJS version to 16 (#4561) 2021-11-24 22:42:44 +03:00
github-actions[bot] 9c07c3959a Updating readme file for macOS-10.15 version 20211120.1 (#4557)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-24 17:36:51 +00:00
github-actions[bot] aaebcb3658 Updating readme file for macOS-11 version 20211120.1 (#4558)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-24 17:36:18 +00:00
Aleksandr Chebotov 2c9f161957 Remove Choco.ps1 post-generation script (#4576) 2021-11-24 13:53:28 +03:00
Nikolay Frolov 870d8506f2 [Windows] Add Service Fabric SDK to Software Report (#4563) 2021-11-23 21:01:37 +03:00
Mikhail Koliada 0c030e3e07 Revert "[Ubuntu] install libpcre1-8-0 for PHP compat (#4551)" (#4565)
This reverts commit 81d68d49b3.
2021-11-23 12:10:09 +03:00
github-actions[bot] 741076d322 Updating readme file for win16 version 20211115.1 (#4520)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-23 06:39:18 +00:00
github-actions[bot] 1fc7895bd9 Updating readme file for win22 version 20211115.1 (#4512)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-22 17:31:27 +00:00
Ewout ter Hoeven 79dfeeba45 [Windows] Add sbt to Windows 2022 image (#4526)
* [Windows] Add sbt to Windows 2022 image

* Update SoftwareReport.Generator.ps1 to include sbt on Win22
2021-11-22 15:21:03 +03:00
Aleksandr Chebotov 0365a15eb6 Anka disable beta seed (#4564)
* Remove current beta seed program

* format unenroll output
2021-11-22 15:18:46 +03:00
Ewout ter Hoeven 04aeb7bfd4 CI: Run linter only on changes of JSON and MD files (#4527) 2021-11-22 12:36:16 +03:00
V-Zabayrachny be2dc0315b [macOS] Add PHP to the toolset (#4544) 2021-11-21 23:11:18 +03:00
Mikhail Koliada 81d68d49b3 [Ubuntu] install libpcre2-8-0 for PHP compat (#4551) 2021-11-21 19:32:23 +03:00
Mikhail Koliada 2790cecf1f [Ubuntu] Update maven to 3.8.4 (#4550) 2021-11-21 14:47:13 +03:00
Maxim Lobanov d3a5bad25f [Windows] Install Docker-wincred (#4540)
* Add Docker WinCred

* fix getting docker url

* Use Expand-Archive instead of Extract-7Zip since 7zip is not installed yet
2021-11-19 12:44:22 +01:00
Mikhail Koliada f38b217469 [macOS] week 47 software update (#4538) 2021-11-18 18:06:58 +03:00
Aleksandr Chebotov a8096c59ab softwarereport: do not use regex to get version of choco (#4536) 2021-11-18 17:52:27 +03:00
Dibir Magomedsaygitov 5ab1cb345e [macOS] Remove macOS 10.13 related code in the VE repo (#4494) 2021-11-18 17:23:05 +03:00
github-actions[bot] bebaaa653c Updating readme file for macOS-10.15 version 20211114.1 (#4511)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-18 09:32:47 +00:00
github-actions[bot] 152addc1c7 Updating readme file for ubuntu20 version 20211114.1 (#4506)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-18 09:14:43 +00:00
github-actions[bot] 0189f46a2a Updating readme file for ubuntu18 version 20211114.1 (#4505)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-18 09:10:23 +00:00
github-actions[bot] 01570219da Updating readme file for macOS-11 version 20211114.1 (#4514)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-18 08:14:14 +00:00
Aleksandr Chebotov df27520b1f [Windows] Add test to validate windows updates installation (#4489)
* Add test to validate windows updates installation

* Add function Get-WindowsUpdatesHistory
2021-11-16 17:14:17 +03:00
Maksim Shilov 1b583e05e5 [Ubuntu] Pin PostgreSQL version installed in the toolset (#4510)
* Pin PostgreSQL version installed in the toolset

* Source the helpers and resolving comments
2021-11-16 11:48:38 +03:00
Maksim Shilov 4bd3568585 [MacOS] Pin PostgreSQL version installed in the toolset (#4504) 2021-11-16 11:43:59 +03:00
Maksim Shilov ff41a760f0 [Windows] Pin PostgreSQL version installed in the toolset (#4492) 2021-11-16 11:38:03 +03:00
V-Zabayrachny d3e74a5d7d [Windows] Add PHP to the toolset (#4493) 2021-11-16 11:32:09 +03:00
Maxim Lobanov 06c90a3200 [Ubuntu] Chmod known directories (#4509)
* chmod known directories

* nit space
2021-11-15 18:35:50 +01:00
Mikhail Koliada d09b1f8f9c [Ubuntu] add maven back to toolset (#4507) 2021-11-15 14:51:38 +03:00
Mikhail Koliada fad30aa851 [Windows] move llvm to toolset (#4487) 2021-11-15 12:54:35 +03:00
Mikhail Koliada 6dc8234648 [macOS] Remove node version 10.x (#4477) 2021-11-12 21:43:33 +03:00
Mikhail Timofeev ff555147fd Add wasm.tools component to VS2022 (#4490) 2021-11-12 15:51:50 +03:00
Mikhail Timofeev c025446a95 [macOS] Pin mongodb version to 5.0 (#4484) 2021-11-12 11:00:19 +03:00
Mikhail Timofeev dec1d799e0 [Ubuntu] Pin mongodb version to 5.0 (#4483) 2021-11-12 11:00:03 +03:00
Mikhail Timofeev fa7f7eac99 [Windows] Pin mongodb to 5.0 (#4482)
* [Windows] pin mongodb to 5.0
* Change version argument to include "="
2021-11-12 10:59:53 +03:00
github-actions[bot] d6a789cbef Updating readme file for win22 version 20211109.2 (#4454)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-11 15:59:19 +00:00
Dibir Magomedsaygitov 47a60e0776 [Windows] Upgrade Selenium server version from 3 to 4 (#4473) 2021-11-11 18:21:51 +03:00
V-Zabayrachny f8c50c93b5 [Windows] Add MySQL to the toolset (#4435) 2021-11-11 17:18:39 +03:00
github-actions[bot] 60dcd87ff3 Updating readme file for win16 version 20211109.0 (#4453)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-11 13:35:22 +00:00
Mikhail Koliada bd3faa0011 [Windows] Remove node version 10.x (#4478) 2021-11-11 16:34:25 +03:00
Maksim Shilov d127e51bf4 [MacOS] Pin MongoDB to the specific version defined in the toolset (#4452)
* Define mongodb version installed in the toolset
* Searching for latest version of a tool based on a toolset version
2021-11-11 16:14:27 +03:00
Mikhail Timofeev 68e428c4d2 Perform a full clone of vcpkg instead of depth=1 (#4476) 2021-11-11 16:13:05 +03:00
Mikhail Timofeev e5e8cc59dd Add miniconda to windows 2022 image (#4467) 2021-11-11 15:27:09 +03:00
Dibir Magomedsaygitov 10ea71465c [macOS] Upgrade Selenium server version from 3 to 4 (#4474)
* upgrade selenium version from 3 to 4
* add test
2021-11-11 14:57:18 +03:00
Mikhail Koliada 5d89a3805e [Ubuntu] Remove node version 10.x (#4475) 2021-11-11 13:40:57 +03:00
Mikhail Timofeev 0ddb8a2302 [Windows] Use Get-LatestChocoPackageVersion to get nodejs version to install (#4469)
* Use Get-LatestChocoPackageVersion to get nodejs
* Fix typo in Send-RequestToChocolateyPackages
2021-11-11 13:13:07 +03:00
github-actions[bot] 08024941c3 Updating readme file for win19 version 20211110.1 (#4460)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-11 09:56:09 +00:00
Nikolay Frolov 71b8207a59 [Ubuntu] Change source of n tool to official (#4455) 2021-11-11 12:47:29 +03:00
Robert Schumacher 206a818319 Perform a full clone of vcpkg instead of depth=1 (#4272)
The vcpkg versioning feature relies on retrieving information from its git repository history. This means users need a deep clone.
2021-11-11 11:54:32 +03:00
Dibir Magomedsaygitov 63998e0de1 upgrade selenium version from 3 to 4 (#4472) 2021-11-11 11:53:00 +03:00
Mikhail Koliada 9ebc095c4a [macOS] move llvm to toolset (#4457) 2021-11-11 11:23:05 +03:00
Maksim Shilov fef060bec8 [Windows] Pin MongoDB to the specific version defined in the toolset (#4418) 2021-11-10 21:43:42 +03:00
Mikhail Timofeev 596859266e Remove node10 docker images from ubuntu toolsets (#4461) 2021-11-10 20:56:23 +03:00
Maksim Shilov 41c947a8f0 [Ubuntu] Pin MongoDB to the specific version defined in the toolset (#4447) 2021-11-10 19:30:25 +03:00
Mikhail Timofeev 44b6734000 Remove Xcode13 beta & set Xcode 13.1 as default (#4456) 2021-11-10 17:11:29 +03:00
github-actions[bot] 4f8049546e Updating readme file for ubuntu20 version 20211108.1 (#4440)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-10 12:35:07 +00:00
Bob Arnson 4672cb208d Add WiX v3 to Windows 2022. (#4448)
Move WiX to tools and stop installing WiX Votive VSIX, which isn't
needed for build.
2021-11-10 14:38:26 +03:00
github-actions[bot] 48df2547e7 Updating readme file for macOS-10.15 version 20211106.1 (#4433)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-10 11:15:49 +00:00
github-actions[bot] 80864b592c Updating readme file for ubuntu18 version 20211108.1 (#4441)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-10 10:33:07 +00:00
github-actions[bot] a672a9157e Updating readme file for macOS-11 version 20211106.1 (#4434)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-10 10:10:53 +00:00
Mikhail Timofeev a6b29e3206 Change channel from pre to release for VS22 (#4451) 2021-11-10 00:00:18 +03:00
Bob Arnson 881dbcfda3 Fix typo in helpers/GenerateResourcesAndImage.ps1. (#4449) 2021-11-09 19:31:20 +03:00
Nikolay Frolov 58ce149ebf [MacOS] Rework NodeJS install (#4380) 2021-11-09 17:49:30 +03:00
Nikolay Frolov fa41b676c7 [Win] Rework NodeJS install (#4406) 2021-11-09 17:18:30 +03:00
Mikhail Timofeev 8fd74ebe0f Revert "[macOS] install vcpkg from specific commit (#4389)" (#4439)
This reverts commit 706a7ae6d3.
2021-11-08 16:52:37 +03:00
Aleksandr Chebotov 11464d5288 Revert "[Ubuntu] build vcpkg from specific commit (#4386)" (#4438)
This reverts commit 60d2208f88.
2021-11-08 15:54:37 +03:00
Maksim Shilov 488fa42385 [Windows] Slight rework of the PyPy installation (#4392) 2021-11-08 15:05:55 +03:00
Zachary Cook c4eeb9c782 Optional passthru of AllowBlobPublicAccess (#4425) 2021-11-08 14:45:41 +03:00
Jay W 49a7578313 [ubuntu] Fix swift installation (#4429) 2021-11-07 19:07:58 +03:00
github-actions[bot] aec3886d58 Updating readme file for win16 version 20211102.4 (#4412)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-04 03:24:10 +00:00
github-actions[bot] 869b0cccd4 Updating readme file for win19 version 20211102.4 (#4413)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-04 03:22:24 +00:00
github-actions[bot] 748a4b8ede Updating readme file for win22 version 20211102.4 (#4414)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-03 20:23:12 +00:00
Dibir Magomedsaygitov 1678e31616 software updates week 55 (#4417) 2021-11-03 19:53:53 +03:00
Aleksandr Chebotov 05c460a0b6 Set Microsoft Defender Antivirus to passive mode (#4415) 2021-11-03 16:14:29 +03:00
github-actions[bot] abdba31f29 Updating readme file for ubuntu18 version 20211101.1 (#4396)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-03 12:38:19 +00:00
github-actions[bot] c48fcf4fe8 Updating readme file for macOS-11 version 20211029.3 (#4387)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-03 10:01:56 +00:00
github-actions[bot] f65a6fd6e9 Updating readme file for macOS-10.15 version 20211029.1 (#4388)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-03 09:11:06 +00:00
github-actions[bot] 0c599134ad Updating readme file for ubuntu20 version 20211101.1 (#4395)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-11-03 08:46:58 +00:00
Mikhail Timofeev 5b6883ef72 Add 32-bit version of python to win19 & win22 (#4405) 2021-11-02 22:50:27 +03:00
Maksim Shilov 0363026f15 Removing go versions less than 1.15 (#4407) 2021-11-02 22:10:01 +03:00
Maksim Shilov cd5e5fc286 Removing go versions less than 1.15 - macos (#4409) 2021-11-02 21:32:26 +03:00
V-Zabayrachny f4296db032 Fix software report for azure-cli (#4401) 2021-11-02 19:29:24 +03:00
Maksim Shilov 064daaefd9 Removing go versions less than 1.15 - linux (#4408) 2021-11-02 19:28:27 +03:00
Aleksandr Chebotov 30a08e95b2 Pin Docker EE to 20.10.7 version (#4404) 2021-11-02 17:53:34 +03:00
Maksim Shilov 0aa021402c [MacOS] Slight rework of the PyPy installation (#4394) 2021-11-02 17:26:25 +03:00
Maksim Shilov c1838780e9 [Ubuntu] Slight rework of the PyPy installation (#4381) 2021-11-02 17:26:03 +03:00
Mikhail Koliada 3230c42476 [Windows] make choco dummy call for currently installed version (#4410) 2021-11-02 17:01:28 +03:00
Aleksandr Chebotov ffc388200c Revert "Docker service does not start on Windows Server (#4397)" (#4403) 2021-11-02 13:56:54 +03:00
Aleksandr Chebotov 3a5b9591bc Docker service does not start on Windows Server (#4397) 2021-11-02 01:25:25 +03:00
Mikhail Koliada 706a7ae6d3 [macOS] install vcpkg from specific commit (#4389) 2021-11-01 18:35:29 +03:00
Mikhail Timofeev a0ac40903e Schedule macOS-12 builds (#4393) 2021-11-01 17:58:03 +03:00
Dibir Magomedsaygitov 228c4f45e7 add android-ndk-latest-home env variable on ubuntu18 (#4385) 2021-11-01 17:14:51 +03:00
Mikhail Koliada 60d2208f88 [Ubuntu] build vcpkg from specific commit (#4386) 2021-11-01 14:04:07 +03:00
Nikolay Frolov 5f33b32a1e [Linux] Rework NodeJS install (#4378) 2021-10-30 14:56:36 +03:00
Nikolay Frolov 234919982e [Windows] Rework NodeJS install (#4375) 2021-10-30 14:03:05 +03:00
Mikhail Timofeev 64b553b5d0 [macOS] Install stable Xcode clt for Monterey (#4382) 2021-10-30 13:05:59 +03:00
Dibir Magomedsaygitov ecbbec3330 [macOS] Pin Selenium to 3.141.59 version (#4359) 2021-10-30 03:27:10 +03:00
V-Zabayrachny e66f7c0790 [Ubuntu] fix software report for azure-cli (#4379) 2021-10-29 18:41:09 +03:00
Maksim Shilov 7901cb5ade [windows] Adding pypy 3.8 to toolset (#4364) 2021-10-29 18:38:49 +03:00
Maksim Shilov 41690119db [MacOS] Adding PyPy 3.8 to toolsets (#4366) 2021-10-29 18:38:12 +03:00
Mikhail Koliada 82583b9f01 [macOS] Software Updates 2021 Week 44 (#4374) 2021-10-29 18:37:20 +03:00
Dibir Magomedsaygitov 3ab5292583 move selenium version output to the browsers sector (#4377) 2021-10-29 17:26:06 +03:00
Dibir Magomedsaygitov d502c64087 [Ubuntu] Rework Selenium installation (#4308) 2021-10-29 16:55:01 +03:00
Mikhail Timofeev f5d2b977cd Add Xcode 13.2 to macOS 11 & 12 (#4363) 2021-10-29 16:45:56 +03:00
Mikhail Koliada 1457fb6402 [Ubuntu] fix apt http headers and proxy settings (#4368) 2021-10-29 11:46:56 +03:00
Maksim Shilov 029139e1b7 [Ubuntu] Adding pypy 3.8 to toolset to Ubuntu 20.04 (#4365) 2021-10-29 11:22:51 +03:00
Mikhail Timofeev 43d7228dce Add node 16 to the macOS toolcache (#4352) 2021-10-29 09:00:26 +03:00
Mikhail Timofeev b8c5b5f3f0 [macOS] Avoid installing preview android platform versions (#4372) 2021-10-29 01:16:26 +03:00
Mikhail Timofeev 2e47a52b7e [Ubuntu] Avoid installing preview android platform versions (#4371) 2021-10-29 01:15:55 +03:00
Dibir Magomedsaygitov 1b3870ab40 [Windows] Rework Selenium installation (#4309) 2021-10-28 22:17:05 +03:00
Mikhail Timofeev 7d905024ff Add node 16 to toolcache + docker images (#4353) 2021-10-27 19:23:59 +03:00
Mikhail Timofeev 733c34d93a Add node 16 to the toolcache (#4354) 2021-10-27 19:23:50 +03:00
Nikolay Frolov 4eb1b7986d Add jazzy tool to MacOS 10.14 - 12 (#4348) 2021-10-27 16:48:10 +03:00
Ralph Jansen a8f97f0023 Update module to latest version (#4349) 2021-10-27 14:45:01 +03:00
Maksim Shilov 76e359f806 Add VC.14.29.16.11 and VC.Runtimes.ARM64.Spectre to VS2022 (#4344) 2021-10-27 14:12:22 +03:00
Aleksandr Chebotov 479e40b202 Remove default values from Anka packer template (#4346) 2021-10-27 11:06:13 +03:00
Dibir Magomedsaygitov 2d46e3f4d9 [Ubuntu] Remove Ubuntu16 related code from the VE repository (#4336) 2021-10-26 15:30:59 +03:00
Aleksandr Chebotov 1f97f5de37 [Windows] Add NSIS to Windows Server 2022 (#4326) 2021-10-26 14:16:20 +03:00
Aleksandr Chebotov c353eee691 anka: replace test_vm to TemplateName (#4339) 2021-10-25 19:47:26 +03:00
Aleksandr Chebotov 77e299148d [Windows] Do not use M2_HOME env var to get mvn path (#4333)
* Do not use M2_HOME env var to get mvn path

* use Get-MachinePath to get mvn path
2021-10-25 16:30:47 +03:00
Aleksandr Chebotov 283bac3995 Fix Ruby permissions (#4322) 2021-10-22 14:24:31 +03:00
github-actions[bot] db36e4a622 Updating readme file for win16 version 20211018.0 (#4304)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-21 21:04:56 +00:00
github-actions[bot] 94c5dcadbd Updating readme file for win19 version 20211018.0 (#4306)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-21 15:23:12 +00:00
Mikhail Timofeev 479bc3f1ea Add symlink for Xcode 12.5 (#4321) 2021-10-21 17:53:30 +03:00
github-actions[bot] ec7fba496f Updating readme file for win22 version 20211018.0 (#4305)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-21 11:46:59 +00:00
github-actions[bot] ebd938338b Updating readme file for ubuntu20 version 20211017.0 (#4294)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-21 10:36:17 +00:00
github-actions[bot] 31f235d1c0 Updating readme file for ubuntu18 version 20211017.0 (#4293)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-21 10:00:52 +00:00
github-actions[bot] c9e59704eb Updating readme file for macOS-10.15 version 20211016.1 (#4295)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-21 08:03:23 +00:00
Aleksandr Chebotov 219d11cbd1 Fix PyPy permissions (#4317) 2021-10-21 09:29:45 +03:00
github-actions[bot] 335de74085 Updating readme file for macOS-11 version 20211018.1 (#4303)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-20 17:17:37 +00:00
Jeff Josephson 7512554102 fix(chromium): Fix for chromium using very low base position (#4315) 2021-10-20 16:06:42 +03:00
Mikhail Timofeev f4fbe6e36f Remove Ubuntu 16.04 from templates (#4313) 2021-10-20 00:37:29 +03:00
Aleksandr Chebotov ae930f132c win2019: enable use of test-signed code (#4296) 2021-10-19 12:58:41 +03:00
Mikhail Timofeev 8c93fad835 Add Xcode 13.1 to macOS 11 & 12 (#4301) 2021-10-19 11:22:08 +03:00
github-actions[bot] 3be6d05f1b Updating readme file for macOS-10.14 version 20211016.1 (#4290)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-18 17:13:13 +00:00
Aleksandr Chebotov fc586bcfb8 [Windows] pypy: update select condition (#4291) 2021-10-18 15:10:02 +03:00
Drew Skwiers-Koballa 0ebc9a7c16 update dacfx to 18.8 (#4266) 2021-10-17 10:40:10 +03:00
Ralph Jansen 823f2db325 Add Microsoft Graph PowerShell SDK (#4274) 2021-10-15 21:15:42 +03:00
Mikhail Timofeev 6f4486a3fe Add windows11.22000 SDK to VS2022 (#4285) 2021-10-15 18:45:50 +03:00
Aleksandr Chebotov b5373b2c29 Anka Software Updates (#4256)
* Anka Software Updates

* allow to set up video contoller
2021-10-15 14:32:29 +03:00
Dibir Magomedsaygitov 12b8bece91 [Ubuntu] Pin Selenium to 3.141.59 version (#4279) 2021-10-15 11:40:54 +03:00
Dibir Magomedsaygitov e6679307f9 [Windows] Pin Selenium to 3.141.59 version (#4276) 2021-10-15 11:36:47 +03:00
github-actions[bot] 7c1a240d2b Updating readme file for win16 version 20211011.0 (#4260)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-14 14:43:58 +00:00
Aleksandr Chebotov 7e90162def [Windows] revert PR3766 (#4278) 2021-10-14 16:27:30 +03:00
github-actions[bot] 5690fb5b41 Updating readme file for win19 version 20211011.0 (#4261)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-14 13:22:07 +00:00
Nikita Bykov 64937b9944 [macOS] Add GOROOT env variables (#4220) 2021-10-14 14:42:34 +03:00
Dibir Magomedsaygitov 3ec2449ade set xcode 13.0 as default and remove xcode 12.5 (#4258) 2021-10-14 14:37:56 +03:00
github-actions[bot] 66869761de Updating readme file for macOS-11 version 20211011.3 (#4262)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-14 10:48:35 +00:00
github-actions[bot] a660d07171 Updating readme file for win22 version 20211011.0 (#4259)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-14 10:21:43 +00:00
github-actions[bot] 15ec3a848d Updating readme file for ubuntu18 version 20211011.1 (#4250)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-14 09:08:19 +00:00
github-actions[bot] 5061a95c85 Updating readme file for ubuntu20 version 20211011.1 (#4251)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-14 08:56:52 +00:00
github-actions[bot] a527c05b15 Updating readme file for macOS-10.15 version 20211011.2 (#4263)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-14 08:45:02 +00:00
Aleksandr Chebotov b8c61a14bc utils: silently ignore records that would violate (#4267) 2021-10-13 11:37:28 +03:00
Mikhail Timofeev b9c994fd6c [macOS] Add python 3.10 to the toolcache (#4254) 2021-10-11 16:42:35 +03:00
Mikhail Timofeev 5425b6cf3d Add python 3.10 to the toolcache (#4253) 2021-10-11 16:39:02 +03:00
Mikhail Timofeev 9f43e68092 Ubuntu add python 3.10 to the toolcache (#4252) 2021-10-11 13:59:45 +03:00
Dibir Magomedsaygitov e4546d3d53 [Windows] Add missing VS2022 components (#4239) 2021-10-09 19:46:34 +03:00
Mikhail Timofeev cf96490586 [Windows] Install the latest available azure-cli msi package (#4242) 2021-10-09 16:51:33 +03:00
Dmitry Shibanov 2913bd7060 remove code duplicate for Get-PHPVersio (#4231) 2021-10-08 13:35:16 +03:00
github-actions[bot] c610e2cb29 Updating readme file for win16 version 20211003.1 (#4215)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-07 13:49:53 +00:00
github-actions[bot] 2cf3cc7bf5 Updating readme file for win19 version 20211003.2 (#4216)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-07 09:50:26 +00:00
github-actions[bot] fb6be2f59d Updating readme file for win22 version 20211003.1 (#4214)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-07 09:22:41 +00:00
github-actions[bot] 196a731891 Updating readme file for ubuntu20 version 20211004.1 (#4218)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-07 08:04:04 +00:00
github-actions[bot] 801fa37b76 Updating readme file for ubuntu18 version 20211004.1 (#4219)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-07 08:02:28 +00:00
github-actions[bot] 09f644cdcd Updating readme file for macOS-10.15 version 20211002.1 (#4212)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-07 00:02:21 +00:00
github-actions[bot] e3040198f1 Updating readme file for macOS-11 version 20211001.1 (#4224)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-06 23:58:55 +00:00
Aleksandr Chebotov 9ff76f18b9 [Windows] wdk: remove iso installer (#4232) 2021-10-06 18:47:15 +03:00
Aleksandr Chebotov 3264ac55cf vs: revert $vsInstallRoot (#4234) 2021-10-06 13:44:09 +03:00
CrazyMax 1400689a45 [Ubuntu] docker: add buildkit image (#4227)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-05 17:07:46 +03:00
josetr fdcef883c3 Initialize Visual Studio Experimental Instance on the correct user (#4223) 2021-10-05 10:29:39 +03:00
Aleksandr Chebotov c161416ac8 Revert "[Ubuntu] java: do not use the github tag release (#4182)" (#4213)
This reverts commit 1d91563139.
2021-10-04 10:19:24 +03:00
Mikhail Koliada 4119a5acc8 [MacOS] Restore openssl-1.1.x symlink (#4206) 2021-10-02 13:08:07 +03:00
github-actions[bot] cf63ebf55d Updating readme file for macOS-11 version 20210927.2 (#4159)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-01 14:34:36 +00:00
github-actions[bot] 011b3bd05d Updating readme file for macOS-10.15 version 20210927.1 (#4161)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-10-01 13:38:43 +00:00
Mikhail Timofeev b665bad57b Install compose v1 and v2 alongside (#4203) 2021-10-01 12:33:34 +03:00
Aleksandr Chebotov 9c5cf733d9 packer: add pause after windows update (#4192) 2021-09-30 20:17:00 +03:00
Aleksandr Chebotov 6f39c8aef0 [macOS] Software Updates 2021 Week 40 (#4194) 2021-09-30 20:15:27 +03:00
github-actions[bot] a908240ead Updating readme file for win19 version 20210928.2 (#4177)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-30 14:31:07 +00:00
github-actions[bot] 1885bf35ef Updating readme file for win16 version 20210927.1 (#4165)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-30 14:14:07 +00:00
github-actions[bot] 26333688ed Updating readme file for win22 version 20210927.1 (#4164)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-30 13:36:17 +00:00
github-actions[bot] ead91b9496 Updating readme file for ubuntu20 version 20210929.1 (#4185)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-30 12:32:27 +00:00
github-actions[bot] 95ee5e0c6d Updating readme file for ubuntu18 version 20210929.1 (#4184)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-30 11:23:16 +00:00
Dibir Magomedsaygitov ecfad34b30 [Ubuntu] Downgrade git-lfs version to 2.13.3 (#4168) 2021-09-29 18:37:33 +03:00
Mikhail Koliada 051de33461 [Windows] Add new component to VS22 (#4181) 2021-09-29 15:31:14 +03:00
Aleksandr Chebotov 1d91563139 [Ubuntu] java: do not use the github tag release (#4182) 2021-09-29 14:58:06 +03:00
Aleksandr Chebotov 2070ce9b07 [Ubuntu] set docker-compose v1 (#4176) 2021-09-29 10:55:11 +03:00
Aleksandr Chebotov b930b3d9d8 [Windows] win: add vcredist 2010 test (#4160) 2021-09-29 09:40:01 +03:00
Mikhail Timofeev efcefca087 Revert "[Windows OS] Include Microsoft Game Development Kit (GDK) to image" (#4162) 2021-09-28 16:03:39 +03:00
josetr 1e7e6749a5 Fix Visual Studio Experimental Instance Initialization (#4143) 2021-09-28 11:30:00 +03:00
Mikhail Koliada 9bb6c3297b [MacOS] Do not install latest OpenSSL (#4154) 2021-09-28 11:24:02 +03:00
Mikhail Koliada 3d52ccd527 [MacOS] add Temurin-Hotspot to MacOS 12 (#4155) 2021-09-27 22:57:51 +03:00
Maksim Shilov 40b0efb287 PathHelpers: Dealing with hardcoded registry paths and optimizing code (#4125) 2021-09-27 12:11:20 +03:00
Darleev 82a0226a27 [macOS 11] anka template (#3990) 2021-09-27 12:03:26 +03:00
MaksimZhukov 60685cb0e1 Revert "update software week 39 (#4135)" (#4148) 2021-09-26 18:32:42 +03:00
Dibir Magomedsaygitov 45df250473 fix aliyun-cli installation (#4147) 2021-09-25 19:10:58 +03:00
Dmitry Shibanov bf1cae6dcf Add macOS 12 image templates (#4062) 2021-09-24 13:56:16 +03:00
Mikhail Koliada ee4eda5e99 [Windows] Add Adoptium (Temurin-Hotspot) jdk 17 LTS (#4129) 2021-09-24 11:05:25 +03:00
Dibir Magomedsaygitov 93b173e9cb update software week 39 (#4135) 2021-09-23 20:33:47 +03:00
github-actions[bot] 4f4c0e4ad0 Updating readme file for macOS-10.15 version 20210919.1 (#4118)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-23 14:41:06 +00:00
Mikhail Koliada bfc5bd5cc3 [MacOS] Add Adoptium (Temurin-Hotspot) jdk 17 LTS (#4128) 2021-09-23 16:52:53 +03:00
github-actions[bot] 41c6b5d6ca Updating readme file for win16 version 20210919.1 (#4114)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-23 13:35:40 +00:00
Nikita Bykov fabf527ea8 [Windows] Add android NDK r23 (#4100) 2021-09-23 13:33:28 +03:00
Darleev 59f8fd1e62 [macOS] Anka script for clean macOS generation. (#4028) 2021-09-23 12:25:03 +03:00
github-actions[bot] 55e7e1101b Updating readme file for ubuntu18 version 20210919.1 (#4111)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-23 09:22:03 +00:00
github-actions[bot] 43a9344f7e Updating readme file for ubuntu20 version 20210919.1 (#4110)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-23 09:20:25 +00:00
github-actions[bot] 65b91cc62b Updating readme file for win19 version 20210920.1 (#4122)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-23 09:16:53 +00:00
Henti Smith c97e29c514 Add LLVM via choco (#4056) 2021-09-23 11:52:11 +03:00
Mikhail Timofeev f59c79f259 [macOS] Simpify ghcup code to use "ghcup whereis basedir" (#4127) 2021-09-22 19:36:54 +03:00
Julian Ospald 0d16297bf7 [Ubuntu] Simplify ghcup code (#4126) 2021-09-22 19:32:16 +03:00
Mikhail Koliada 75380ebaa3 [MacOS] Add Adoptium to Java installer (#4116) 2021-09-22 15:38:39 +03:00
github-actions[bot] f30be61034 Updating readme file for win22 version 20210920.1 (#4115)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-22 09:42:37 +00:00
Aleksandr Chebotov 597a99bdce az: update Az 6.1.0 -> 6.4.0 (#4124) 2021-09-22 11:22:16 +03:00
github-actions[bot] c8da80b532 Updating readme file for macOS-10.14 version 20210918.1 (#4117)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-21 09:58:20 +00:00
Nikolay Frolov 63894956a1 [MacOS] Add SBT (#4101) 2021-09-21 12:49:59 +03:00
MaksimZhukov 23a859a9bc Update Android NDK policy in the Software and image guidelines (#4119) 2021-09-21 10:17:50 +03:00
github-actions[bot] 819cd8e740 Updating readme file for macOS-11 version 20210917.1 (#4109)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-20 18:53:17 +00:00
Maksim Shilov 0bcacd4c92 Measure and output installing and downloading durations (#4104) 2021-09-20 16:20:56 +03:00
Nikita Bykov ef2db470d9 [Ubuntu] Add android NDK r23 (#4073) 2021-09-20 13:35:44 +03:00
Nikita Bykov bd5288c7c2 [macOS] Improve haskell setup (#4071)
Freeing up disk space on macOS by removing docs and profiling libs of GHC.
2021-09-20 13:13:00 +03:00
Maksim Shilov ebedfbc739 [Windows OS] Include Microsoft Game Development Kit (GDK) to image (#4097) 2021-09-20 13:06:52 +03:00
MaksimZhukov 9fe940e8a3 [macOS] Install Xcode 13 beta along with 13 stable (#4102) 2021-09-18 01:10:15 +03:00
github-actions[bot] e036d6c4f3 Updating readme file for macOS-10.15 version 20210914.1 (#4088)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-16 22:04:49 +00:00
github-actions[bot] 21fd64672f Updating readme file for win22 version 20210914.2 (#4092)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-16 18:14:17 +00:00
github-actions[bot] 243bf51a68 Updating readme file for ubuntu20 version 20210913.1 (#4068)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-16 17:46:29 +00:00
github-actions[bot] c630409d0e Updating readme file for ubuntu18 version 20210913.1 (#4067)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-16 17:06:04 +00:00
github-actions[bot] b913c5ba87 Updating readme file for win19 version 20210914.2 (#4091)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-16 13:22:23 +00:00
Aleksandr Chebotov 5a73d60641 [Windows] win2022: enable use of test-signed code (#4098) 2021-09-16 15:58:40 +03:00
github-actions[bot] 46cf736fbe Updating readme file for win16 version 20210914.2 (#4090)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-16 10:22:54 +00:00
github-actions[bot] bab55a4319 Updating readme file for macOS-11 version 20210914.4 (#4087)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-16 09:35:51 +00:00
Dibir Magomedsaygitov ecfc9c43da [Windows] Rework Kotlin installation (#4083) 2021-09-16 11:35:11 +03:00
Julian Ospald db5e4084fe Fix unnecessary /usr/bin/ghc symlink (#4095) 2021-09-16 10:06:33 +03:00
Nikolay Frolov a380bfdd24 Remove alpine:3.11 docker image from ubuntu 18.04 and 20.04 (#4093) 2021-09-15 22:57:58 +03:00
Nikita Bykov 65da2f8781 [macOS] Add Android NDK r23 (#4032) 2021-09-15 10:14:42 +03:00
Mikhail Koliada d639badcd6 [Windows] Bind openssl.light version to 1.1.1.x (#4082) 2021-09-14 21:16:32 +03:00
Nikolay Frolov 2bc9ec209c [Windows] Add VC.Tools.ARM and VC.Tools.ARM64 Visual Studio components (#4081) 2021-09-14 21:15:32 +03:00
Aleksandr Chebotov 22728c3dbd Revert "[macOS] Install cargo-audit 0.14.1 as 0.15.0 is broken (#3820)" (#4074) 2021-09-14 09:59:35 +03:00
Aleksandr Chebotov 0b3a4c4bdb Revert "[Windows] Install cargo-audit 0.14.1 as 0.15.0 is broken" (#4076) 2021-09-14 09:59:22 +03:00
mikhailshaganov 746cfcca9a [Windows] Fix ndk output version (#4058) 2021-09-13 18:42:19 +03:00
Aleksandr Chebotov a675a54759 Revert "[Ubuntu] Install cargo-audit 0.14.1 as 0.15.0 is broken (#3821)" (#4072) 2021-09-13 16:13:22 +03:00
Mikhail Timofeev eddf4a0208 Revert "[macOS] Software Updates 2021 Week 37 - Update Mono to 6.12.0.140 ver… (#4050)" (#4070) 2021-09-13 12:36:49 +03:00
Aleksandr Chebotov 5de032f30d [Windows] mysql: bump mysql version (#4059) 2021-09-11 23:47:49 +03:00
Aleksandr Chebotov 1326521a2a toolset: update to az 6.4 (#4061) 2021-09-10 22:32:42 +03:00
Julian Ospald ee69b89103 Use ghcup to install GHC on linux and remove docs and profiling libs (#4043) 2021-09-10 16:17:15 +03:00
Julian Ospald a9ac553edd Install ghcup on windows (#4044) 2021-09-10 16:16:54 +03:00
Mikhail Koliada 06eef92e40 [MacOS] fix python installation order (#4052) 2021-09-10 16:15:45 +03:00
Dibir Magomedsaygitov d022b0d6a8 [macOS] Move Ruby and Go versions to toolset (#4046) 2021-09-10 14:41:17 +03:00
Mikhail Koliada 045e638562 [Windows] Add adoptium to javatools installer (#3985) 2021-09-10 12:26:11 +03:00
github-actions[bot] d1d592805b Updating readme file for win19 version 20210907.4 (#4038)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-09 21:05:53 +00:00
github-actions[bot] a886e1c394 Updating readme file for win16 version 20210907.1 (#4039)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-09 20:11:34 +00:00
Aleksandr Chebotov 038e9cfcd8 [macOS] Software Updates 2021 Week 37 - Update Mono to 6.12.0.140 ver… (#4050)
* [macOS] Software Updates 2021 Week 37 - Update Mono to 6.12.0.140 version

* add issues/21180 link
2021-09-09 19:01:12 +03:00
Dmitry Shibanov 39051ea4cf [macOS] Move global npm packages to toolset macOS (#4047) 2021-09-09 18:53:11 +03:00
github-actions[bot] de98c474f3 Updating readme file for win22 version 20210907.1 (#4029)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-09 15:43:46 +00:00
Michael Kriese 9277e9fb5f Windowsd Server 2022: prepull docker images (#4040) 2021-09-09 15:36:30 +03:00
github-actions[bot] baabb70137 Updating readme file for ubuntu20 version 20210906.1 (#4024)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-09 08:29:06 +00:00
Aleksandr Chebotov 1052083f04 [Windows] win-wdk: install WDK 11 (#4014) 2021-09-09 10:46:21 +03:00
github-actions[bot] 06659e17fd Updating readme file for ubuntu18 version 20210906.1 (#4025)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-09 07:26:34 +00:00
Aleksandr Chebotov 4b8d98922a doc: add wsl info section for win22 (#4041) 2021-09-08 15:44:10 +03:00
github-actions[bot] 3a8831b648 Updating readme file for macOS-10.15 version 20210905.2 (#4022)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-08 10:36:53 +00:00
Aleksandr Chebotov 8bbd74620a winpacker: add extra reboot step (#4037) 2021-09-08 13:30:30 +03:00
EdJoPaTo 414bcfb61a [Ubuntu] docker: add debian bullseye images (#4003)
With the release of Debian bullseye more and more containers are
migrating from buster to bullseye.
2021-09-08 13:29:41 +03:00
Nikita Bykov f2fdcef0e0 [macOS] Improve configure-tccdb-macos11 script (#4002) 2021-09-08 09:58:52 +03:00
Mikhail Timofeev ea7f3caa06 Add docker images to list of tools (#4030) 2021-09-08 09:50:43 +03:00
Maxim Lobanov 4394e4414f [macOS] Activate "Allow Remote Automation" Safari option during image generation (#3996)
* Move logic to activate "Allow Remote Automation" from base image to image gen scripts

* add shebang
2021-09-07 10:56:55 +03:00
Aleksandr Chebotov 19717dd758 [Windows] Skip Edge installation for windows-2022 (#4027) 2021-09-06 18:58:11 +03:00
github-actions[bot] 3703015712 Updating readme file for win19 version 20210903.7 (#4019)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-06 15:12:12 +00:00
jpark37 5d8cf1a6a9 Use 20348 SDK/WDK for windows-2019/2022 images (#3942) 2021-09-06 17:08:45 +03:00
github-actions[bot] 4cb373c912 Updating readme file for macOS-11 version 20210905.2 (#4021)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-09-06 13:11:29 +00:00
MaksimZhukov 7546c7f36a [Windows] Change .NET SDK pre-installation policy (#4007) 2021-09-06 09:45:16 +03:00
MaksimZhukov efc4153250 [macOS] Change .NET SDK pre-installation policy (#4008) 2021-09-05 12:46:44 +03:00
yuk7 9aea7d589e Add Go 1.17 to all OSes toolsets (#3980) 2021-09-05 12:45:02 +03:00
Aleksandr Chebotov 6968a424be pester: remove Nuget.Config test (#4015) 2021-09-03 17:05:14 +03:00
Aleksandr Chebotov d261844fc2 [Windows] postdotnet: delete nuget.conf if exists (#4013)
* postdotnet: delete nuget.conf if exists

* rename to $nugetConfigPath

* add nuget.config check test

* remove issue link
2021-09-03 14:02:30 +03:00
github-actions[bot] aa3d80baa9 Updating readme file for win22 version 20210901.3 (#4004)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-03 09:55:51 +00:00
github-actions[bot] ec9ac010f1 Updating readme file for win16 version 20210901.3 (#4005)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-03 07:12:07 +00:00
github-actions[bot] cd2d385433 Updating readme file for macOS-10.15 version 20210831.3 (#4001)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-03 06:07:02 +00:00
github-actions[bot] 126faeedce Updating readme file for macOS-11 version 20210831.3 (#4000)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-02 09:20:50 +00:00
github-actions[bot] e2a6bc04d3 Updating readme file for ubuntu18 version 20210831.9 (#3991)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-09-02 07:47:52 +00:00
github-actions[bot] ac3304726e Updating readme file for ubuntu20 version 20210831.9 (#3992)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-09-02 07:44:10 +00:00
Aleksandr Chebotov a8c8a73ad1 [Ubuntu] homebrew: remove double quotes around env vars (#3984) 2021-08-30 11:55:56 +03:00
Dibir Magomedsaygitov d2c7eb1dfa [Windows] Remove exact maven version to install (#3975) 2021-08-30 09:54:10 +03:00
Dibir Magomedsaygitov 1cbea05824 [Ubuntu] Rework Maven installation (#3973)
* rework maven installation

* resolve issues

* resolve issue with extracting latest maven version
2021-08-27 22:43:29 +03:00
Aleksandr Chebotov 4f6ba63ac7 updates: move Install-WindowsUpdates.ps1 at the top to fix winrm timeout (#3971) 2021-08-27 17:44:45 +03:00
Dmitry Shibanov 3b94fc1d86 [Windows] Add Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre (#3968) 2021-08-27 14:32:07 +03:00
Darleev 82d0cf5316 [macOS 11] changed default Xcode version to 12.5.1 (#3966) 2021-08-27 09:52:51 +03:00
Aleksandr Chebotov 5aa96839a8 [Windows] win: add validation InstalledSoftware.md and testResults.xml files (#3960)
* win: add validation InstalledSoftware.md file
2021-08-27 09:38:18 +03:00
Vladimir Safonkin ca51829236 Try org token to request reviewers for update image PR (#3965) 2021-08-26 15:46:31 +03:00
Darleev 9d76ecf422 added logs verbosity (#3964) 2021-08-26 15:30:52 +03:00
Darleev c97ae47147 [macOS 11] Fix for invalid link to release and software report (#3954) 2021-08-25 11:57:13 +03:00
Aleksandr Chebotov 557fce161e [Ubuntu] scripts: move invoke_tests at the bottom (#3950) 2021-08-24 13:45:49 +03:00
Dibir Magomedsaygitov 22087b3c7a [Windows] Add Visual Studio component (#3946) 2021-08-23 19:51:55 +03:00
Maxim Lobanov be3b041223 Update readme with Windows Server 2022 info (#3951)
* update readme with Windows Server 2022 info

* fix comments
2021-08-23 19:47:08 +03:00
Vladimir Safonkin 747a0410cd Fix workflow step to request PR reviewers (#3948) 2021-08-23 16:24:32 +03:00
github-actions[bot] 5e6bfa08e2 Updating readme file for win22 version 20210819.7 (#3947)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-08-23 13:20:00 +03:00
Maxim Lobanov a2d76d2a0e Add Windows Server 2022 image templates (#3929)
* add windows2022 image template

Co-authored-by: Aleksandr Chebotov <v-aleche@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com>
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
2021-08-23 11:13:14 +03:00
Aleksandr Chebotov 20584a4394 win/selenium: Download selenium-server-standalone.jar from GitHub (#3940) 2021-08-20 16:55:04 +03:00
Aleksandr Chebotov c81312dfa7 selenium: Download selenium-server-standalone.jar from GitHub releases (#3939) 2021-08-20 15:13:27 +03:00
Mikhail Timofeev accd6d0278 Add configure-tccdb-macos11 script (#3933) 2021-08-19 20:49:31 +03:00
github-actions[bot] c706ecc11c Updating readme file for win19 version 20210815.1 (#3905)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-19 13:29:49 +00:00
github-actions[bot] 385bbfb9aa Updating readme file for win16 version 20210815.1 (#3907)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-19 13:19:59 +00:00
Pavlo Golub 3c63be16f6 PostgreSQL not Postgre SQL (#3931)
https://wiki.postgresql.org/wiki/Postgres
2021-08-19 13:54:18 +03:00
Aleksandr Chebotov ea51727852 doc: rename kotlin to Kotlin (#3932) 2021-08-19 13:21:44 +03:00
github-actions[bot] ca34695b7a Updating readme file for ubuntu20 version 20210816.1 (#3898)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-19 08:34:04 +00:00
github-actions[bot] 355c60bf7d Updating readme file for ubuntu18 version 20210816.1 (#3899)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-19 08:08:26 +00:00
github-actions[bot] 9be0acc5ac Updating readme file for macOS-10.15 version 20210814.1 (#3901)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-19 06:31:00 +00:00
Ryan 8f1e4ff32f [Ubuntu] add aria2 to toolset (#3916)
aria2 is already installed as part of https://github.com/actions/virtual-environments/blob/133db654885e1796cc158ab04f9217826294857a/images/linux/scripts/base/apt.sh#L29
This change will add aria2 to the list of apt packages in generated README
2021-08-18 13:35:29 +03:00
Aleksandr Chebotov e9edf6552f Remove eval statement (#3920) 2021-08-18 11:57:22 +03:00
Mikhail Timofeev 9a9885aa73 Change the message as macos11 is GA in GH (#3912) 2021-08-17 22:45:20 +03:00
Vladimir Safonkin a98af57cf3 Request Akvelon team as reviewers for image update pull requests (#3915) 2021-08-17 22:24:17 +03:00
github-actions[bot] 83fcc4aeab Updating readme file for macOS-10.14 version 20210814.1 (#3904)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-17 16:43:08 +00:00
Maxim Lobanov 133db65488 Move WSL installation to toolsets (#3906) 2021-08-17 17:57:09 +03:00
Aleksandr Chebotov 5b7a0eee31 Add HOMEBREW_SHELLENV_PREFIX env (#3908) 2021-08-17 11:43:19 +03:00
github-actions[bot] cabf79fd20 Updating readme file for win16 version 20210810.1 (#3882)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-16 12:46:06 +00:00
github-actions[bot] 42c5c6179c Updating readme file for macOS-11 version 20210814.1 (#3900)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-16 11:58:51 +00:00
github-actions[bot] cf4e62dadd Updating readme file for win19 version 20210810.1 (#3883)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-16 08:54:17 +00:00
github-actions[bot] 773f039501 Updating readme file for ubuntu18 version 20210810.1 (#3879)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-12 19:56:45 +00:00
github-actions[bot] f924b2ced6 Updating readme file for macOS-10.15 version 20210808.1 (#3876)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-12 10:49:03 +00:00
github-actions[bot] f365613a9d Updating readme file for ubuntu20 version 20210810.1 (#3880)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-12 08:35:54 +00:00
github-actions[bot] 7617695f30 Updating readme file for macOS-11 version 20210808.1 (#3877)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-11 09:54:02 +00:00
Aleksandr Chebotov a64db791f3 disable network discovery popup (#3875) 2021-08-10 17:24:51 +03:00
Ryan dcb58dee7a fix: escape tilde operator (#3868)
Prevents markdown to interpret it as 'strike down' style when 2 or more tilde operators appear
2021-08-09 11:59:59 +03:00
Mikhail Koliada b56230f342 [Linux] install.sh: make the IsPackageInstalled function definition consistent (#3864)
* linux/../../install.sh: make the IsPackageInstalled function definition consistent
2021-08-06 18:25:52 +03:00
Mikhail Koliada 7c15777588 LICENSE: update year (#3863) 2021-08-06 15:13:14 +03:00
Alena Sviridenko 6113166f05 Change Ubuntu 16.04 usage terms (#3862) 2021-08-06 11:45:11 +03:00
Julien Marrec 99fa3a3396 Add aria2 (aria2c) to Windows (#3795) 2021-08-05 18:16:04 +03:00
Maxim Lobanov 71a9049e38 [Windows] Fix platform conditions by adding brackets (#3856) 2021-08-05 07:26:07 +03:00
Maxim Lobanov 8481b2c846 [Windows] Improve Visual Studio installation scripts to support Preview versions (#3850)
* Support Preview versions of Visual Studio

* resolve comments

* Fix test

* fix tests
2021-08-04 22:35:44 +03:00
Aleksandr Chebotov b5a7a67456 Add update login keychain parameter (#3853) 2021-08-04 18:42:06 +03:00
github-actions[bot] c4bf59ecda Updating readme file for win19 version 20210803.1 (#3845)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-04 13:26:57 +00:00
github-actions[bot] aebdf07fa9 Updating readme file for win16 version 20210802.1 (#3835)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-04 09:27:58 +00:00
mikhailshaganov 5ece292613 [windows] Add Kotlin (#3784) 2021-08-04 12:19:55 +03:00
github-actions[bot] 33004045dd Updating readme file for ubuntu20 version 20210803.0 (#3846)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-04 08:03:41 +00:00
github-actions[bot] 04752cb309 Updating readme file for ubuntu18 version 20210803.5 (#3844)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-04 07:49:36 +00:00
Leonid Lapshin e7ca52b564 [Ubuntu] Reworked clang installation to use default Ubuntu repo (#3834) 2021-08-04 10:45:59 +03:00
github-actions[bot] b36d7c3960 Updating readme file for macOS-10.15 version 20210801.1 (#3830)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-04 06:49:32 +00:00
Maxim Lobanov 3b5c4ebd39 [Windows] Implement minor improvements, rev 2 (#3839)
* implement minor improvements

* Update Install-WDK.ps1

* fix nitpick
2021-08-04 09:35:16 +03:00
github-actions[bot] 924ebc40d1 Updating readme file for macOS-10.14 version 20210731.1 (#3848)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-08-03 22:28:29 +00:00
Maxim Lobanov f93413492e [Windows] Move Windows features to toolset (#3838)
* move windows features to toolset

* Update WindowsFeatures.Tests.ps1

* revert templates
2021-08-03 20:17:31 +03:00
github-actions[bot] c960549cb1 Updating readme file for macOS-11 version 20210801.1 (#3831)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-08-03 16:02:00 +00:00
Aleksandr Chebotov 0768aa2d0d [Ubuntu] Expand oc only in openshift installation (#3841) 2021-08-03 15:30:56 +03:00
Maxim Lobanov 32184fd850 [Windows] Clean up and simplify Windows templates (#3833)
* improve InitializeVM script

* Update windows2019.json

* remove configs

* resolve comments

* resolve comments; fix order

* fix templates

* move Node.js packages to toolset

* dotnet warmup and merge docker scripts

* clean up templates

* move template

* fix dotnetTLS order
2021-08-03 11:56:52 +03:00
Dibir Magomedsaygitov 7c1956be8a [Ubuntu] Fix kubectl installation (#3836)
* fix kubectl installation
2021-08-02 22:11:44 +03:00
Dibir Magomedsaygitov e9a8f1dac7 [Ubuntu] Fix GraalVM installation to retrieve latest version (#3832) 2021-08-02 16:12:26 +03:00
Maxim Lobanov 892ada55d5 [Windows] Docker, .NET Core and NPM improvements (#3811)
* improve InitializeVM script

* Update windows2019.json

* remove configs

* resolve comments

* resolve comments; fix order

* fix templates

* move Node.js packages to toolset

* dotnet warmup and merge docker scripts

* Update Node.Tests.ps1

* Update Install-Docker.ps1

* fix node.js tests

* fix npm package installation

* Update Install-NodeLts.ps1

* fix tests

* fix test
2021-08-01 15:10:59 +03:00
Aleksandr Chebotov b28c62d3f1 [Windows] Use default msys2 installer (#3819)
* Use default msys2 installer

* Use default msys2 installer

* Revert "[Windows] cargo-audit 0.15.0 is broken, stick to 0.14.1 (#3822)"

This reverts commit 0b37a50b57.

* merge
2021-07-31 17:24:54 +03:00
Mikhail Timofeev 799c7a79cf [Ubuntu] Install cargo-audit 0.14.1 as 0.15.0 is broken (#3821)
* Version 0.15.0 is broken, stick to 0.14.1

* Install cargo-audit without locked
2021-07-30 22:06:02 +03:00
Mikhail Timofeev 76c0efb5eb [macOS] Install cargo-audit 0.14.1 as 0.15.0 is broken (#3820)
* Hardcode 0.14.1 as 0.15.0 is broken

* Install cargo-audit without locked
2021-07-30 22:05:48 +03:00
Mikhail Timofeev 2d9cc77844 [windows] Install cargo-audit 0.14.1 as 0.15.0 is broken (fix) (#3824)
* Install cargo-audit without locked
2021-07-30 22:05:33 +03:00
Mikhail Timofeev 0b37a50b57 [Windows] cargo-audit 0.15.0 is broken, stick to 0.14.1 (#3822) 2021-07-30 11:58:05 +03:00
github-actions[bot] d4a2126d25 Updating readme file for win16 version 20210725.1 (#3790)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-29 19:07:25 +00:00
github-actions[bot] b82bdafea6 Updating readme file for win19 version 20210725.1 (#3789)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-29 15:12:53 +00:00
mikhailshaganov 6317ee607b [mac OS] adding kotlin lang using brew (#3777) 2021-07-29 17:21:09 +03:00
github-actions[bot] f04052e064 Updating readme file for macOS-10.15 version 20210725.1 (#3794)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-29 13:55:13 +00:00
Mikhail Timofeev 52d30ac08c [macOS] Fix xcode installation script if there is only one Xcode version to install (#3808)
* Cast xcodeVersions variable to array
2021-07-29 16:15:45 +03:00
github-actions[bot] 96965b9b75 Updating readme file for ubuntu20 version 20210726.1 (#3793)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-29 10:11:39 +00:00
github-actions[bot] 7c425c26ab Updating readme file for ubuntu18 version 20210726.1 (#3792)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-29 09:09:00 +00:00
Maxim Lobanov 2e8f85a83b [Windows][Improvement] Split and simplify "InitializeVM.ps1" script (#3806)
* improve InitializeVM script

* Update windows2019.json

* remove configs

* resolve comments

* resolve comments; fix order

* fix templates
2021-07-29 10:46:27 +03:00
github-actions[bot] 7b1d76227c Updating readme file for macOS-11 version 20210724.1 (#3788)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-27 07:31:55 +00:00
github-actions[bot] 277b40b48c Updating readme file for macOS-10.14 version 20210724.1 (#3791)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-07-26 15:45:02 +00:00
Mikhail Timofeev 55fe7979f2 Revert "Stick mongodb version to 4.4.7 (#3747)" (#3775) 2021-07-22 17:40:48 +03:00
Aleksandr Chebotov c7cfdf2683 [macOS] Update MongoDB to version 5 (#3772) 2021-07-22 17:31:36 +03:00
Aleksandr Chebotov 99c8d003d4 [Ubuntu] Update MongoDB to version 5 (#3776) 2021-07-22 14:32:48 +03:00
mikhailshaganov 966395f4bd [Ubuntu] Add kotlin (#3755) 2021-07-22 11:31:30 +03:00
Aleksandr Chebotov 05781ccad0 [Windows] Add GVFS (Git Virtual File System) (#3766)
* Add GVFS (Git Virtual File System)
* invoke all tests from git file
2021-07-22 10:32:13 +03:00
Mikhail Timofeev 9400af6b30 [Ubuntu] Install yq to /usr/bin (#3768)
* Installation to /usr/local/bin break some workflows
2021-07-21 16:15:34 +03:00
Ryan 09920886d1 [ubuntu] fix: correct variable to print only tool name (#3767)
it was broken in #3701
2021-07-21 14:58:59 +03:00
github-actions[bot] 9db2160d1e Ubuntu 2004 (20210718 update) (#3743)
* Updating readme file for ubuntu20 version 20210718.1

* Add MongoDB announcement

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-21 11:43:15 +00:00
Aleksandr Chebotov f7158e2805 [macOS] Disable App Nap System Wide (#3765) 2021-07-21 14:11:34 +03:00
github-actions[bot] a2b7ff271c Updating readme file for win19 version 20210719.0 (#3756)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-21 10:27:17 +00:00
github-actions[bot] c4a2a7484c Updating readme file for win16 version 20210719.0 (#3760)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-21 09:55:29 +00:00
github-actions[bot] aa5c34a60d Ubuntu 1804 (20210718 update) (#3744)
* Updating readme file for ubuntu18 version 20210718.1

* Add MongoDB announcement

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-21 08:54:48 +00:00
Mikhail Timofeev 08d7091533 Remove platform-tools from toolset (#3761)
* Platform-tools is installed along with any version of build-tools, there is no need to install it explicitly
2021-07-20 22:37:48 +03:00
github-actions[bot] 61f5fe8de5 Updating readme file for macOS-10.15 version 20210718.2 (#3750)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-20 09:19:20 +00:00
github-actions[bot] a13f2630dc macOS 11 (20210718 update) (#3748)
* Updating readme file for macOS-11 version 20210718.3

* Add MongoDB announcement

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-20 07:38:07 +00:00
Mikhail Timofeev 47c20dcaa3 Stick mongodb version to 4.4.7 (#3747)
* Version 5 potentially contains breaking changes.
Stick to 4.4.7 and announce changes before upgrading to it.
2021-07-19 20:24:04 +03:00
Chris Patterson a62b2ca9db Merge pull request #3754 from actions/chrispat-patch-1
Remove module manifest header
2021-07-19 11:35:19 -04:00
Chris Patterson 1e9bfea57b Update ImageHelpers.psd1 2021-07-19 11:21:46 -04:00
Chris Patterson 0976659f92 Remove module manifest header
Removing the module manifest header to prevent licensing confusion with overall repository.
2021-07-19 10:41:29 -04:00
Darleev 6637167579 [Ubuntu] Added HTTP status code check to download_with_retries (#3721)
* Disable exit on error temporary to implement retry logic based on exit code
* Check HTTP response code and retry if it's not 200
* Make variables local to not interfere with other scripts

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2021-07-19 11:29:53 +03:00
Darleev 6576bc7f78 [macOS] Added HTTP status code check to download_with_retries (#3716)
* Disable exit on error temporary to implement retry logic based on exit code
* Check HTTP response code and retry if it's not 200
* Make variables local to not interfere with other scripts

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2021-07-19 11:29:23 +03:00
github-actions[bot] 11a951ee60 Updating readme file for macOS-10.15 version 20210712.4 (#3724)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-16 22:59:45 +00:00
Mikhail Timofeev 5d206765aa Use python3 to install aws-cli V1 (#3740)
* Starting from version 1.20 aws-cli dropped python2 support
2021-07-16 18:40:26 +03:00
Mikhail Timofeev 8f8dfb1bcf Disable schedule as Ubuntu16 is deprecated (#3741) 2021-07-16 17:25:43 +03:00
github-actions[bot] 55e0391007 Updating readme file for ubuntu18 version 20210712.0 (#3718)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-16 09:17:23 +00:00
github-actions[bot] b15732aa86 Updating readme file for ubuntu20 version 20210712.0 (#3717)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-16 08:58:27 +00:00
Leonid Lapshin 836dd6f083 [Ubuntu] Fix npm global modules installation (#3734)
* fixed directories permissions

* local bin permissions

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2021-07-16 10:55:47 +03:00
github-actions[bot] 13b1855134 Updating readme file for win19 version 20210711.1 (#3712)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-15 13:45:59 +00:00
github-actions[bot] 84ee9f7202 Windows Server 2016 (20210711 update) (#3713)
* Updating readme file for win16 version 20210711.1

* removed android-27 from google apis list

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-15 13:36:21 +00:00
Yann Jouanique 5161c257a2 [ubuntu] Install yq (#3646) 2021-07-15 12:21:48 +03:00
github-actions[bot] ad358c8eb8 Updating readme file for macOS-11 version 20210712.4 (#3723)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-14 10:54:38 +00:00
Aleksandr Chebotov 8aac9e60c0 [Ubuntu] Update ansible-base to ansible-core (#3711)
Update ansible-base 2.10 to ansible-core 2.11 for Ubuntu images
2021-07-14 12:23:24 +03:00
Mikhail Timofeev e139c6d581 [macOS] Skip Intel HAXM installation on BigSur (#3698)
* Remove HAXM installation as it doesn't work on Big Sur
* Change test to validate successful kext load
* Add HAXM to software report
2021-07-14 10:02:12 +03:00
Mikhail Timofeev a914ed2f95 [Windows] Fix image generation error related to zipped az modules (#3720) 2021-07-13 10:41:55 +03:00
Mikhail Timofeev 7149c03bd2 Fix Get-AndroidGoogleAPIsVersions function output (#3715)
* The current condition retrieves a system image android 27 for win16
2021-07-13 09:32:41 +03:00
Dibir Magomedsaygitov cfffe35709 [Windows] Upgrade Azure PowerShell from 5.9.0 to 6.1.0 (#3676)
* Add 6.1.0 to windows images
* Zip 5.9.0 version
2021-07-12 20:17:32 +03:00
Dibir Magomedsaygitov 75e8ea0593 [macOS] Upgrade azure powershell from 5.9.0 to 6.1.0 (#3677) 2021-07-12 18:27:04 +03:00
Dibir Magomedsaygitov 2ebf8e46f3 [Ubuntu] Upgrade Azure PowerShell from 5.9.0 to 6.1.0 (#3675)
* upgrade azure powershell from 5.9.0 to 6.1.0 on ubuntu images
* zip 5.9.0 version
2021-07-12 18:26:04 +03:00
Tobias Chen 52b67da785 [Ubuntu] Remove hardcoded toolsToInstall from script (#3701) 2021-07-12 16:54:04 +03:00
Hai Cao 7fe7393aa2 [Ubuntu] Add SqlPackage (#3700)
* [Ubuntu] Add SqlPackage

* Address comments
2021-07-12 10:59:56 +03:00
Nikita Bykov 8a77fdb2a1 [Windows] Move choco installation list into toolset (#3688)
* Move choco installation list into toolset

* Add a condition to Install-CommonUtils.ps1

* Rename tests and revert Bazel to single script

* Return Install-Bazel.ps1 to windows2016.json and windows2019.json

* Remove condition and Write-Host command from Install-CommonUtils.ps1

* Reset Install-Bazel.ps1 to be the same as in main

* Update choco.common_packages in toolset-2016.json and toolset-2019.json

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-07-08 16:23:07 +03:00
Marcus Felling e8381d7db3 [macOS] Adding Bicep CLI (#3655)
* Add Bicep CLI

* Correct regex for bicep version

* Add Bicep CLI

* use tap path for bicep brew install

* use tap path for bicep brew install

* use tap path for bicep brew install

* Update bicep package name

* Update bicep package name

* Update bicep package name

* Add install script in order to run homebrew tap

* no need to reference utils.sh

* Remove bicep from common packages

* Add "CLI" to Bicep return statement

Co-authored-by: Marcus Felling <MarcusFelling@microsoft.com>
2021-07-07 17:10:31 +03:00
Mikhail Timofeev f1ab1bd12f [Ubuntu] Switch android tools installation to use sdkmanager from command-line tools (#3650)
* Switch android tools installation to cmdline-tools
* Replace deprecated sdkmanger from sdk-tools to the one from cmdline tools
* Remove patcherv4 from toolsets as it's included in m2repository extras

* Add tests to make sure both sdkmanagers exist

* Return cmdline-tools to software readme
* Get-AndroidInstalledPackages function now use list_installed param
* Create a function to get sdkmanager version = cmdline tools version

* Get rid of hardcoded path to ANDROID_HOME
* Add reloadEtcEnvironment call to installation script
* Use env variable ANDROID_HOME in tests

* Modify software report to output any version

* Change regex pattern to output the group
* Currently the function returns 4. instead of 4.0, this change fixes it
2021-07-07 15:16:46 +03:00
Mikhail Timofeev 6e7af98600 [Windows] Switch android tools installation to use cmdline-tools' sdkmanager (#3682)
* Switch android installation to use cmdline-tools
* Rename update-android sdk to install-android sdk as for the other OSs
* Remove cmdline-tools installation from toolset as it's installed
* Regenerate licenses for the new sdkmanager
* Add tests to check that both sdkmanagers are available
* Simplify Get-AndroidInstalledPackages function to use list_installed

* Resolve nitpicks from @AlenaSviridenko
* Add extra lines to separate comments from the code
* Remove extra line after $androidNDKs

* Modify software report to output any version number

* Change regex pattern to output the group
* Currently the function returns 4. instead of 4.0, this change fixes it
2021-07-07 15:16:35 +03:00
Mikhail Timofeev cc3405ff7a [macOS] Switch android tools installation to use cmdline-tools' sdkmanager (#3686)
* Switch android installation to use cmdline-tools
* Switch android-toolsets and xamarin-android-ndk to use new sdkmanager
* Remove cmdline-tools installation from toolset as it's installed
* Remove redundant steps with warning prevention
* Remove hardcoded licenses as they are accepted during the installation
* Add tests to check that both sdkmanagers are available
* Simplify Get-AndroidInstalledPackages function to use list_installed

* Change regex pattern to output the group
* Currently the function returns 4. instead of 4.0, this change fixes it
2021-07-07 15:16:23 +03:00
github-actions[bot] 7d0d3aa82a Updating readme file for win16 version 20210628.1 (#3668)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-01 18:11:39 +00:00
github-actions[bot] 332b6bdabd Updating readme file for win19 version 20210628.1 (#3667)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-01 17:13:45 +00:00
github-actions[bot] 5ae2170ebe Updating readme file for macOS-10.15 version 20210626.1 (#3662)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-07-01 11:01:18 +00:00
github-actions[bot] 7ffed57438 Updating readme file for ubuntu20 version 20210628.1 (#3665)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-30 08:47:42 +00:00
github-actions[bot] f785d3355f Updating readme file for ubuntu18 version 20210628.1 (#3664)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-30 06:37:02 +00:00
Leonid Lapshin de7775d901 [windows] Improve MSYS2 installation (#3652) 2021-06-29 11:59:03 +03:00
Alena Sviridenko 24387bf8e6 Migrate issue templates to .yml (#3659)
* Added issue yml templates

* Fixed yml syntax

* Removed md templates

* updated tool request template

* fixed windows 2016 naming and bug report dropdown

* Styling and wording fixes

* Added validation requirements

* removed empty issue check

* Removed issue triager
2021-06-29 11:51:23 +03:00
github-actions[bot] cd920950ec Updating readme file for win19 version 20210620.1 (#3625)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-28 22:01:56 +00:00
github-actions[bot] 19d5b9fcef Updating readme file for macOS-10.14 version 20210626.1 (#3657)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-28 15:26:36 +00:00
github-actions[bot] 851f0dfc31 Updating readme file for macOS-11 version 20210626.1 (#3658)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-06-28 14:23:38 +00:00
Mikhail Timofeev 20804bc30f Remove bicep from software docs and tests for ub16 (#3656) 2021-06-28 10:58:28 +03:00
Mikhail Timofeev c3f3d8325f Revert "Updating readme file for ubuntu20 version 20210621.1 (#3623)" (#3654) 2021-06-26 11:22:49 +03:00
github-actions[bot] 83c974ff84 Updating readme file for win16 version 20210620.1 (#3624)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-25 17:29:27 +00:00
Mikhail Timofeev 8ebae96a7c Remove Xcode 12.2&12.3 from macos Big Sur toolset (#3653) 2021-06-25 18:28:19 +03:00
github-actions[bot] c103d79bd1 Updating readme file for ubuntu20 version 20210621.1 (#3623)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-24 19:09:51 +00:00
Darleev 059dfd8e75 [macOS 11] software update week 26 (#3648)
* software update week 26

* returned previous mono version
2021-06-24 18:55:51 +03:00
github-actions[bot] 405a368b22 Updating readme file for ubuntu18 version 20210621.1 (#3622)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-24 08:48:57 +00:00
Marcus Felling dd399bcab4 [Ubuntu] Adding Bicep CLI (#3639)
* Add Bicep CLI to Ubuntu images

* Use helper download_with_retries

* remove bicep from deprecated 16.04 image

* formatting

Co-authored-by: Marcus Felling <MarcusFelling@microsoft.com>
2021-06-24 11:13:00 +03:00
Mikhail Timofeev 9e21ab0f00 Return xcode 12.5 to macos Big Sur (#3635) 2021-06-23 22:20:09 +03:00
Marcus Felling 1a96373918 [Windows] Adding Bicep CLI (#3600)
* Add Bicep CLI

* Correct regex for bicep version

Co-authored-by: Marcus Felling <MarcusFelling@microsoft.com>
2021-06-23 17:52:45 +03:00
Drew Skwiers-Koballa d986b255ca Update Dacfx 18.7.1 (#3608)
* update dacfx to 18.5.1

* update dacfx 18.7.1 Windows

* update dacfx 18.7.1 Windows

* revert MD changes
2021-06-22 22:14:00 +03:00
github-actions[bot] a13c907aaf Updating readme file for macOS-10.15 version 20210620.1 (#3626)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-22 14:17:47 +00:00
Alena Sviridenko 43b77cd2a0 updated Xcode support policy (#3637) 2021-06-22 13:37:53 +03:00
Mikhail Timofeev 4e6b32793f Add xcode 12.5.1 to macos-11 image (#3629) 2021-06-22 11:36:14 +03:00
Maxim Lobanov 83f05ed56f Fix macOS 11 label (#3633) 2021-06-22 10:21:36 +03:00
github-actions[bot] efcbf00263 Updating readme file for macOS-11 version 20210620.1 (#3628)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-06-21 19:23:53 +00:00
Mikhail Timofeev 83a5e887f4 Revert "Don't install KB5003638 update as it breaks the VM (#3557)" (#3627)
This reverts commit ff4ba2e725.
2021-06-21 20:02:32 +03:00
Mikhail Timofeev 1fb8c5d6a1 [Windows] Improve Pester tests coverage for MSYS2 (#3595)
* Add ShouldReturnZeroExitCodeWithParam function and a new set of tests for MSYS2 tools

* Change get-command -> Get-Command

* Remove elevated user, return original path after msys installation and tests, resolve nitpicks

* Add BeforeEach and AfterEach blocks
These blocks change the path before each test
and return the original path after each test

* Change get-command -> Get-Command
2021-06-21 14:09:51 +03:00
Sujith Quintelier 4143d0cc7b Update GenerateResourcesAndImage.ps1 (#3616)
Ubuntu2004 is also a valid option for parameter ImageType
2021-06-21 14:06:00 +03:00
Aleksandr Chebotov b03244bee3 [macOS] Upgrade Xamarin.Android from 11.3.0.1 to 11.3.0.4 (#3603) 2021-06-18 16:28:09 +03:00
github-actions[bot] e9b07beb47 Updating readme file for win19 version 20210616.0 (#3602)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-18 09:23:23 +00:00
Aleksandr Chebotov 0b6b04be64 Fix Java_Adopt_Jdk permissions (#3605) 2021-06-18 10:26:34 +03:00
github-actions[bot] 82fa8f2880 Updating readme file for macOS-10.15 version 20210612.1 (#3584)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-17 22:46:27 +00:00
github-actions[bot] cae9ecba81 Updating readme file for ubuntu20 version 20210614.1 (#3579)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-17 15:29:15 +00:00
github-actions[bot] b52cf39f62 Updating readme file for win16 version 20210614.1 (#3589)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-17 11:12:10 +00:00
github-actions[bot] 1eb3d364c3 Updating readme file for ubuntu18 version 20210614.1 (#3580)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-17 07:54:37 +00:00
github-actions[bot] 9f07fcc536 Updating readme file for macOS-11 version 20210614.1 (#3587)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-06-16 07:41:46 +00:00
github-actions[bot] 7e05e372ed Updating readme file for win16 version 20210609.1 (#3559)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-14 17:47:39 +00:00
github-actions[bot] bb728f4d07 Updating readme file for win19 version 20210608.0 (#3554)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-14 14:15:37 +00:00
Mikhail Timofeev 4416d54d30 [Ubuntu] Remove php installation, tests and software docs for Ubuntu 16 (#3541)
* Remove php installation, tests and software docs for Ubuntu 16

* Add openssl 1.1.1k installation as python toolcache depends on it

* Add a comment about openssl installation on Ubuntu 16
2021-06-10 22:33:08 +03:00
Mikhail Timofeev 6c587ebe5d [macOS] Upgrade Xamarin ios and mac versions from .1 to .3 (#3564) 2021-06-10 21:34:49 +03:00
Mikhail Timofeev fd620b053f [macOS] Upgrade azure powershell from 5.7.0 to 5.9.0 on macOS images (#3563) 2021-06-10 21:34:17 +03:00
Mikhail Timofeev 49967f8712 [ubuntu] Change azure ps module from 5.7.0 to 5.9.0 for Ubuntu 18 & 20 (#3562) 2021-06-10 21:33:43 +03:00
Mikhail Timofeev edd787f61b [Windows] Upgrade az powershell module from 5.7.0 to 5.9.0 (#3561)
* Add az ps module 5.9.0 to the windows images, move 5.7.0 to zip

* Remove 5.7.0 from zip version as it's usage is low based on the telemetry
2021-06-10 21:33:10 +03:00
github-actions[bot] 9888238327 Updating readme file for ubuntu20 version 20210606.1 (#3533)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-10 16:19:27 +00:00
github-actions[bot] 9ffd5d8858 Updating readme file for ubuntu18 version 20210606.1 (#3532)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-10 16:03:55 +00:00
Sergey Dolin 24ae664aed [ubunty] Add note about LLVM repo (#3523)
* Add LLVM libc++ info

* combine clang, clang-format into LLVM components

* fix formatting

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2021-06-10 11:21:02 +03:00
Sergey Dolin a9d832d671 [ubuntu] installing the latest .NET sdk patch version for every feature version (#3550)
* installing the latest patch version for every feature version

* simplify versions computing

* fix space

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2021-06-10 11:17:30 +03:00
Mikhail Timofeev ff4ba2e725 Don't install KB5003638 update as it breaks the VM (#3557) 2021-06-10 09:19:50 +03:00
github-actions[bot] 6afff5d0d9 Updating readme file for macOS-10.15 version 20210607.1 (#3547)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-09 10:41:06 +00:00
Mikhail Timofeev b8c7eb863a Switch the default Xcode version from 12.4 to 12.5 for macOS Big Sur (#3545) 2021-06-09 12:46:07 +03:00
github-actions[bot] f66433eafa Updating readme file for macOS-11 version 20210608.6 (#3553)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-06-09 07:33:51 +00:00
Darleev f66fa579e8 [ubuntu] post generation doc update (#3539) 2021-06-08 11:36:08 +03:00
Mikhail Timofeev a56b10c364 Revert mono version from 6.12.0.140 to 6.12.0.125 (#3543) 2021-06-08 10:44:41 +03:00
Mikhail Timofeev 4da3c8eef9 Add blackhole audiodevice for macOS Big sur, add sox and Switchaudio-osx versions to the docs (#3542) 2021-06-08 10:44:31 +03:00
Mikhail Timofeev 2ae7ebddab Add Xcode 13.0 to macOS Big Sur image (#3540) 2021-06-08 10:44:17 +03:00
Mikhail Timofeev 395eb43c2b Added a condition for the $binGhcPath to not depend on the exact Haskell version (#3537) 2021-06-07 20:49:36 +03:00
github-actions[bot] 638ad60fbd Updating readme file for win19 version 20210531.1 (#3489)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-07 14:49:49 +00:00
Nursultan Kassan 22b6f42307 [macOS] Adding Swig (#3510) 2021-06-07 16:00:50 +03:00
github-actions[bot] f417049417 Updating readme file for win16 version 20210531.1 (#3488)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-07 09:59:33 +00:00
Nursultan Kassan 659b9d878c [Windows] Adding Swig (#3509) 2021-06-07 12:23:47 +03:00
Mikhail Timofeev 46ced60271 [macOS] Get back pypy to big sur (#3524) 2021-06-06 23:44:10 +03:00
Alena Sviridenko 3fbcebad7a Add explanation for current enterprises (#3527)
* Added "current enterprises" explanation

* Fixed article

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

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2021-06-04 18:20:54 +03:00
Omar Sandoval d722f6fed9 [Ubuntu] Install default version of Clang last (#3506) 2021-06-04 14:36:14 +03:00
agorti 0648d434e6 [windows] update npm registry to https (#3521) 2021-06-04 14:33:52 +03:00
Mikhail Timofeev cf551b1f4c [macOS] Software updates week 23 — add Xamarin 6_12_9 bundle to Big Sur and Mono 6.12.0.140 to Catalina (#3519) 2021-06-04 09:24:58 +03:00
Sylvain b870568e36 [ubuntu] Clean way to disable the pcov PHP Extension (#3472)
* Clean way to disable the pcov PHP Extension

Fixes https://github.com/actions/virtual-environments/issues/3341

* Update php.sh

* Update php.sh

* Documentation
2021-06-03 19:12:53 +03:00
github-actions[bot] 70582d170c Updating readme file for ubuntu16 version 20210531.0 (#3490)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-03 13:30:22 +00:00
Dmitry Shibanov 5d24b559f9 [Windows] Add note about Conda (#3513)
* add note about Conda

* added a note in the same string

* move note to Get-CondaVersion function
2021-06-03 16:28:12 +03:00
Mikhail Timofeev 59ca08e5bf [macOS] Fix default java postfix in the software readme (#3518) 2021-06-03 14:38:17 +03:00
github-actions[bot] 7d7bce1875 Updating readme file for macOS-10.15 version 20210531.1 (#3497)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-03 11:23:21 +00:00
github-actions[bot] a5065df015 Updating readme file for ubuntu20 version 20210531.0 (#3492)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-03 09:09:06 +00:00
github-actions[bot] 1691aca843 Updating readme file for ubuntu18 version 20210531.0 (#3491)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-03 07:46:46 +00:00
Javier de la Morena fa8469a2cd [ubuntu] Update ORAS URL (#3516) 2021-06-03 09:37:12 +03:00
Alena Sviridenko 2823a3cb6a Add macOS 11 onboarding guide (#3449)
* Added guide on macOS 11 onboarding

* Updated formatting and phrases

* Updated onboarding page

* Fixed wording

* Fixed typos

Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com>
Co-authored-by: Maxim Lobanov <maxim-lobanov@github.com>

* Updated wording and notes

* Removed extra space

* Fixed new lines

* Fixed wording

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

* Fixed note

* Minor wording update

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

* Fixed note

* Fixed typo

Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com>
Co-authored-by: Maxim Lobanov <maxim-lobanov@github.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2021-06-02 13:16:51 +03:00
Mikhail Timofeev 4d72ed1fd9 [Windows] Refactor Msys2 installation to use toolset part 1 (#3487)
* Refactor Msys2 installation to use toolset

* fix indent in the toolset files

* Resolve nitpicks

* Remove typo (extra $)
2021-06-02 13:08:05 +03:00
github-actions[bot] 62046bdeb9 Updating readme file for macOS-10.14 version 20210531.1 (#3495)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-06-02 10:04:46 +00:00
Mikhail Timofeev 2c6cc7ab0d [Ubuntu] Change rebar installation to use GitHub releases (#3486)
* Change rebar installation to use gh releases

* Add source $HELPER_SCRIPTS/install.sh

* Add Erlang rebar3 to software readme
2021-06-01 18:31:35 +03:00
github-actions[bot] dbeeb4df39 Updating readme file for macOS-11 version 20210531.1 (#3496)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-06-01 11:17:24 +00:00
Mikhail Timofeev 4983deed0f [macos] stick to mongodb 4.4 (#3484) 2021-05-31 18:33:17 +03:00
github-actions[bot] 57a4965327 Updating readme file for win16 version 20210525.0 (#3456)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-31 14:09:51 +00:00
github-actions[bot] 50d06a58af Updating readme file for win19 version 20210525.0 (#3452)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-31 13:02:19 +00:00
Mikhail Timofeev 5898c5ebd4 Change RubyGems installation to use toolset (#3474) 2021-05-30 00:39:27 +03:00
Alena Sviridenko cfbaf5ff4d [macOS] removed GCC 8 (#3476) 2021-05-28 18:19:34 +03:00
github-actions[bot] 9aa17b4e31 Updating readme file for ubuntu20 version 20210524.1 (#3441)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-28 08:04:19 +00:00
Alena Sviridenko fe157d6cb7 [macOS] Add select-xamarin-sdk-v2.sh synopsis (#3473) 2021-05-28 10:45:39 +03:00
Jesse Chan 6d4c863d14 Revert "[ubuntu] Add GCC 11 (#3291)" (#3436)
This reverts commit 3ebf601284.

Bug: #3376
2021-05-28 10:22:18 +03:00
github-actions[bot] 77daa9bf8e Updating readme file for macOS-10.15 version 20210525.2 (#3450)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-27 13:41:49 +00:00
Aleksandr Chebotov 22053ef0b1 Add install Az module section (#3466)
* Add install Az module section

* add Az module name
2021-05-27 15:38:21 +03:00
github-actions[bot] 4341738721 Updating readme file for ubuntu18 version 20210524.1 (#3442)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-27 09:14:48 +00:00
github-actions[bot] 4b3f574fec Updating readme file for ubuntu16 version 20210524.1 (#3440)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-27 09:07:26 +00:00
Mikhail Timofeev f7e0e8befb [Windows] Switch to use OData query instead of choco search for ghc installation (#3458)
* Switch to use OData query instead of choco search

* Simplify the logic
2021-05-27 10:20:41 +03:00
Mikhail Timofeev f9f82b79eb Add previous version uninstallation (#3448) 2021-05-25 20:33:58 +03:00
Mikhail Timofeev 8e7629ee13 Change Add-AssertionOperator to Add-ShouldOperator (#3446) 2021-05-25 11:13:12 +03:00
Mikhail Timofeev 39e317a1b6 [ubuntu] Change Add-AssertionOperator to Add-ShouldOperator (#3445) 2021-05-24 21:38:12 +03:00
Mikhail Timofeev 8dd6faf126 [macOS] Change Add-AssertionOperator to Add-ShouldOperator (#3447) 2021-05-24 21:37:55 +03:00
Mikhail Timofeev d32753de28 Temporary hardcoding fastlane 2.183.2 on macOS (#3444) 2021-05-24 21:36:35 +03:00
github-actions[bot] 7c673a20aa Updating readme file for macOS-11 version 20210523.1 (#3443)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-05-24 12:07:10 +00:00
github-actions[bot] 75f9131c18 Updating readme file for ubuntu20 version 20210517.1 (#3400)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-21 13:40:25 +00:00
Mikhail Timofeev 589a58e707 [Ubuntu] Change java-tools script to retrieve the latest major Gradle version (#3385)
* Change java-tools script to retrieve the latest major gradle version

* Change gradle installation to use manifest json. Use download_with_retries function

* Move maven version to the toolset
2021-05-21 15:37:15 +03:00
Sergey Dolin 7ce21d8b0e [ubuntu] Rework Mono installation to avoid using apt repos (#3289)
* Rework Mono installation to avoid using apt repos on Ubuntu images

* Use rest of line to read full AptSourceRepository
2021-05-21 10:34:41 +03:00
github-actions[bot] 5e65aeff73 Updating readme file for ubuntu18 version 20210517.1 (#3399)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-21 07:21:08 +00:00
github-actions[bot] 926cba5c9e Updating readme file for ubuntu16 version 20210517.1 (#3407)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-21 07:12:25 +00:00
github-actions[bot] 1b483cc38d Updating readme file for win19 version 20210516.0 (#3403)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-21 00:14:35 +00:00
github-actions[bot] f2149f41d3 Updating readme file for win16 version 20210516.0 (#3404)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-20 20:22:50 +00:00
Maxim Lobanov 3b591632fb Update macos-11.0 to macos-11 in README (#3427)
* Update README.md

* Update README.md
2021-05-20 17:03:33 +03:00
github-actions[bot] c64a37612f Updating readme file for macOS-10.15 version 20210516.1 (#3402)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-20 08:57:11 +00:00
Mikhail Timofeev 0bac9037ca Sort by version in advance (#3411) 2021-05-19 19:45:09 +03:00
Maxim Lobanov c60f54012a Rename 'macOS-11.0' to 'macOS-11' everywhere (#3417)
* rename 'macos11.0' to 'macos-11'

* fix nitpicks

* resolve conflicts
2021-05-19 14:16:51 +03:00
daniv-msft 729b5626f0 Removing support of Azure Dev Spaces now that it's retired (#3413) 2021-05-19 10:14:16 +03:00
Shivam Mathur 85e107cdc3 [ubuntu] Add PHP extensions: imagick, pcov and sodium (#3405) 2021-05-18 10:42:14 +03:00
Mikhail Timofeev 952ee3e740 [ubuntu] Move aws-sam-cli installation to the aws.sh script (#3401) 2021-05-17 21:55:32 +03:00
github-actions[bot] c4b6ffb1dc Updating readme file for macOS-11.0 version 20210516.1 (#3398)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-05-17 11:41:02 +00:00
Mikhail Timofeev 322aa89006 [windows] Add msys libxml2 package installation (#3386) 2021-05-17 00:54:28 +03:00
mikhailshaganov 72813adbe7 Rework apt-fast installation to get rid of apt repo (#3336)
* select-xamarin-sdk-v2

* Update select-xamarin-sdk-v2.sh

* change warning message

* check existed framework version

* check framework version review points

* Update apt.sh

* Update SoftwareReport.Tools.psm1

* remove a commented code

* Fixed review points

* return unattended-upgrades

* Fixed a viewing version

* add links for apt fast

* apt fast version

* apt-fast

* final check version

* add which apt-fast
2021-05-14 14:11:25 +03:00
Mikhail Timofeev a7c8d209c6 [windows] Add a test to make sure version 9 is the default one (#3377) 2021-05-14 12:20:12 +03:00
Mikhail Timofeev 15a610677b [ubuntu] Remove clang 9 for ubuntu 20, set clang 11 as the default one (#3381) 2021-05-14 11:25:07 +03:00
Mikhail Timofeev ca0395c1ee Add dotnet nuget list source (#3373) 2021-05-13 21:12:54 +03:00
Ewout ter Hoeven 09855006a1 Add Clang 12 to Ubuntu 20.04 toolset (#3206)
* Add Clang 12 to Ubuntu 20.04 toolset

* Ubuntu: Install Clang-12 directly from LLVM
2021-05-13 18:43:56 +03:00
github-actions[bot] 75a4d89efb Updating readme file for macOS-10.15 version 20210510.1 (#3360)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-13 14:59:08 +00:00
Aleksandr Chebotov 0b1d415b6a Remove Xamarin.IOS&Mac latest bundle (#3375) 2021-05-13 16:43:12 +03:00
github-actions[bot] 0cbfee2322 Updating readme file for win19 version 20210509.1 (#3350)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-13 13:37:30 +00:00
github-actions[bot] d694ead822 Updating readme file for win16 version 20210509.1 (#3349)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-13 13:36:40 +00:00
Mikhail Timofeev 0f3523c0af [macOS] Add GCC 11 (#3361)
* Add gcc@11 to macOS images

* Change tests and software report to use gcc toolset versions

* Add natural sort
2021-05-13 11:45:33 +03:00
github-actions[bot] 3b20fa31db Ubuntu 1604 (20210510 update) (#3358)
* Updating readme file for ubuntu16 version 20210510.0

* Update Ubuntu1604-README.md

* Update Ubuntu1604-README.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Maxim Lobanov <maxim-lobanov@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-13 08:44:37 +00:00
github-actions[bot] f20496e05d Ubuntu 2004 (20210510 update) (#3356)
* Updating readme file for ubuntu20 version 20210510.0

* Update Ubuntu2004-README.md

* Update Ubuntu2004-README.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Maxim Lobanov <maxim-lobanov@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-13 08:41:46 +00:00
github-actions[bot] 0409144182 Ubuntu 1804 (20210510 update) (#3357)
* Updating readme file for ubuntu18 version 20210510.0

* Update Ubuntu1804-README.md

* Update Ubuntu1804-README.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Maxim Lobanov <maxim-lobanov@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-13 08:38:04 +00:00
Aleksandr Chebotov 769423b171 Add build_resource_group_name packer option (#3369) 2021-05-13 10:19:34 +03:00
Alena Sviridenko 68aa36b2c6 Added workflow step to check for spammy issue (#3370) 2021-05-12 14:22:34 +03:00
Mikhail Timofeev 087144469d [ubuntu] Remove pip symlink creation (#3366) 2021-05-12 11:24:18 +03:00
Mikhail Timofeev d70d9f2ac2 Add a warning note about post-deployment scripts (#3364) 2021-05-11 19:07:51 +03:00
AlenaSviridenko a16083d386 Revert "test body input"
This reverts commit 23ed477795.
2021-05-11 18:01:50 +03:00
AlenaSviridenko 23ed477795 test body input 2021-05-11 17:58:25 +03:00
github-actions[bot] ae3284dad1 Updating readme file for macOS-11.0 version 20210510.1 (#3355)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-11 09:48:58 +00:00
Dibir Magomedsaygitov dc6dc83742 fix minikube version output (#3352) 2021-05-11 10:15:27 +03:00
Mikhail Timofeev a5ee51f72d Revert "[ubuntu] Rework php installation (#3272)" (#3340)
This reverts commit b1f202e5f0.
2021-05-07 16:35:34 +03:00
github-actions[bot] 52d48bcbcd Updating readme file for macOS-10.15 version 20210503.2 (#3301)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-07 13:27:14 +00:00
github-actions[bot] 158ed05b65 Updating readme file for ubuntu20 version 20210504.1 (#3312)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-06 15:03:30 +00:00
Mikhail Timofeev 028fa5d893 [macOS] Add Xamarin ios 14.16 and mac 7.10 (#3329) 2021-05-06 16:38:58 +03:00
github-actions[bot] a583688e0d Updating readme file for ubuntu16 version 20210504.1 (#3305)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-06 10:28:54 +00:00
github-actions[bot] 8f215a59bd Updating readme file for ubuntu18 version 20210504.1 (#3304)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-06 10:24:38 +00:00
github-actions[bot] 9ebab486a8 Updating readme file for macOS-10.14 version 20210501.1 (#3300)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-06 09:41:52 +00:00
Aleksandr Chebotov a5fca054cb [Ubuntu] Set DefaultLimitSTACK=16384 limit (#3328)
* Set DefaultLimitSTACK=16384 limit

* Set DefaultLimitSTACK 16MB
2021-05-06 12:10:58 +03:00
Mikhail Timofeev 5abc43a504 [windows] Add cmake 3.18.1 for Android to toolset files (#3324) 2021-05-06 11:35:37 +03:00
Mikhail Timofeev 9740348868 [macos] Add cmake 3.18.1 to toolsets (#3323) 2021-05-06 11:35:21 +03:00
Mikhail Timofeev 96e0e6f9f3 [Ubuntu] Add Cmake 3.18.1 to toolset files (#3322) 2021-05-06 11:35:05 +03:00
Ewout ter Hoeven 3ebf601284 [ubuntu] Add GCC 11 (#3291)
* Ubuntu Bionic/Focal: Add GCC 11

Add GCC 11 to the Ubuntu 18.04 Bionic and 20.04 Focal toolsets.

* Ubuntu Bionic/Focal: Add GFortran 11

Add GFortran 11 to the Ubuntu 18.04 Bionic and 20.04 Focal toolsets.
2021-05-06 10:31:09 +03:00
Mikhail Timofeev 366f1b078e [Ubuntu] Avoid updating gems (#3320) 2021-05-06 10:04:22 +03:00
Mikhail Timofeev 5475c40059 [macOS] Add swift program to save certificate (#3311) 2021-05-05 18:23:21 +03:00
Sergey Dolin adf1f3d76e [ubuntu] Remove apt sources used to install azure-cli only (#3274) 2021-05-05 16:39:04 +03:00
Howard Jones 0cca9be107 Make CreateAzureVMFromPackerTemplate friendlier (#3209)
* Don't assume JSON output

Specify JSON output, since it's required. The default can be changed.

* Make actions easier to track

To make cleanup easier, use the same GUID for all components and report at the end on what was created.
2021-05-05 12:04:44 +03:00
Darii Nurgaleev f84d55abeb Rework Kubernetes installation to avoid using apt repos on Ubuntu images (#3309)
* github_feed_token removal

* remove file

* GithubFeedToken remove from other files

* remove boost from docs

* Kubectl installation without additional repo

* add latest kubectl version variable
2021-05-05 11:50:15 +03:00
Leonid Lapshin 1532432fa9 Fix fastlane installation for Ubuntu 20 (#3308)
* tmp fix for Ubuntu 20

* removed unnecessary line break

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2021-05-04 21:00:16 +03:00
Alena Sviridenko d441e5b3c0 Removed Ubuntu 16.04 from README.md (#3302) 2021-05-04 18:10:24 +03:00
mikhailshaganov 50f02341da select-xamarin-sdk-v2 (#3290)
* select-xamarin-sdk-v2

* Update select-xamarin-sdk-v2.sh

* change warning message

* check existed framework version

* check framework version review points
2021-05-04 17:29:41 +03:00
github-actions[bot] 365e5a0180 Updating readme file for macOS-11.0 version 20210503.1 (#3299)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-05-04 09:31:01 +00:00
Daniel f109d39c83 Securing packer builds via allowed_inbound_ip_addresses (#3193)
* Trying to handover additional parameters

* Make restriction to agent ip configurable

* Added additional parameter to all other packer files

* Added note about new parameter's incompatibility with other parameters to command line help

* Added line break for better readability

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

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2021-05-04 11:39:55 +03:00
github-actions[bot] c2a2904e48 Updating readme file for ubuntu16 version 20210425.1 (#3262)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-29 14:50:39 +00:00
Leonid Lapshin b1f202e5f0 [ubuntu] Rework php installation (#3272) 2021-04-29 17:29:51 +03:00
github-actions[bot] 4a134cd3e5 Updating readme file for win19 version 20210425.1 (#3267)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-29 13:02:29 +00:00
github-actions[bot] d22dbe7112 Updating readme file for win16 version 20210425.1 (#3266)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-29 12:46:42 +00:00
github-actions[bot] 4fbbc19bf8 Updating readme file for ubuntu18 version 20210425.1 (#3263)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-29 09:01:40 +00:00
github-actions[bot] db4a0a42af Updating readme file for ubuntu20 version 20210425.1 (#3264)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-29 08:59:15 +00:00
Sergey Dolin 552da81d13 [ubuntu] Document GHC apt repository (#3268) 2021-04-28 14:51:16 +03:00
Rob Burger 6d21bc3d1a [Ubuntu] Increase Linux stack space to 16384KB (#3260)
* Increase Linux stack space to 16384KB

* Add stack hard and soft limits to limits.conf
2021-04-28 10:44:01 +03:00
Mikhail Timofeev 34ea1d0440 [Windows] Return VS2017 SSDT extensions to the readme (#3270) 2021-04-27 23:03:17 +03:00
github-actions[bot] 1547af6c5d Updating readme file for macOS-10.15 version 20210423.1 (#3265)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-27 12:46:39 +00:00
AHuusom cc0c9ba63b [windows] Fixed version checking (#3219) 2021-04-27 11:37:12 +03:00
Ismaël Mejía 08dd8f3a6a [all os] Updated maven from 3.6.3 to 3.8.1 (#3247) 2021-04-26 14:48:47 +03:00
github-actions[bot] 1cfd480416 Updating readme file for macOS-11.0 version 20210424.1 (#3261)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-04-26 10:12:58 +00:00
Mikhail Timofeev cd4ecad2e6 [Windows] Install vsix extensions using CDN endpoint (#3244)
* Install extensions for VS19

* Get vsix packages name in runtime

* add a bit of debug

* Get extension id from the marketplace uri

* Add extension name

* skip vcredist installation

* Add Get-VsixExtenstionFromMarketplace to ImageHelpers.psm1

* Fix DownloadUri name in the function

* DownloadUri in lower case

* Add packages to the readme

* Add a condition to software report

* fix spelling in function

* Simplify toolset + get rid of backticks
2021-04-23 19:38:43 +03:00
Mikhail Timofeev 5690645f0e Add --no-progress flag to choco install (#3238) 2021-04-22 18:38:35 +03:00
github-actions[bot] f2852367e5 Updating readme file for macOS-10.15 version 20210419.2 (#3217)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-22 11:05:27 +00:00
github-actions[bot] 6475fd06d5 Updating readme file for win19 version 20210419.1 (#3215)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-22 10:34:32 +00:00
github-actions[bot] fd4350f27c Updating readme file for win16 version 20210419.1 (#3216)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-22 10:02:28 +00:00
github-actions[bot] 6752ddb1f4 Updating readme file for ubuntu20 version 20210419.1 (#3213)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-22 09:05:26 +00:00
github-actions[bot] 5472e84506 Updating readme file for ubuntu18 version 20210419.1 (#3211)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-22 08:50:07 +00:00
github-actions[bot] d6fd680a3a Updating readme file for ubuntu16 version 20210419.1 (#3212)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-22 08:43:08 +00:00
Mikhail Timofeev e662b19a30 Install vcredist 2010 for windows 2010 from direct links (#3230) 2021-04-22 09:54:12 +03:00
Dibir Magomedsaygitov 19537cbf0b [Ubuntu] Fix GRADLE_HOME environment variable (#3225)
* fix gradle_home env var

* add gradle test and minor rework

* debug
2021-04-21 18:20:20 +03:00
github-actions[bot] 4440cbd3f3 Updating readme file for macOS-11.0 version 20210420.1 (#3222)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-04-21 09:04:29 +00:00
Mikhail Timofeev 4417214480 [macOS] Add MSBuild to docs (#3214) 2021-04-20 11:24:51 +03:00
Aleksandr Chebotov 83f2d79254 [macOS] suppress pipefail pgrep exit code (#3208) 2021-04-19 17:18:32 +03:00
Mikhail Timofeev a06f07dfb4 [Ubuntu] Add msbuild to software report (#3210) 2021-04-19 16:17:48 +03:00
github-actions[bot] 98743bcf9c Updating readme file for macOS-11.0 version 20210418.1 (#3207)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-04-19 11:55:05 +00:00
Maxim Lobanov 5657dde4a0 Update PyPy to 7.3.4 on Windows (change platform format) (#3189)
* Update PyPy to 7.3.4 on Windows (change platform format)

* Update SoftwareReport.CachedTools.psm1

* Update Install-PyPy.ps1

* Update SoftwareReport.CachedTools.psm1
2021-04-19 10:15:26 +03:00
Aleksandr Chebotov 4a2e5bca16 [ubuntu] Remove google-cloud-sdk repo (#3199) 2021-04-16 19:24:24 +03:00
Alena Sviridenko 0c6c332678 [macOS] Create VM_ASSETS environment variable (#3190) 2021-04-16 00:04:17 +03:00
github-actions[bot] ae60820a20 Updating readme file for ubuntu20 version 20210412.1 (#3154)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-15 12:38:05 +00:00
github-actions[bot] 08a251f604 Updating readme file for ubuntu18 version 20210412.1 (#3153)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-15 12:31:22 +00:00
github-actions[bot] 8de2ab49f9 Updating readme file for ubuntu16 version 20210412.1 (#3155)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-15 12:29:47 +00:00
Darii Nurgaleev 4ae0bde840 Image generation fix: remove quote (#3191)
* github_feed_token removal

* remove file

* GithubFeedToken remove from other files

* remove boost from docs

* added fix for img generation
2021-04-15 14:59:28 +03:00
Darii Nurgaleev 575108f5a1 Remove GithubFeedToken build parameter (#3184) 2021-04-15 13:05:57 +03:00
github-actions[bot] 94fc8cc0ba Updating readme file for macOS-10.14 version 20210413.1 (#3187)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-15 09:47:37 +00:00
Aleksandr Chebotov 24f91060ac Remove google chrome repo on Ubuntu (#3188) 2021-04-15 12:04:19 +03:00
github-actions[bot] 0d88bc14e5 Updating readme file for macOS-10.13 version 20210413.1 (#3179)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-15 07:43:11 +00:00
github-actions[bot] 682af81871 Updating readme file for win16 version 20210411.1 (#3157)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-14 19:08:18 +00:00
github-actions[bot] 40ef7b1ba3 Updating readme file for macOS-10.15 version 20210412.2 (#3169)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-14 16:36:53 +00:00
Aleksandr Chebotov b04de88f6e [Ubuntu] Install zstd homebrew (#3181)
* install zstd using brew

* fix typo

* remove Run-Command

* replace to Take-OutputPart

* create zstd symlinks
2021-04-14 19:34:49 +03:00
github-actions[bot] 16fd521369 Updating readme file for win19 version 20210411.1 (#3156)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-14 15:36:18 +00:00
Mikhail Timofeev 579dea7415 Add swiftformat for all macOS versions except HS (#3170) 2021-04-14 10:22:41 +03:00
Mikhail Timofeev 51d9ece7fe [macOS 10.13] Change Go in the toolset to 1.15 (#3178) 2021-04-14 10:21:40 +03:00
Mikhail Timofeev 274bb65073 [ubuntu] Add node14 & node14-alpine docker images (#3171) 2021-04-13 19:04:04 +03:00
Alena Sviridenko b7520207f7 Document OS and software support strategy for virtual-environments (#3127) 2021-04-13 17:32:58 +03:00
Aleksandr Chebotov 487339fb77 [ubuntu] provide package name (#3172) 2021-04-13 17:13:46 +03:00
github-actions[bot] f3ffc1d9f3 Updating readme file for macOS-11.0 version 20210412.3 (#3168)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-04-13 12:57:02 +00:00
Vladimir Safonkin 2eab75337b [macOS] Remove gradle test (#3163) 2021-04-12 17:58:58 +03:00
Sergey Dolin 98070a66fc [ubuntu] Rework bazel installation to avoid using apt repos (#3088) 2021-04-12 11:31:34 +03:00
Marinus Pfund 59997be01a Add retry to Install-RootCA.ps1 generateSSTFromWU (#3018)
* Update Install-RootCA.ps1

added retry behaviour to certutil.exe -generateSSTFromWU

* Update Install-RootCA.ps1

removed multi line

* fixed pr comments in Install-RootCA.ps1

fixed PR comments
2021-04-12 10:50:39 +03:00
Mikhail Timofeev c58b0cfbfd Remove user-wide dotnet config (#3144) 2021-04-09 19:07:59 +03:00
Mikhail Timofeev 4006fabbdd Add option only-show-errors (#3142) 2021-04-09 16:53:57 +03:00
Mikhail Timofeev 3ab55ea5da Add stream redirection to hide log output (#3141) 2021-04-09 16:22:52 +03:00
Nikita Bykov acdde71580 [Ubuntu] Fix Chromium installation (#3136)
* fix chromium installation

* fix chromium

* added symlink

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-04-09 14:50:48 +03:00
Mikhail Timofeev bfd58535c2 Add cleanup logic for the packer os disk (#3140) 2021-04-09 14:27:14 +03:00
Dibir Magomedsaygitov d1de678b65 [Ubuntu] Rework Git installation to avoid using apt repo (#3095)
* rework git installation

* simplify git installation

* minor fix

* document source repo's

* small fix

* debug
2021-04-09 11:57:40 +03:00
Sergey Dolin fbcc41275b [ubuntu] Update the cached Docker images (#3099) 2021-04-09 11:04:52 +03:00
Sergey Dolin 980d197a7a [windows] Replace the microsoft/aspnetcore-build Docker image with mcr.microsoft.com/dotnet/framework/sdk (#3101) 2021-04-09 11:04:31 +03:00
Mikhail Timofeev 94a1c2770c [macOS] Avoid creating symlinks for PyPy 7.3.4 (#3135) 2021-04-09 11:04:11 +03:00
github-actions[bot] bf22901ec6 Updating readme file for win16 version 20210404.2 (#3109)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-08 23:30:08 +00:00
github-actions[bot] afed2f5b3a Updating readme file for win19 version 20210404.2 (#3110)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-08 23:30:06 +00:00
Aleksandr Chebotov eecc7b86eb [macOS] Upgrade az powershell module from 4.8.0 to 5.7.0 (#3132)
* update az 4.8.0 -> 5.7.0

* revert HS
2021-04-08 21:01:52 +03:00
Mikhail Timofeev 1c76e14336 [Windows] Upgrade az powershell module from 5.5.0 to 5.7.0 (#3128)
* Change Az from 5.5.0 to 5.7.0

* Remove 4.6.0, add 5.5.0 to zip
2021-04-08 21:00:50 +03:00
Mikhail Timofeev e8f899d57c Don't create symlinks for PyPy 7.3.4 (#3134) 2021-04-08 20:10:40 +03:00
github-actions[bot] 0da5da7f57 Ubuntu 2004 (20210405 update) (#3093)
* Updating readme file for ubuntu20 version 20210405.1

* fixed packer version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-08 16:12:24 +00:00
github-actions[bot] cff32c9efe macOS 10.15 (20210404 update) (#3097)
* Updating readme file for macOS-10.15 version 20210404.1

* updated packer version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-08 14:09:34 +00:00
github-actions[bot] 76e1f282a1 Ubuntu 1604 (20210405 update) (#3092)
* Updating readme file for ubuntu16 version 20210405.1

* fixed packer version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-08 11:44:57 +00:00
github-actions[bot] 66088ce577 Ubuntu 1804 (20210405 update) (#3094)
* Updating readme file for ubuntu18 version 20210405.1

* Update Ubuntu1804-README.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-08 11:41:35 +00:00
github-actions[bot] 5ee9fb397b macOS 10.14 (20210405 update) (#3115)
* Updating readme file for macOS-10.14 version 20210405.1

* fixed packer version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-08 11:37:52 +00:00
Dibir Magomedsaygitov 21b8cadc2c [Ubuntu] Remove apt source for podman, buildah and skopeo (#3077)
* remove apt source list

* debug

* document source repo and fix installation

* small fix
2021-04-08 14:13:21 +03:00
Nikita Bykov 6858b9232d [macOS] Rework Xamarin documentation (#3113)
* reworked xamarin documentation

* added condition for defaultSymlink variable

* removed sorting of xamarin bundles

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-04-08 12:55:47 +03:00
Mikhail Timofeev ed0a37f3ab [Ubuntu] Change az 5.5.0 to 5.7.0 (#3126) 2021-04-08 10:50:50 +03:00
Dmitry Shibanov 37a897095f add permissions for /usr/lib/jvm (#3105) 2021-04-08 10:43:59 +03:00
Vladimir Safonkin f29cc02bef [Ubuntu] Remove apt sources for Postgresql, Mongodb, Heroku (#3091) 2021-04-07 13:57:35 +03:00
Darii Nurgaleev 1a3945d52c Update documentation for post-deployment scripts. (#3070) 2021-04-06 16:22:28 +03:00
Mikhail Timofeev 6ede984b96 [windows] Fix output for packer 1.7.1 (#3104) 2021-04-06 05:06:39 +03:00
Aleksandr Chebotov 0d102a98d4 add sshpass packages (#3103) 2021-04-05 20:27:14 +03:00
Mikhail Timofeev 210e9558ae [macOS] Fix output for packer 1.7.1 (#3100) 2021-04-05 18:41:57 +03:00
Mikhail Timofeev 0c440c82ca [ubuntu] Fix packer output for version 1.7.1 (#3098) 2021-04-05 17:09:48 +03:00
github-actions[bot] 0c064d0bdb macOS 11.0 (20210404 update) (#3096)
* Updating readme file for macOS-11.0 version 20210404.2

* fixed packer version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
2021-04-05 11:48:21 +00:00
github-actions[bot] 961495b5c7 Updating readme file for win19 version 20210330.2 (#3072)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-05 06:09:49 +00:00
Nikita Bykov b7f276c003 [Ubuntu] Rework Сhromium installation to avoid using snap (#3029)
* rework chromium installation

* added GetChromiumRevision function

* changed getting chrome version

* fixed GetChromiumRevision function

* fixed CHROME_VERSION variable

* move chromium installation to google-chrome.sh

* added -qq for unzip

* added comments to GetChromiumRevision function

* updated tests and sofware report

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-04-02 19:21:33 +03:00
Aleksandr Chebotov be27ebfdb3 [ubuntu] replace wget to download_with_retries helper (#3087) 2021-04-02 18:47:50 +03:00
Aleksandr Chebotov 0917a07677 [windows] set ascii encoding (#3086) 2021-04-02 17:53:08 +03:00
Mikhail Timofeev 3195add3cd [Ubuntu] Add clang-format to the readme (#3081)
* Add clang-format to the readme

* Create a function to retrieve clang tool versions

* Add ClangFormatVersions to software report

* Add new line

* Resolve nitpicks
2021-04-02 14:38:54 +03:00
Aleksandr Chebotov 8472c0699b Remove warmup deprecation for Ubuntu images (#3076) 2021-04-02 11:17:15 +03:00
github-actions[bot] b3c93d65df Updating readme file for win16 version 20210329.1 (#3059)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-02 06:09:23 +00:00
github-actions[bot] 92c9e67b9f Updating readme file for ubuntu20 version 20210330.1 (#3057)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-01 14:37:59 +00:00
github-actions[bot] 9e644fc21a Updating readme file for macOS-10.15 version 20210327.1 (#3051)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-01 13:44:08 +00:00
Aleksandr Chebotov cd5930b52b [ubuntu] suppress tar verbose messages (#3075) 2021-04-01 15:15:59 +03:00
github-actions[bot] 18062f1b88 Updating readme file for ubuntu16 version 20210327.1 (#3044)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-01 09:19:09 +00:00
github-actions[bot] 475453f212 Updating readme file for ubuntu18 version 20210330.1 (#3056)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-04-01 09:04:35 +00:00
Mikhail Timofeev a687c4c753 Add python-setuptools to Ubuntu16 & 18 toolset files (#3071) 2021-03-31 19:25:32 +03:00
Vladimir Safonkin 1436b723d5 Remove duplicates from Ubuntu docs (#3066) 2021-03-31 19:16:44 +03:00
Aleksandr Chebotov 05fc867e8a Suppress unzip logs in Ubuntu image generation (#3068) 2021-03-31 16:07:25 +03:00
Mikhail Timofeev 1572c20af1 [Ubuntu] Move Az modules to the PowerShell Tools section (#3067)
* Move az section

* Add new line between pwsh and az modules
2021-03-31 15:50:39 +03:00
hackercat be806579bb [Ubuntu] Fix Erlang version in software report
SoftwareReport collects wrong version for Erlang, it reports Eshell
version rather than Erlang itself.
reference: https://stackoverflow.com/questions/9560815/how-to-get-erlangs-release-version-number-from-a-shell
2nd answer

`erl` doesn't have `-v` flag, only `-version`
`erlc` `-v` flag is for verbose output
`rebar3` reports it's version with flag `-v`
Change `erl -v` to `erl -version` as it gets stuck in certain scenarios
like using Docker as packer builder.
reference: http://erlang.org/doc/man/erl.html
2021-03-31 12:38:11 +03:00
Aleksandr Chebotov 726ef281c7 [ubuntu] disable verbose (#3063) 2021-03-31 10:46:42 +03:00
Dmitry Shibanov b00dbe1036 install yarn from npm (#3037) 2021-03-31 10:33:46 +03:00
Aleksandr Chebotov 7d7b362d79 [Ubuntu] suppress unzip messages in aws.sh script (#3055)
* suppress unzip messages

* remove sudo

* add /tmp
2021-03-31 09:51:27 +03:00
Aleksandr Chebotov a533011008 use download_with_retries (#3054) 2021-03-30 15:23:57 +03:00
Aleksandr Chebotov 21f63fd579 Install Chrome without apt source (#3036) 2021-03-30 10:17:56 +03:00
Dibir Magomedsaygitov 826fed9604 sort java versions (#3045) 2021-03-29 19:19:52 +03:00
github-actions[bot] b08f5f471b Updating readme file for macOS-11.0 version 20210328.1 (#3046)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-29 14:55:26 +00:00
Aleksandr Chebotov 6ac1661557 [Ubuntu] inject ansible pkg (#3047)
* inject ansible pkg

* fix comment

* fix comment
2021-03-29 16:29:12 +03:00
Kévin Dunglas 6747127d83 [ubuntu] add emoji support in Chrome (#2699)
* fix: emoji support in Chrome on Ubuntu

* move package to toolset
2021-03-29 15:46:21 +03:00
Dibir Magomedsaygitov 48f3c3e9b7 [Ubuntu] Move preinstalled Java distributions to the toolcache directory (#2915)
* move preinstalled java to toolcache

* rework installation and fix software report
2021-03-27 10:51:50 +03:00
Dmitry Shibanov 60459a5b04 add replace from '+' to '-' (#3027) 2021-03-27 10:51:01 +03:00
Mikhail Timofeev b56d115a16 [Windows] Replace '+' to '-' in java path (#3028)
* Replace + to - in Java path

* Fix comment

* fix vendor name in software report
2021-03-27 10:50:50 +03:00
Mikhail Timofeev dd506183e2 [Ubuntu] Set user-related environmental variables and PATH via post deployment script (#3030)
* Move home directory vars to post-deploy scripts

* Remove "export" word

* Move home directory vars to post-deploy scripts

* Remove "export" word

* add variables via post-deployment file

* remove quotes around PATH

* remove quotes

* Replace $HOME in /etc/environment in post-deployment script

* rename variable

* get rid of extra variable
2021-03-26 18:33:51 +03:00
Aleksandr Chebotov a769b06872 Switch Azure CLI installation to GitHub Releases (#3035) 2021-03-26 18:21:42 +03:00
Amruta Kawade f6f2e3681e [Windows] Az Modules Size Reduction On Image (#2827)
* [Windows] Az Modules Size Reduction On Image

* Addressing review comments

* Downloading azure and azurerm from blob storage
2021-03-26 18:21:12 +03:00
Aleksandr Chebotov 4c606d887d [Ubuntu] get julia version from julialang.org (#3025)
* get version from julialang.org

* add helpers

* add curl flag -L
2021-03-26 13:13:29 +03:00
Mikhail Timofeev 54fa1d6658 Remove versions less than 9 from toolsets (#3023) 2021-03-26 08:28:54 +03:00
hackercat abbad83bb1 feat: Return apt packages with their installed versions (#2939) 2021-03-26 08:28:15 +03:00
Sergey Dolin 6168b56552 Apply fix from https://github.com/github/super-linter/issues/1397 (#3024) 2021-03-25 12:55:24 +03:00
Aleksandr Chebotov 436d9baa95 [Ubuntu] use pipx to install ansible (#3015)
* use pipx to install ansible

* update info
2021-03-25 12:40:36 +03:00
hackercat ecfee9c8ec Remove Clang 11 dependencies (#3007) 2021-03-25 11:05:08 +03:00
Amruta Kawade 5545084098 [Linux] Az Modules Size Reduction On Image (#2828)
* [Linux] Az Modules Size Reduction On Image

* addressing review comments

* addressing review comments

* Addressing review comments
2021-03-25 09:34:25 +03:00
github-actions[bot] ff9f3f0a8b Updating readme file for ubuntu20 version 20210318.0 (#2989)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-24 10:06:33 +00:00
github-actions[bot] 46df370461 Updating readme file for ubuntu16 version 20210318.0 (#2990)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-24 09:53:05 +00:00
github-actions[bot] 37f0d72bbe Updating readme file for ubuntu18 version 20210318.0 (#2991)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-24 09:51:05 +00:00
Aleksandr Chebotov dee50eebff add acl package to Ubuntu 20 (#3006) 2021-03-23 10:48:35 +03:00
github-actions[bot] b345f38fbe Updating readme file for macOS-11.0 version 20210321.1 (#3000)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-22 12:49:17 +00:00
github-actions[bot] faee73e79a Updating readme file for win19 version 20210316.1 (#2948)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-22 12:19:36 +00:00
Sergey Dolin 33b6bbe946 Update Ubuntu documentation to include mono web-server (#2892)
* Update Ubuntu documentation to include mono web-server

* apply to Ubuntu 20.04 only
2021-03-22 12:04:21 +03:00
Mikhail Timofeev f178f0ec83 [Ubuntu] Install sbt from gh releases (#2983)
* Change sbt installation method to gh releases

* add source install.sh
2021-03-19 15:20:27 +03:00
Mikhail Timofeev e1ddcff2f0 Add openssl to software readme (#2984) 2021-03-19 13:43:48 +03:00
github-actions[bot] f201ae012b Updating readme file for ubuntu20 version 20210315.1 (#2930)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-19 08:47:56 +00:00
Mikhail Timofeev 593aa6b100 Revert $BASH_ENV (#2982) 2021-03-18 21:58:04 +03:00
Dibir Magomedsaygitov 8a34f3c527 software updates week 12 (#2970) 2021-03-18 16:22:44 +03:00
github-actions[bot] 21d68f342f Updating readme file for ubuntu16 version 20210317.1 (#2955)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-18 12:52:57 +00:00
github-actions[bot] 46e5d502a6 Updating readme file for ubuntu18 version 20210315.1 (#2931)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-18 12:16:19 +00:00
Arjun Madan 57d8f5e0ed Update the ubuntu-latest tag to point to 20.04 (#2852) 2021-03-18 10:59:31 +03:00
Mikhail Timofeev 5a68fb9658 fix variable name (#2964) 2021-03-18 09:42:04 +03:00
Mikhail Timofeev fa7347b7a0 Change approach to get the version from manifest (#2966) 2021-03-18 09:41:47 +03:00
Mikhail Timofeev e9fc3366a5 Deprecate jekyll/builder and node8-typescript (#2965) 2021-03-18 09:41:18 +03:00
Mikhail Timofeev 4847468235 Add Linux kernel version to software report (#2959) 2021-03-18 09:41:01 +03:00
github-actions[bot] 1dc087be2e Updating readme file for macOS-10.15 version 20210314.1 (#2937)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-17 19:34:35 +00:00
github-actions[bot] 8c431db884 Updating readme file for win16 version 20210309.0 (#2909)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-17 16:26:40 +00:00
Patrick C b04c65a83c Update name for oc cli to OpenShift CLI (#2949) 2021-03-17 10:54:05 +03:00
Mikhail Timofeev 0cf21e4512 [Windows] Move preinstalled java distributions to the toolcache directory (#2903)
* Move installation to toolcache folder

* Change Set-JavaPath function

* remove old java report function

* Change report function to output full semver

* small improvments

* nitpicks + remove java root path

* Adoptium -> Adopt
2021-03-16 17:16:16 +03:00
Nikita Bykov ef6e8c905f [MacOS] Move preinstalled java distributions to the toolcache directory (#2883)
* Move java to the toolcache

* resolved comments

* added sudo for ln command

* fixed versions and added symlink

* fixed openjdk.sh

* fixed typo

* updated SoftwareReport

* fixed SoftwareReport

* fixed SoftwareReport

* fixed tool name

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-03-16 17:13:54 +03:00
Aleksandr Chebotov 758e6ef267 add lerna version (#2914) 2021-03-15 21:05:15 +03:00
github-actions[bot] 671348b620 Updating readme file for ubuntu20 version 20210309.1 (#2887)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-15 14:47:34 +00:00
github-actions[bot] dc404cb968 Updating readme file for ubuntu18 version 20210309.1 (#2891)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-15 14:32:08 +00:00
github-actions[bot] e91d69a3fa Updating readme file for win19 version 20210309.0 (#2895)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-15 14:26:07 +00:00
Aleksandr Chebotov 11437f2e63 set minimumFreeSpaceMB=15000 (#2934) 2021-03-15 15:33:50 +03:00
Aleksandr Chebotov 51a9c11e33 Add support for latest zstd (#2927) 2021-03-15 15:26:01 +03:00
github-actions[bot] d6cc9d0e40 Updating readme file for ubuntu16 version 20210309.1 (#2886)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-15 12:07:06 +00:00
github-actions[bot] dbd857624a Updating readme file for macOS-11.0 version 20210314.1 (#2929)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-03-15 11:41:55 +00:00
Aleksandr Chebotov d285d2f7d3 add ACCEPT_EULA=Y env var (#2908) 2021-03-15 11:17:57 +03:00
Aleksandr Chebotov 2f03a07621 [Windows] Update zstd to 1.4.9 (#2899)
* install from GitHub releases

* rename zstd folder

* change wildcard

* cut messages
2021-03-12 14:28:18 +03:00
Darii Nurgaleev 24abe31369 [macOS] Software updates week 11 (#2900)
* [macOS] Fail Pester tests on error

* return it back

* software update week 11

* 6.12.7 bundle default
2021-03-12 10:41:21 +03:00
Aleksandr Chebotov d575d1bcc5 set kern.maxfilesperproc=65536 (#2901) 2021-03-12 09:36:35 +03:00
github-actions[bot] cb8c37dc0a Updating readme file for macOS-10.15 version 20210307.1 (#2879)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-11 13:05:26 +00:00
github-actions[bot] 0d92dbb3bc Updating readme file for macOS-10.14 version 20210308.1 (#2884)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-11 13:02:36 +00:00
Daniel 160f5bedb0 Allow authentication of resource generator script via service principal (#2622)
* Allow authentication of resource generator script via service principal

* Re-use the given service principal in case of parametric authentication

* Updated variable names

* Renamed parameter and variable from AzureTenant to AzureTenantId

* Added Azure DevOps pipeline to build an agent

* Added link to azure pipeline to instructions

* Fixed typo in link

* Removed unnecessary / double brackets

* Untangled credential instantiation to make it more readable

* Removed example yaml file

* Removed unnecessary variable assignment
2021-03-10 23:21:35 +03:00
Maxim Lobanov 971ee7d2a7 Merge pull request #2851 from dmitryikh/add-clang-11-to-ubuntu-latest
[Ubuntu] add clang-11
2021-03-10 09:14:14 +03:00
github-actions[bot] 2c6eab40b5 Updating readme file for ubuntu18 version 20210302.0 (#2814)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-09 20:41:14 +00:00
github-actions[bot] 639fcca9e6 Updating readme file for macOS-11.0 version 20210308.1 (#2880)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-03-09 10:36:08 +00:00
Mikhail Timofeev 8cdcef0d00 Initialize ChocolateyToolsLocation variable and fix tests (#2874) 2021-03-08 22:43:58 +03:00
Dmitry Khominich 1cfb9a989f [Ubuntu] add clang-11 2021-03-05 16:44:12 +02:00
github-actions[bot] 5ad9793f29 Updating readme file for macOS-10.15 version 20210302.1 (#2833)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-05 08:29:42 +00:00
Mikhail Timofeev c6ba1f00df remove boost from windows images (#2843) 2021-03-05 10:22:59 +03:00
Mikhail Timofeev adcbf9592c remove boost from ubuntu images (#2844) 2021-03-05 10:22:42 +03:00
github-actions[bot] 6ec7e94c45 Updating readme file for ubuntu20 version 20210302.0 (#2815)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-04 17:02:34 +00:00
Aleksandr Chebotov 40f571a753 [Ubuntu] Add net-tools (#2838)
* add net-tools

* fix output
2021-03-04 18:30:40 +03:00
Shivam Mathur 8a17c5ea71 [Ubuntu] Fix PHP extensions (#2834) 2021-03-04 17:06:34 +03:00
github-actions[bot] b0e4215cfa Updating readme file for ubuntu16 version 20210302.0 (#2813)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-04 10:10:45 +00:00
Mikhail Timofeev e7e66bec69 [Ubuntu] Add a file with global user-related variables and point BASH_ENV variable to it (#2826)
* Add global vars to profile.d

* set BASH_ENV var

* fix comment

* remove extra quotes
2021-03-03 17:45:01 +03:00
github-actions[bot] ff72158a2a Updating readme file for macOS-11.0 version 20210302.1 (#2824)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-03-03 09:17:10 +00:00
github-actions[bot] f534484ccc Updating readme file for win16 version 20210219.1 (#2769)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-01 14:34:18 +00:00
github-actions[bot] 56674f9e57 Updating readme file for win19 version 20210219.1 (#2768)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-03-01 10:52:07 +00:00
Mikhail Timofeev 7aabb126ab Revert "[windows] add ip substitution to update-dockerimages (#2611)" (#2805)
This reverts commit aa0de6b9cc.
2021-03-01 10:57:28 +03:00
Mikhail Timofeev 7cb767267a add all Go symlinks (#2798) 2021-02-28 10:36:00 +03:00
Mikhail Timofeev 9378641fb4 [macOS] Stick to go 1.15 (#2795) 2021-02-27 11:45:49 +03:00
Sergey Dolin 12ba306121 [ubuntu] Add lerna (#2763)
* Add lerna to linux images

* Add a comment about netlify-cli

* remove Node.js tests from Tools.Tests.ps1

* fix tabs

* revert empty lines

* fix code style
2021-02-26 18:06:24 +03:00
github-actions[bot] 238c623def Updating readme file for macOS-10.15 version 20210220.1 (#2773)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-26 06:39:56 +00:00
Mikhail Timofeev d7cbdff57e [macOS] Software updates Week 9 (#2786) 2021-02-25 16:29:15 +03:00
Dibir Magomedsaygitov fdea69d18f add link to image release (#2783) 2021-02-25 14:22:57 +03:00
Vladimir Safonkin d707864e45 [ubuntu, macos] Remove dotnet 3.0 (#2782) 2021-02-24 19:34:54 +03:00
Aleksandr Chebotov 09ea8edb54 change GDIProcessHandleQuota to 20000 (#2780) 2021-02-24 18:48:49 +03:00
Mikhail Timofeev 5afe6fcc4e [Ubuntu] Remove azcopy 7 (#2779)
* remove azcopy 7 installation

* Fix software report generator

* fix variable name

* add install helper
2021-02-24 18:21:51 +03:00
Mikhail Timofeev 5bf71738f0 Start platform and build tools with version 23 (#2781) 2021-02-24 16:55:49 +03:00
github-actions[bot] 13fbc5337e Ubuntu 2004 (20210219 update) (#2764)
* Updating readme file for ubuntu20 version 20210219.1

* fixed PyPy version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-24 11:37:22 +00:00
Sergey Dolin 60b01b3d30 [windows] remove GOROOT (#2710) 2021-02-24 12:47:16 +03:00
Sergey Dolin 6fb455bd33 [ubuntu] Remove GOROOT (#2668) 2021-02-24 12:46:40 +03:00
github-actions[bot] bc981f3aab Updating readme file for ubuntu16 version 20210219.1 (#2765)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-24 09:42:12 +00:00
github-actions[bot] 3cfeb58d24 Updating readme file for ubuntu18 version 20210219.1 (#2766)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-24 08:27:14 +00:00
Mikhail Timofeev e773a0c743 [macOS] Improve select-datastore script rev2 (#2772)
* select last one

* Fix comment

* Change logic

* change name

* fix comment
2021-02-20 16:34:08 +03:00
Mikhail Timofeev 990889bcf0 [macOS] Improve select-datastore script (#2771)
* select last one

* Fix comment
2021-02-20 15:40:18 +03:00
Mikhail Timofeev b42272d743 [ubuntu] Change PyPy pattern (#2767) 2021-02-20 14:24:39 +03:00
Sergey Dolin d0e2b96b20 Remove PyPy symlink workaround from Windows images (#2744) 2021-02-20 11:51:32 +03:00
github-actions[bot] 0c6a730e34 Updating readme file for macOS-11.0 version 20210219.1 (#2762)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-02-20 08:02:58 +00:00
Leonid Lapshin a871273c9d Added Go 1.16 to all OSes toolsets (#2730)
* added Go 1.16 to all OSes toolsets

* removed Go 1.16 from Ubuntu 16 and 18 due to image capacity

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2021-02-19 21:34:08 +03:00
Aleksandr Chebotov ee314d4c78 [windows] Fix tests, remove cmake 3.6 (#2758) 2021-02-19 21:27:58 +03:00
Leonid Lapshin 2a0829d7e5 [macOS] Software updates week 8 2021 (#2749) 2021-02-19 21:26:22 +03:00
Mikhail Timofeev c4d66c8dc7 [Ubuntu] Add Fastlane (#2751) 2021-02-19 18:33:28 +03:00
Mikhail Timofeev d76f3274f8 [macOS] Fix Android tests to work with platform version S and remove Cmake 3.6 (#2757)
* Fix tests, move cmake to toolset

* add -L to curl
2021-02-19 14:52:13 +03:00
Mikhail Timofeev 18effcdd26 [Ubuntu] Fix Android tests to work with platform version S and remove Cmake 3.6 (#2755)
* fix tests

* get rid of build-tools letter list

* Remove Cmake 3.6, fix platforms test
2021-02-19 14:18:13 +03:00
Nikita Bykov 2c96d280ed [Ubuntu] Rework haskell.sh to install Cabal using GHCup (#2636)
* reworked haskell installation

* added comment

* resolved comments and added symlink

* fixed haskell.sh

* update haskell.sh

* update installation

* added error suppressing

* reverted ghc intallation

* added comments

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-02-19 10:20:15 +03:00
Dibir Magomedsaygitov c881c3cab7 precache pypy 3.7 (#2737) 2021-02-19 10:19:11 +03:00
Dibir Magomedsaygitov 8916d17640 [macOS] Precache PyPy 3.7 (#2738)
* precache pypy 3.7

* remove pypy 3.7 from hs and mojave
2021-02-19 10:19:00 +03:00
Dibir Magomedsaygitov a0e569de87 [Ubuntu] Precache PyPy 3.7 (#2739)
* precache pypy 3.7

* small change
2021-02-19 10:17:51 +03:00
github-actions[bot] f0567bd9d9 Updating readme file for ubuntu20 version 20210216.1 (#2722)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-18 14:25:18 +00:00
Leonid Lapshin 9475d31219 added az 5.5.0 (#2745)
Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2021-02-18 17:11:23 +03:00
Alena Sviridenko 6bfde5f8b7 turn off macOS 10.13 scheduled builds (#2752) 2021-02-18 16:54:10 +03:00
github-actions[bot] e1e64dd300 Updating readme file for ubuntu18 version 20210211.1 (#2720)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-18 12:43:59 +00:00
Dmitry Shibanov 25efb10e32 Parallel installation of Xcode (#2432)
* parallel xcode installation

* resolve comments

* fix changes

* resolve comments and change ErrorActionPreference

* return imports

* switch ErrorActionPreference to Stop

* add log for threadCount

* add errorAction

* use new approach for warning

* change to bash -c

* change approach to install xcodes through to parallel foreach

* use & bash -c "command"

* mv upper ErrorActionPreference and work on logs

* mv $env:SPACESHIP_SKIP_2FA_UPGRADE = 1

* change process count to 5

* Invoke-XCVersion add out-host
2021-02-18 15:08:41 +03:00
github-actions[bot] 6ca717465d Updating readme file for ubuntu16 version 20210216.1 (#2723)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-18 10:33:09 +00:00
Mikhail Timofeev ae358d64c7 Revert "[windows, ubuntu] v2 gen sizes (#2736)" (#2747) 2021-02-18 10:52:09 +03:00
Aleksandr Chebotov 1ef3339658 [Ubuntu] Do not import Az.Account module on Ubuntu 18.04 (#2729)
* do not install dbus-user-session on Ubuntu 18.04

* update test for Ubuntu 18.04

* revert changes

* do not import Az.Accounts module

* remove space

* update PowerShell test
2021-02-18 09:03:13 +03:00
github-actions[bot] 46db8100ba Updating readme file for macOS-10.15 version 20210213.1 (#2717)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-17 18:20:02 +00:00
Tachibana waita 89d486e776 [Ubuntu] Updating release file pattern for Kitware/CMake (#2731) 2021-02-17 21:04:50 +03:00
github-actions[bot] c48746869b Updating readme file for macOS-11.0 version 20210216.3 (#2734)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-17 16:15:40 +00:00
Mikhail Timofeev 676f565d7b [windows, ubuntu] v2 gen sizes (#2736) 2021-02-17 16:50:40 +03:00
Andy Mishechkin f889dd8d68 Helper function for execution of xcversion with more than one attempt. (#2700)
* Invoke-XCVersion function has been created

* PR Comments resolving

* $result.Output | ForEach-Object { Write-Host $_ } has been added

* $PauseDuration -> $PauseDurationSecs

* Fixing the attempt indexing
2021-02-17 11:03:31 +03:00
github-actions[bot] 97ca8d937c Updating readme file for win19 version 20210211.1 (#2694)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-16 16:12:15 +00:00
github-actions[bot] 5fe75fb796 Updating readme file for win16 version 20210209.1 (#2695)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-16 10:54:08 +00:00
Dmitry Shibanov 20156708d5 [macOS] Remove nvm aliases and old node versions. (#2687)
* remove aliases and old node versions.

* resolve comments

* fix tests
2021-02-16 12:42:01 +03:00
Sergey Dolin 36d6d588c1 remove M2_HOME from windows images (#2711) 2021-02-16 11:08:50 +03:00
Maxim Lobanov 337ff74101 Sort docker images by name in documentation (#2716)
Sort docker images by name in documentation
2021-02-16 09:56:14 +03:00
Aleksandr Chebotov c87b27a593 install latest version of cmake (#2714) 2021-02-15 19:18:13 +03:00
Mikhail Timofeev 570a0bfc1e [ubuntu] move section, remove extra lines (#2713) 2021-02-15 17:32:05 +03:00
Dibir Magomedsaygitov 06559cab21 [Ubuntu] Install the latest two versions of GHC (#2696)
* install two ghc versions

* fix comments
2021-02-13 09:22:36 +03:00
Sergey Dolin 77b21e0c24 Document environment variables of linux images (#2498)
* Document environment variables of linux images

* Change adnroid variables

* Apply reviews

* Remove some variables, fix headers

* Show link targets

* rename helper

* remove symlinks

* More links

* Dynamic GO variables

* Architecture for  GO variables

* remove GOROOT
2021-02-12 10:30:36 +03:00
github-actions[bot] d49a011d9c Updating readme file for macOS-10.15 version 20210207.2 (#2652)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-11 18:55:15 +00:00
Dibir Magomedsaygitov 99be0316c6 [macOS] Software updates week 7 2021 (#2684)
* software updates week7

* add bundles

* change default bundle

* change default bundle for bigsur
2021-02-11 20:03:05 +03:00
github-actions[bot] b7af5dfaa0 Updating readme file for ubuntu16 version 20210208.0 (#2663)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-11 16:49:08 +00:00
github-actions[bot] 0df5ca37fc Updating readme file for ubuntu18 version 20210208.0 (#2662)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-11 13:12:47 +00:00
github-actions[bot] 335fe7bb8c Updating readme file for ubuntu20 version 20210208.0 (#2664)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-11 13:06:29 +00:00
Sergey Dolin 6654c477db Remove M2_HOME from linux images (#2561) 2021-02-11 12:25:59 +03:00
Dmitry Shibanov 9cfc0955b2 restrict creation of blank issues (#2674) 2021-02-10 20:38:17 +03:00
github-actions[bot] 41ca38370d Updating readme file for macOS-10.14 version 20210207.1 (#2651)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-10 11:27:33 +00:00
Christoph Bergmeister [MVP] 2e4a680c73 Add PSScriptAnalyzer Powershell module (#2644)
* Add PSScriptAnalyzer Powershell module

* Remove PSScriptAnalyzer module from ubuntu 1604 and `804 toolsets as per issue feedback
2021-02-10 10:51:19 +03:00
Mikhail Timofeev 5b8393bde4 Add docker moby server version (#2657) 2021-02-09 22:50:11 +03:00
Dibir Magomedsaygitov 395127da8f [Ubuntu] Fix Netlify installation, move its and vercel's installation to Nodejs.sh (#2666)
* fix netlify installation

* debug

* resolve comments

* small fix
2021-02-09 18:57:05 +03:00
Ryan Spletzer 902346ebcd Set AGENT_TOOLSDIRECTORY in packer template (#2457)
* Set AGENT_TOOLSDIRECTORY in packer template
This was set in the ruby installer but it is referenced elsewhere so I
believe it makes the most sense to have this set centrally in the packer
template to be referenced across multiple scripts.

* Fix typo

* Capitalize env var in ws2016 template for consistency

* Set AGENT_TOOLSDIRECTORY in Initialize-VM.ps1

* Add missing env var for AGENT_TOOLSDIRECTORY in step in ws2016 template
2021-02-09 16:41:06 +03:00
github-actions[bot] b45f42aa9f Updating readme file for macOS-11.0 version 20210208.1 (#2656)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-02-09 03:56:22 +00:00
github-actions[bot] 41294b8048 macOS 10.13 (20210207 update) (#2646)
* Updating readme file for macOS-10.13 version 20210207.2

* fixed geckodriver version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-08 16:10:11 +00:00
Mikhail Timofeev 6e9cc7b740 [ubuntu] remove npm installation (#2649) 2021-02-08 17:33:44 +03:00
Sergey Dolin b169ce9de9 Document environment variables of Win images (#2494)
* Document environment variables of Win images

* Change adnroid variables

* Apply reviews

* Remove some variables, fix headers

* Show link targets

* rename helper

* remove symlinks

* More links
2021-02-08 09:45:45 +03:00
Sergey Dolin 6beed71b4f Document environment variables of MacOS images (#2493)
* Document environment variables of MacOS images

* Change adnroid variables

* Apply reviews

* Remove some variables, fix headers

* Show link targets

* rename helper

* remove symlinks

* More links
2021-02-08 09:45:16 +03:00
Dibir Magomedsaygitov dad0901d33 [macOS] Remove Java 7 (#2631)
* remove java 7

* remove unused function
2021-02-07 20:09:22 +03:00
Mikhail Timofeev 33d4c0213f [Ubuntu] Invoke chromium test after installation (#2640)
* Add test invocation

* ge instead of gt

* change condition
2021-02-07 16:10:42 +03:00
Dibir Magomedsaygitov 3ca926ec34 Deprecate Java 7 (#2633) 2021-02-07 16:08:29 +03:00
Andy Mishechkin 4491eeb15f [ubuntu] Go default version is set to 1.15 (#2632) 2021-02-05 20:49:23 +03:00
Aleksandr Chebotov be109fcbc2 [Ubuntu] Provide version info for binutils and coreutils packages (#2627)
* include binutils and coreutils to doc section

* fix bin to core

* replace split to Take-OutputPart
2021-02-05 19:38:39 +03:00
Andy Mishechkin b349624d7b [windows] Go default version is set to 1.15 (#2635) 2021-02-05 19:30:36 +03:00
Dibir Magomedsaygitov 01cd7ca628 Deprecate Java 7 (#2629) 2021-02-05 18:22:20 +03:00
Maxim Lobanov 9480083149 Enable SPACESHIP_SKIP_2FA_UPGRADE flag for xcversion (#2617) 2021-02-05 09:39:26 +03:00
github-actions[bot] 19c44ab1e1 Ubuntu 1804 (20210131 update) (#2598)
* Updating readme file for ubuntu18 version 20210131.1

* restored NDK

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-04 19:31:05 +00:00
github-actions[bot] 525f79f479 Ubuntu 2004 (20210131 update) (#2599)
* Updating readme file for ubuntu20 version 20210131.1

* restored NDK

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-04 14:45:37 +00:00
github-actions[bot] bc17e04240 Ubuntu 1604 (20210131 update) (#2594)
* Updating readme file for ubuntu16 version 20210131.1

* restored NDK

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-04 10:47:49 +00:00
Dibir Magomedsaygitov 705a38a481 [Ubuntu] Add Android NDK 22 (#2556)
* add android ndk 22
2021-02-04 13:34:30 +03:00
Mikhail Timofeev aa0de6b9cc [windows] add ip substitution to update-dockerimages (#2611) 2021-02-04 10:39:20 +03:00
github-actions[bot] 36182c1a2b Windows Server 2019 (20210121 update) (#2523)
* Updating readme file for win19 version 20210121.0

* restored NDK version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-03 19:51:15 +00:00
github-actions[bot] 5d8b23df90 Updating readme file for macOS-10.15 version 20210130.1 (#2595)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-03 16:13:46 +00:00
Mikhail Timofeev 19201a0735 [macOS] Fix ndk output in readme for Big Sur (#2597)
* Fix condition

* Remove ndk-bundle retrieval from packages list

* remove unnecessary packageinfo param

* simplify function

* move $versions definition
2021-02-02 11:19:20 +03:00
Mikhail Timofeev 43b2ebbb96 Add Xcode 12.5 (#2602) 2021-02-02 09:59:36 +03:00
github-actions[bot] db0fe74893 Updating readme file for macOS-10.14 version 20210130.1 (#2593)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-01 23:42:12 +00:00
Mikhail Timofeev 1cd5c18eec [Ubuntu] Get back Android NDK to the readme (#2601)
* add Get-AndroidNDKVersions function

* simplify Get-AndroidNDKVersions function

* remove $versions variable definition
2021-02-01 20:15:30 +03:00
github-actions[bot] a6e6905dea macOS 11.0 (20210131 update) (#2596)
* Updating readme file for macOS-11.0 version 20210131.1

* restored NDK version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-02-01 16:48:11 +00:00
Shivam Mathur 349c66a268 [Windows] Add Apache and Nginx (#2517)
* [Windows] Add Apache and Nginx (#2501)

* Remove dot-sourcing in web-server tests

* Fix web servers readme generation
2021-02-01 17:03:49 +03:00
Dmitry Shibanov a49d4e2294 Add NDK 22 to macOS images (#2542)
* add env variables to docs, add extra ndk

* add new header 4

* rename variable

* add ndk to toolset as generic approach

* grep latest version

* install latest lts

* improve function

* rename function
2021-02-01 12:56:44 +03:00
Vladimir Safonkin fa88926270 [Windows] Rework Android NDKs installation (#2555)
* Rework Android NDKs

* Minor fix

* Fix variable name

* Minor fixes

* Reword Android env vars table

* Remove Android env vars table from doc file

* Rework to use only major ndk versions in toolset

* Fix ndk paths

* Fix win2016 toolset

* Refactor

* Minor fix

* Fix ndk tests
2021-02-01 12:56:34 +03:00
Shivam Mathur 212431cc79 [ubuntu] Add Apache and Nginx (#2516)
* [ubuntu] Add apache and nginx (#2501)

* Use dpkg-query to get nginx version

* Fix flaky apache cli test
2021-01-29 18:52:46 +03:00
Mikhail Timofeev b386372a86 [windows] Remove Hyper-V installation and switch VM size to standard d8s v4 (#2525)
* change vm spec to Standard_D8s_v4 for win images

* Remove Hyper-V feature
2021-01-29 18:16:05 +03:00
Andy Mishechkin 5b5da5ce02 [macOS] Software updates week 5 2021 (#2580) 2021-01-29 18:14:30 +03:00
Aleksandr Chebotov 45d672739e [Ubuntu] Revert hardcoded docker-compose version (#2588) 2021-01-29 17:05:44 +03:00
Darii Nurgaleev f5b6afebd0 [macOS] move Pester tests to separate files/contexts/describes (#2573)
* [macOS] Fail Pester tests on error

* return it back

* added all files for testing

* common utils path changed

* linux scripts shouldn't be touched
2021-01-29 12:37:48 +03:00
Mikhail Timofeev 2ee29eddc1 [Windows] Add more docker tests and move K8s tools into single provisioner (#2583)
* Add more docker tests

* Rework tools installation and test

* remove docker tests from tools

* get back kind installation

* transform kind download link to string

* add Add-MachinePathItem after kind installation
2021-01-29 11:38:57 +03:00
Alena Sviridenko 0fa90a6df5 updated bug report with image version (#2582) 2021-01-29 11:35:47 +03:00
github-actions[bot] f6674ad618 macOS 10.15 (20210123 update) (#2537)
* Updating readme file for macOS-10.15 version 20210123.2

* removed NDK announcement

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-29 06:14:55 +00:00
github-actions[bot] 4b03527e45 Ubuntu 2004 (20210123 update) (#2540)
* Updating readme file for ubuntu20 version 20210123.1

* restored NDK versions

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-28 16:51:25 +00:00
github-actions[bot] 7024b43bda Ubuntu 1804 (20210123 update) (#2539)
* Updating readme file for ubuntu18 version 20210123.1

* restored NDK version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-28 16:40:04 +00:00
github-actions[bot] 2a3deab59e Ubuntu 1604 (20210123 update) (#2541)
* Updating readme file for ubuntu16 version 20210123.1

* restored NDK version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-28 16:36:29 +00:00
Hutson Betts 46e0c05e7e [ubuntu] feat(docker): authenticate using DockerHub credentials (#2548)
Ubuntu builds, by default, pull images anonymously from the
official DockerHub. DockerHub rate limits requests from
anonymous and unpaid accounts:
- https://docs.docker.com/docker-hub/download-rate-limit/

When those rate limits are reached the Packer build will
fail with an error indicated the rate limit has been
reached.

Add support for providing credentials for a paid
account that can be used by the Docker setup steps to
authenticate when pulling images from DockerHub, thereby
avoiding the rate limit.

Related to #2094
2021-01-28 13:31:45 +03:00
Aleksandr Chebotov e2d6b1632b exclude macOS less than Catalina (#2570) 2021-01-27 17:26:40 +03:00
jmos5156 1eb504f4d4 Removing 'ImageVersion' as an env var as we already use 'IMAGE_VERSION' (#2509)
* Removing 'ImageVersion' as an env var as we already use 'IMAGE_VERSION'. The env var is only used SoftwareReport.Generator script.

* Adding IMAGE_VERISON to SoftwareReport.Generator

* Adding IMAGE_VERISON to SoftwareReport.Generator

* Chnaging the way the env vars are used to floow the same pattern throughout

Co-authored-by: Jose Mosquera <jose.mosquera@dotdigital.com>
2021-01-27 13:12:48 +03:00
Mikhail Timofeev df8a157caf [macOS] install geckodriver from binaries for 10.13 (#2559)
* install geckodriver from binaries for hs

* unite add to path block

* minor comment change

* fix variable name

* jg -r instead of tr

* change geckourl
2021-01-27 11:54:20 +03:00
github-actions[bot] d23e37467d macOS 10.13 (20210123 update) (#2535)
* Updating readme file for macOS-10.13 version 20210123.2

* removed NDK announcement

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-26 16:44:16 +00:00
Darii Nurgaleev 97a317b322 [Ubuntu] Add /home/runner/.local/bin to PATH (#2491)
* return it back

* added python new path

* added skel path implementation
2021-01-26 19:06:25 +03:00
Aleksandr Chebotov 5537d89215 [macOS] Add apache and nginx (#2522)
* add apache and nginx

* swap config and service status

* add new line

* remove notes
2021-01-26 17:14:31 +03:00
MaksimZhukov ed5d4dc5c5 [macOS] Fix Bazel issue (#2543)
* Install Bazel 3.7.1 on the macOS images less than Catalina

* Export the USE_BAZEL_VERSION variable to the bashrc

Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2021-01-26 10:44:38 +03:00
Mikhail Timofeev 0d1d77da0e [windows] add locked flag to cargo (#2546) 2021-01-26 10:30:38 +03:00
Mikhail Timofeev 06b88bd6ed [ubuntu] add locked flag to cargo (#2545) 2021-01-25 20:55:03 +03:00
Mikhail Timofeev 8be00cadcb [macos] add locked file for Cargo (#2544) 2021-01-25 19:55:35 +03:00
github-actions[bot] 7bfb39dac6 macOS 11.0 (20210123 update) (#2538)
* Updating readme file for macOS-11.0 version 20210123.1

* Removed NDK announcement

* restored NDK version in table

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
2021-01-25 13:20:49 +00:00
Aleksandr Chebotov 3f2f058e03 [macOS] set default Xcode 12.3 and bundle 6_15_5 (#2526) 2021-01-23 12:43:27 +03:00
Aleksandr Chebotov 4f6ab057d8 [Ubuntu] Install 1.27.4 on ubuntu16/18 (#2520)
* install 1.27.4 on ubuntu16/18

* add link to the issue

* replace contains to endswith
2021-01-22 22:12:57 +03:00
Dibir Magomedsaygitov 0ed014bc91 [Windows] Install Git using choco (#2473)
* use choco to install git

* remove ignore-dependencies for hub installation

* debug
2021-01-22 12:05:31 +03:00
Olafur Egilsson 9d00952bdf Use the value from toolset visualStudio.edition when locating VSIXInstaller (#2476)
* Use the value from toolset visualStudio.edition when locating VSIXInstaller.

Previously it was hardwired to "Enterprise".

* Changed as per review: https://github.com/actions/virtual-environments/pull/2476#discussion_r559966129
2021-01-22 10:35:43 +03:00
Mikhail Timofeev cae9df3eab Add Xcode 12.4 on macOS images (#2518) 2021-01-22 09:40:08 +03:00
Aleksandr Chebotov caa7a1ac6d [macOS] Get rid of invoke_tests imports (#2496)
* get rid of invoke_tests imports

* add sudo

* change path to /usr/bin/invoke_tests

* create /usr/local/bin dir

* remove local variables

* fix group owner

* set default 775 perm

* delete invoke_tests symlink
2021-01-22 09:26:28 +03:00
Mikhail Timofeev 8450762c10 Revert "Updating readme file for ubuntu18 version 20210111.1 (#2417)" (#2514)
This reverts commit 2656f12b4c.
2021-01-21 12:47:36 +03:00
Mikhail Timofeev 8481dbc320 Revert "Updating readme file for ubuntu20 version 20210111.1 (#2418)" (#2513)
This reverts commit 24d52e9697.
2021-01-21 12:47:11 +03:00
Mikhail Timofeev 832968b796 Revert "Updating readme file for ubuntu16 version 20210111.1 (#2419)" (#2512)
This reverts commit da495ea119.
2021-01-21 12:46:52 +03:00
Mikhail Timofeev 123ca0707a Revert "Updating readme file for win16 version 20210110.1 (#2411)" (#2511)
This reverts commit c29e01a1da.
2021-01-21 12:46:17 +03:00
Mikhail Timofeev 0715fc76ec Revert "Updating readme file for win19 version 20210110.1 (#2412)" (#2510)
This reverts commit 183594ed9a.
2021-01-21 12:45:55 +03:00
Dmitry Shibanov 51afead06e Freeze NDK 21 on Ubuntu Images (#2500) 2021-01-21 11:32:27 +03:00
Dmitry Shibanov 905516cc9c Freeze NDK 21 on Windows Images (#2499) 2021-01-21 11:31:35 +03:00
Dmitry Shibanov c3525f6978 Freeze NDK 21 on MacOS Images (#2497) 2021-01-21 11:31:14 +03:00
Alena Sviridenko cb5615b5a9 update README (#2502) 2021-01-21 11:25:27 +03:00
Sergey Dolin eb1e7bcb39 [ubuntu] Set HOMEBREW_NO_AUTO_UPDATE and HOMEBREW_NO_INSTALL_CLEANUP (#2470)
* Set HOMEBREW_NO_AUTO_UPDATE and HOMEBREW_NO_INSTALL_CLEANUP

* replace HOMEBREW_NO_INSTALL_CLEANUP with HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS
2021-01-21 11:21:32 +03:00
Maxim Lobanov 3360a9b60f Create CODEOWNERS file (#2402)
* Create CODEOWNERS

* move to .github

* Update CODEOWNERS
2021-01-20 21:37:42 +03:00
Andy Mishechkin 538640ca2a Chromium browser has been added to Ubuntu 20 (#2463)
* deploy script for chromium-browser has been created

* Chromium-browser.sh has been added to packer template

* Chromium has been added to software report

* Chromium-browser installation has been moved to toolset

* Bug - chromium-browser.sh has been removed from ubuntu2004.json

* Browsers documentation has been fixed
2021-01-20 14:46:42 +03:00
Nikita Bykov 29847cd01a added ANDROID_NDK_HOME and ANDROID_NDK_ROOT (#2472)
Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-01-20 12:40:57 +03:00
Juan Julián Merelo Guervós c63f698e70 [ubuntu] Adds detection of cpan version (#2488)
* Adds detection of cpan version

The Perl package manager

* Adds detected cpan version

* Updates copypasta
2021-01-20 11:27:55 +03:00
Dibir Magomedsaygitov 9f700144e1 add cbindgen back (#2482) 2021-01-20 10:30:01 +03:00
Darii Nurgaleev 03ce901f42 [macOS] Pester tests invocation after install - 2. (#2429)
* [macOS] Fail Pester tests on error

* return it back

* added new tests

* added new tests for Macos part2

* fixed nitpicks

* vsmac changes

* remove toolcache fron high sierra
2021-01-20 10:11:00 +03:00
Aleksandr Chebotov c47ccfbf9a [macOS] Update default Perl (#2478)
* update default Perl

* escape $ sign
2021-01-20 10:07:43 +03:00
github-actions[bot] c29e01a1da Updating readme file for win16 version 20210110.1 (#2411)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-19 18:46:18 +00:00
github-actions[bot] fd5ae8e60c macOS 11.0 (20210118 update) (#2480)
* Updating readme file for macOS-11.0 version 20210118.2

* removed macos-11.0 announcement

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-19 16:40:22 +00:00
Dibir Magomedsaygitov 83dfe141c7 [macOS] Sort tool names in README (#2441)
* sort tool names
2021-01-19 18:44:12 +03:00
github-actions[bot] 5f6a95ba04 Updating readme file for macOS-10.13 version 20210115.1 (#2474)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-19 07:02:43 +00:00
github-actions[bot] 183594ed9a Updating readme file for win19 version 20210110.1 (#2412)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-18 23:19:12 +00:00
Nikita Bykov 45322ef135 sort tools in readme (#2438)
Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-01-18 18:57:03 +03:00
Darii Nurgaleev a0656ad9b4 [Windows] Add JAVA section to docs. (#2467)
* [macOS] Fail Pester tests on error

* return it back

* git pus

* added fix for java docs

* changed java place
2021-01-18 15:45:17 +03:00
Aleksandr Chebotov e7970dd34f deprecate go < 1.13 and node.js 8 (#2445) 2021-01-18 09:45:56 +03:00
Mikhail Timofeev 0377be9290 Add 6_12_5 xamarin bundle (#2439) 2021-01-16 15:02:59 +03:00
Dibir Magomedsaygitov 8bbe62fcc4 [Windows] Sort tool names in README (#2422)
* sort tool names

* small fixes

* add sort-object
2021-01-15 17:30:09 +03:00
Darii Nurgaleev 7c6117e6ec [Ubuntu] Get toolset value function. (#2435)
* [macOS] Fail Pester tests on error

* return it back

* [Ubuntu] add get_toolset_values function

* added fix

* fix all nitpicks

* try to get rid brackets

* removed brackets.

* pipx-package fix
2021-01-15 17:12:26 +03:00
Aleksandr Chebotov 68e9c68855 [Windows] Add shell symlinks (#2395)
* add shell symlinks

* fix paths

* add a wrapper

* fix target output

* fix tests
2021-01-15 13:42:37 +03:00
github-actions[bot] da495ea119 Updating readme file for ubuntu16 version 20210111.1 (#2419)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-15 07:51:29 +00:00
github-actions[bot] 24d52e9697 Updating readme file for ubuntu20 version 20210111.1 (#2418)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-15 07:48:29 +00:00
Aleksandr Chebotov 32916b5163 deletes output of Stop/Set/Move-VM cmdlets (#2448) 2021-01-15 10:27:09 +03:00
Aleksandr Chebotov 3b80ec9501 deprecate go < 1.13 and node 8 (#2442) 2021-01-15 10:25:25 +03:00
github-actions[bot] 8c01125d31 Updating readme file for macOS-10.14 version 20210109.1 (#2434)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-15 06:41:02 +00:00
Leonid Lapshin 8079b61569 openssl php extension fix (#2444)
Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2021-01-15 09:35:36 +03:00
github-actions[bot] 2656f12b4c Updating readme file for ubuntu18 version 20210111.1 (#2417)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2021-01-15 05:14:12 +00:00
Dr e2027939f3 [Windows] use npm config instead of npm_config_cache (#2153)
The `npm_config_cache` env, if set, will have highest priority, and harder to change.

One way to un-set this is add a global workflow env, like:
```
env:
  npm_config_cache: ''
```

This commit change the cache config to use `npm config set cache $CachePath --global`,
which should save the path under the global npmrc at: `C:\npm\prefix\etc\npmrc`,
and allow easier later reset with user/repo level `.npmrc` files.

For the record, my usage is to unify all platform's npm cache to `~/.npm/`,
then use the same cache action config on all platform to cache the folder.
2021-01-14 19:27:02 +03:00
Aleksandr Chebotov ffc82ae582 [ubuntu] deprecate node.js 8 (#2443) 2021-01-14 17:40:43 +03:00
Leonid Lapshin 2e06b1a227 Removed PyPy version workaround for macOS 10.13 (#2414)
* removed pypy version workaround for macOS 10.13

* fix toolcache test on macos

* fixed an error

* disable strict name checking for imported powershell modules

* Ruby 3.0 doesn't exists on 10.13

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2021-01-14 12:17:44 +03:00
Darii Nurgaleev 0a255311b1 [macOS] Pester tests invocation after install. (#2421)
* [macOS] Fail Pester tests on error

* return it back

* [macOS] Pester tests invokation after install

* fix nitpicks

* CocoaPods fix
2021-01-13 20:46:44 +03:00
Aleksandr Chebotov e508e876f7 [Windows] Define mingw 8.1.0 (#2431)
* install the latest version

* Revert "install the latest version"

This reverts commit ddf40964b5.

* define mingw 8.1.0 version
2021-01-13 20:34:29 +03:00
Sergey Dolin ada08c2507 [windows] Change Android SDK root (#2343) 2021-01-13 15:58:05 +03:00
Aleksandr Chebotov f9383fcc03 [Image.CI] Change vm spec after shutdown (#2430)
* change spec after power off

* change specs after shutdown
2021-01-13 12:07:42 +03:00
Bruno Travouillon ab9b101a14 [ubuntu] Purge unattended upgrades (#2331)
The purge will remove any leftovers configuration files, including
/etc/apt/apt.conf.d/20auto-upgrades.
2021-01-13 12:07:02 +03:00
Nikita Bykov d20a55914c [Windows] Move the list of installed Java versions to toolset (#2369)
* added java to toolset

* updated java tests

* fixed windows2016.json

* fixed tests

* fixed java.Tests

* fixed Java.Tests.ps1

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-01-13 10:48:09 +03:00
Nikita Bykov 7457b9fecb [Ubuntu] Move the list of installed Java versions to toolset (#2393)
* added java to toolset

* fixed java-tools and updated tests

* fixed java-tools.sh

* fixed tests

* fixed java.Tests

* fixed java versions check

* fixed Java.Tests.ps1

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-01-13 10:47:03 +03:00
Nikita Bykov b42d8566f9 Add GraalVM Community Edition & GraalVM Native Image (#2330)
* added graalvm

* added native-image and updated SoftwareReport

* rework GraalVM installation

* fixed graalvm installation

* Updated SoftwareReport.Generator

* updated graalvm.sh

* fixed graalvm.sh

* fixed graalvm.sh

* removed rm command

* resolved comments

* fixed softwarereport for GraalVM

* added invoke_tests for graalvm

* fixed tests for graalvm

* fixed GraalVM tests and SoftwareReport

* added source  etc-environment.sh to graalvm.sh

* fixed GraalVM tests

* resolved comments

* fixed graalVM SoftwareReport

* added GRAALVM_11_ROOT variable

* fixed comment for env variable

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-01-13 10:45:39 +03:00
Leonid Lapshin 2882a9fde3 fixed comment in images.CI (#2427)
Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2021-01-12 17:29:48 +03:00
Dibir Magomedsaygitov c24eb0b7b5 [Windows] Fix hub installation (#2403)
* fix hub installation

* add comment

* small fix

* add link to the issue
2021-01-12 12:49:54 +03:00
Vladimir Safonkin afef0c94a8 [Ubuntu] Fix setEtcEnvironmentVariable function (#2394)
* Fix pipx installation

* Remove quotes from
2021-01-12 12:36:09 +03:00
Sergey Dolin ecc81aa902 Add missed Rust tools to the documentation for Win (#2401)
* Add documentation for rust tools

* Rename helpers

* Remove duplicates
2021-01-12 11:29:05 +03:00
github-actions[bot] 1d5d519fc5 Updating readme file for macOS-11.0 version 20210110.1 (#2413)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2021-01-11 16:41:39 +00:00
Sergey Dolin 83ccdbcc9d Add missed Rust tools to the documentation for macOS (#2397)
* Add documentation for rust tools

* Rename helpers
2021-01-11 10:57:51 +03:00
Mikhail Timofeev 31c97aac43 [Ubuntu] Get rid of simple apt-get provisioners (#2376)
* move 7z installation to basic.sh

* remove build essential

* move imagemagick to apt

* move subversion to apt

* move subversion to apt

* move sphinxsearch to apt

* move swig to apt

* move pollinate to apt

* move haveged to apt

* add p7zip to ubuntu 16
2021-01-11 10:42:58 +03:00
Darii Nurgaleev df05e8c6cb [macOS] Pester tests fail on error (#2378)
* [macOS] Fail Pester tests on error

* return it back

* [macOS] Pester tests fail on error

* some tests were moved

* appcenter cli moved

* openssl separate describe

* added new tests for java

* moved stack from haskell

* invoke tests to stack

* xamarin added tests sources

* mongo tests fix

* ndk path

* xamarin-android-ndk-tests removed

* fix nitpicks

* added new filename for XamarinNDK

* AzCopy Describe change

* added azcopy C correct.

* android additional_tools tests

* remove null elements from massive

* added new lines for verification macos 10.13

* add Android Tests for mac, not for linux
2021-01-11 09:30:51 +03:00
Aleksandr Chebotov e470bcde79 fix empty password for mysql-server (#2400) 2021-01-08 16:02:09 +03:00
Darii Nurgaleev 2fdc4d38d9 [macOS] Ruby3.0 installation fix (#2390)
* [macOS] Fail Pester tests on error

* return it back

* [macOS] fix ruby3 installation.
2021-01-06 09:21:49 +03:00
iBug 9b11155b75 Preload libgsl-dev in Ubuntu images, resolves #2356 (#2360) 2020-12-31 15:28:51 +03:00
Sergey Dolin 204775df20 Add Android Command Line tools to Linux images (#2364)
* Add Android Comand Line tools for Linux

* Fix software report
2020-12-31 13:08:02 +03:00
Sergey Dolin 58a6784582 [macos] Add Android Comand Line tools (#2363) 2020-12-31 11:22:17 +03:00
Dibir Magomedsaygitov 875891b86b [Ubuntu] Migrate missing tools tests to Pester (#2374)
* add missing tests

* fix naming and nvm test

* fix containers test and bring pwsh test back

* remove pwsh test

* small fix
2020-12-31 10:00:43 +03:00
Leonid Lapshin 3753e7b923 Databases and java pester tests (#2338)
* added mongodb postgres java tests

* fixed 1.7 and 12 Java on Ubuntu 20

* several improvments

* removed update-environment function

* add etc-environment import

* removed sourcing invoke-tests

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-30 18:04:55 +03:00
Leonid Lapshin 86adee10d0 [MacOS] Build VM packer spec changed (#2359)
* scheduling condition added and changed VMs specs for macos

* typo

* changed conditions order

* fixed an error

* added spec parameters that use pipeline variables values

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-30 17:46:17 +03:00
Leonid Lapshin f3394fb979 [ubuntu] reverted dotnet sdk extraction in parallel (#2373)
Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-30 14:26:37 +03:00
Leonid Lapshin 1ce075fe93 [ubuntu] Pester tests for dotnet sdk, cmd tools and codeql (#2335)
* dotnet cmd codeql tests

* fixed dotnet tests, added codeql to toolset

* changed codeql version to wildcard

* removed unused import and a test call

* tmp

* lowercase file name

* removed sourcing invoke-tests

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-30 13:50:21 +03:00
Sergey Dolin 3e1fdc417b [windows] Add Android Comand Line tools (#2362) 2020-12-30 11:29:15 +03:00
Vladimir Safonkin f3f0f47926 Add ruby 3.0.0 to the toolcache (#2366)
* Add Ruby 3.0.0 to toolsets

* Ruby 2.7.2 as default for macOS

* Minor fix
2020-12-30 09:58:27 +03:00
Vladimir Safonkin 0ae118c6ae [Ubuntu] Create symlink for Pester test running (#2349)
* Create symlink for test running

* Fix 1604 and 2004 templates

* Fix php and haskell running

* Minor fix

* Fix new added tests

* Fix symlink

* Minor fix

* Fix script permissions

* Minor fix

* Fix firefox and rust tests

* Fix new merged tests
2020-12-30 09:57:11 +03:00
Sergey Dolin 81909fddd5 Replace dpkg with apt (#2334)
dpkg can not get a lock, use apt mock script instead
2020-12-29 10:04:25 +03:00
Vladimir Safonkin 0a768b0726 [Ubuntu] Migrate tests to Pester (#2340)
* Add Pester tests

* Fix incorrect merging

* Remove swift test from installing script

* Minor fix

* Remove Haskell tests from commons tests

* Fix selenium test

* Fix SVN test

* Fix pipx tests

* Debug

* Fix pipx packages test

* Skip pipx for 16.04
2020-12-29 10:02:46 +03:00
Dibir Magomedsaygitov f58f2c1e02 [Ubuntu] Migrate Toolset tests to Pester (#2339)
* migrate toolset tests to pester

* move test invocation

* minor fixes
2020-12-28 15:07:00 +03:00
Mikhail Timofeev ab06a8a68f [macOS] Keep ruby 2.7 as the default one (#2358)
* Set ruby 2.7 instead of the latest one

* change ruby path in bashrc
2020-12-28 12:53:43 +03:00
Dibir Magomedsaygitov 7c15befd02 [Ubuntu] Migrate Browsers and Rust tests to Pester (#2323)
* add tests for browsers and rust

* small fix

* fix tests invoking

* small fixes

* resolve conflicts

* fix firefox test
2020-12-28 11:34:32 +03:00
Leonid Lapshin ba0809214b [ubuntu] Changed dotnet core sdk unpacking stage (#2297)
Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-28 11:26:28 +03:00
Leonid Lapshin 44ca8038b2 [macOS] added quotes (#2316)
Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-28 11:26:03 +03:00
Nikita Bykov dd12c1ae21 Rework MacOS documentation (#2336)
* rework macOS documentation

* resolved comments

* fixed function name

* Updated SoftwareReport.Common.psm1 and SoftwareReport.Generator.ps1

* fixed name

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2020-12-28 11:15:54 +03:00
MaksimZhukov 310f692ea5 [macOS] Fix the issue with brew install (#2354)
* Update azure-cli installation

* Update curl installation

* Update git-lfs installation

* Add utils

* Update gnupg installation

* Add brew_install function

* Revert jq installation

* Add condition for the aws-sam-cli

* Add return to function, revert aws-sam-cli changes, rename brew_install function

* Fix typo

Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2020-12-28 10:54:25 +03:00
Mikhail Timofeev 64c9751269 [Ubuntu] Migrate tests for common tools to Pester (part 3) (#2337)
* add test for Git

* Add Heroku

* Add hhvm

* Add Homebrew

* Add Julia

* Add kind

* Add Kubernetes Tools

* Remove kind and homebrew validate

* replace capital letter

* Add Leiningen

* add source to Leiningen

* Add Mercurial

* Add conda

* Add Netlify

* Add packer

* Add pollinate

* Add Pulumi

* Add Phantomjs

* Add Haveged

* Fix for kubectl

* Fix julia installation

* Add installer_script_folder env variable to run tests in brew provisioner

* Add delay after reboot

* Adjust pause settings
2020-12-25 18:03:35 +03:00
Maxim Lobanov f30f928378 Update readme to include more information about image availability (#2355)
* Update README.md

* Update README.md
2020-12-25 16:59:07 +03:00
Vladimir Safonkin 02c2fbad69 [Ubuntu] Migrate php to Pester tests (#2341)
* Php Pester tests

* Minor fix
2020-12-25 13:02:25 +03:00
Vladimir Safonkin 82b4e13fb0 [Ubuntu] Move Haskell tests to separate file. (#2348)
* Move Haskell tests to separate file

* Minor fix
2020-12-25 12:36:01 +03:00
Aleksandr Chebotov c86fcd37ee [ubuntu] remove stale go params (#2342) 2020-12-24 18:34:59 +03:00
Vladimir Safonkin ee8132a978 [Ubuntu] Migrate tests for Haskell to Pester (#2314)
* Add Pester tests for Haskell on Ubuntu

* Add tests for all installed ghc versions

* Minor fix

* Minor fix

* Fix number of installed ghc versions test

* Fix GHC number test
2020-12-24 12:36:37 +03:00
Vladimir Safonkin 7f1a7b4177 [Ubuntu] Migrate tests for Android to Pester (#2313)
* Add Pester tests for Android on Ubuntu

* Minor fix

* Move Get-AndroidPackages to common helpers

* Minor fix

* Delete Android test name for invoke_tests script
2020-12-24 12:14:41 +03:00
Dibir Magomedsaygitov 6245d40db7 fix vcpkg output (#2319) 2020-12-24 10:17:19 +03:00
Darii Nurgaleev 7403f33180 [macOS] add pester tests to install scripts part-1. (#2286)
* [macOS] add pester tests to install scripts part-1.

* changed version

* added changes related to common utils installation

* added source tests file

* removed tests from homebrew

* moved jq to homebrew

* fix nitpicks

* incorrect things are fixed.

* fixed some mistakes in the text

* commonutils changed.

* remove swiftlint installation from toolsets

* removed useless string
2020-12-23 18:14:13 +03:00
Aleksandr Chebotov ac87b63b13 [Ubuntu] Migrate PowerShell and Docker tests to Pester (#2317)
* PowerShell and Docker Pester tests

* no pester module

* import pester

* invoke docker with sudo

* remove native test

* add fix for az 1.0.0 module

* revert powershellget installation

* revert flag Force

* add $ProgressPreference = "SilentlyContinue"
2020-12-23 15:18:48 +03:00
Mikhail Timofeev ec4b0fa89c Revert "[windows] change vm spec to Standard_D8s_v4 for win images (#2318)" (#2333)
This reverts commit 1ff7e6a0c8.
2020-12-23 10:48:07 +03:00
Dibir Magomedsaygitov a9a236f7e5 [Ubuntu] Migrate tests for common tools to Pester (part 1) (#2288)
* add common tools tests pt1

* fix tests

* fix erlang test

* resolve comments

* minor changes

* remove extra logging
2020-12-23 10:25:52 +03:00
Mikhail Timofeev 7ff71c853d [macOS] Fix the issue with Python 2to3 symlink (#2326)
* change vm spec to Standard_D8s_v4 for win images

* remove symlink to 2to3

* explicitly overwrite symlinks
2020-12-22 21:34:29 +03:00
Darii Nurgaleev 0d93dd2fc9 [macOS] brew --cask option fix. (#2325)
* [macOS] brew --cask option fix.

* removed curl from HS

* return curl back
2020-12-22 10:48:31 +03:00
Aleksandr Chebotov 9da3c0764a Install the latest PHP version (#2210) 2020-12-22 09:45:29 +03:00
Dibir Magomedsaygitov 90ecf07404 [Ubuntu] Migrate tests for CLI tools to Pester (#2289)
* add tests for cli tools to pester

* small fix

* remove extra commenting

* resolve issues

* fix vercel test

* remove extra logging
2020-12-21 23:35:22 +03:00
CrazyMax 7e4e97b9d9 [Ubuntu] Add pass package (#2304)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-21 22:00:51 +03:00
Mikhail Timofeev 1ff7e6a0c8 [windows] change vm spec to Standard_D8s_v4 for win images (#2318) 2020-12-21 21:20:24 +03:00
Dmitry Shibanov 4de7f89a42 Add PYPY_VERSION file to the images (#2285)
* add PYPY_VERSION file

* resolving comments

* fix output for windows

* add fix for windows
2020-12-21 15:07:19 +03:00
Mikhail Timofeev b6b55afeaa [ubuntu] change to Standard_D4s_v4 (#2298) 2020-12-19 15:13:59 +03:00
Darii Nurgaleev a2e5aefffd [Ubuntu] update apt.mock with additional lock error. (#2299) 2020-12-18 21:34:02 +03:00
Alena Sviridenko 2012310c6c Update README with "how to contact us" guide (#2303)
* Added note about discussions

* added dot

* fixed formatting

* fixed wordnig
2020-12-18 20:52:28 +03:00
Mikhail Timofeev c160ddf991 [macOS] install swiftlint from pkg (#2296)
* install swiftling from pkg for Mojave

* Install swiftlint from package for all OS except HS, return xcode-clt installation

* add utils.sh
2020-12-18 20:41:31 +03:00
Darii Nurgaleev 73094f3bea [macOS] software update week 51 (#2287) 2020-12-18 10:32:29 +03:00
github-actions[bot] 08c829a5f0 Updating readme file for macOS-10.14 version 20201214.1 (#2269)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-18 06:57:34 +00:00
Darii Nurgaleev 0a9570b623 [macOS] change Invoke-Pester function (#2261)
* [macOS] change Invoke-Pester function

* added new logic

* try another approach.

* invoke-tests change

* added a little bunch of tests.

* remove import from browsers

* added source for all tests covered scripts.

* run all tests.

* added proper module import

* RunAll-Tests.ps1 changes.

* added shebang

* added new approach for tests.

* the first line should be shebang

* fixed nitpicks
2020-12-17 15:37:19 +03:00
github-actions[bot] bd488adea4 Updating readme file for macOS-10.15 version 20201212.1 (#2258)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-17 11:05:15 +00:00
Dibir Magomedsaygitov 2b93b03377 [Ubuntu] Implement first Pester tests (#2270)
* implement first pester tests

* add comment for azcopy test

* remove extra importing and old function

* resolve comments

* fix typo
2020-12-17 09:52:09 +03:00
github-actions[bot] be672cb22c Updating readme file for ubuntu18 version 20201210.0 (#2242)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-17 00:03:13 +00:00
github-actions[bot] fc8402e007 Updating readme file for win19 version 20201210.0 (#2239)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-16 13:56:20 +00:00
github-actions[bot] 1905c77688 Updating readme file for ubuntu20 version 20201210.0 (#2240)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-16 11:20:05 +00:00
Varun Agrawal 4462fe7121 Add Boost env variable to Linux docs (#2043)
* Add Boost env variable to Linux docs

* Revert "Add Boost env variable to Linux docs"

This reverts commit 67a54f233c.

* Update script to generate Boost variables for linux

* updated software report script to correct version

* Lots of fixes

* fix markdown formatting
2020-12-16 13:47:43 +03:00
github-actions[bot] 751222b27c Updating readme file for win16 version 20201210.0 (#2244)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-16 10:36:01 +00:00
github-actions[bot] 2856b92110 Updating readme file for ubuntu16 version 20201210.0 (#2246)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-16 09:45:27 +00:00
github-actions[bot] 8e2d3d3302 Updating readme file for macOS-10.13 version 20201214.1 (#2265)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-16 09:04:33 +00:00
Mikhail Timofeev cb27a9e0ad [macOS] Get rid of NDK version check test (#2280)
* change test to ndk 22

* remove test completely
2020-12-16 10:28:06 +03:00
Nikita Bykov d729747846 [macOS] Add GNU Tar (#2163)
* added gnu-tar

* rework gnu-tar installation

* fix SoftwareReport for gnu-tar

* add bsdtar to SoftwareReport

* updated SoftwareReport

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2020-12-15 10:43:27 +03:00
github-actions[bot] 8fb48a5c06 Updating readme file for macOS-11.0 version 20201213.1 (#2259)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-14 18:39:02 +00:00
Mikhail Timofeev 596e47fbcc set brew cleanup period (#2262) 2020-12-14 18:41:34 +03:00
Aleksandr Chebotov 8bf8504e77 bash version output (#2238) 2020-12-14 09:29:13 +03:00
Aleksandr Chebotov 80c5d4a561 bash version output (#2243) 2020-12-14 09:29:07 +03:00
Aleksandr Chebotov 034cf97599 bash version output (#2241) 2020-12-14 09:24:20 +03:00
Aleksandr Chebotov 911f1685c4 fix script links (#2237) 2020-12-11 10:16:04 +03:00
Mikhail Timofeev b635f29ec0 [macOS] Deprecate openssl 1.0.2 and set 1.1 as the default one (#2223)
* switch to 1.1 + test

* fix echo

* add path test

* fix version test

* Update comment

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-12-11 09:47:34 +03:00
Mikhail Timofeev 52a29b9213 fix templatepath and image variables (#2230) 2020-12-10 13:25:37 +03:00
Sergey Dolin 7775dfb021 [macos] Add Xcode command line tools version (#2205) 2020-12-10 11:15:39 +03:00
Aleksandr Chebotov b5a45214f5 [macOS] Disable AzureRM aliases (#2222)
* disable  AzureRM aliases

* remove Az.Account fix
2020-12-10 11:09:04 +03:00
michawets 693b6a0809 added git, fixed clone location, fixed import of modules (#2202)
Added git to the requirements
Fixed clone location (as further is referenced to c:\ )
Fixed import of modules (current command gives error! )
2020-12-10 10:17:43 +03:00
Mikhail Timofeev b392aa60bd set parameters explicitly (#2221) 2020-12-09 10:11:53 +03:00
Dibir Magomedsaygitov bcfa5eb226 add dotnet-core 5.0 (#2049) 2020-12-09 09:20:33 +03:00
Sergey Dolin 3c7eed569a Add android emulator version (#2144) 2020-12-08 22:13:20 +03:00
Mikhail Timofeev 464fc5b500 Install Python2 from pkg file (#2217) 2020-12-08 21:29:39 +03:00
Aleksandr Chebotov d7b5e5afb7 [Ubuntu] Fix add key in containers.sh script (#2196)
* fix add key

* fix apt-key add
2020-12-07 15:48:49 +03:00
Juan Julián Merelo Guervós 3cd4e423d8 Adds Perl version detection (#2206)
* Adds Perl version detection

* Follows @al-cheb advice 👍
2020-12-07 15:46:43 +03:00
github-actions[bot] 80ce7c1c6e Windows Server 2016 (20201202 update) (#2191)
* Updating readme file for win16 version 20201202.1

* added announcement section back

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-07 12:25:44 +00:00
github-actions[bot] f9e0bdcc06 Windows Server 2019 (20201202 update) (#2192)
* Updating readme file for win19 version 20201202.1

* added announcement section back

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-07 12:00:17 +00:00
Sergey Dolin bcd9c6c636 [windows] Fix spaces in ndk-build.cmd path (#2174)
* Fix spaces in ndk-build.cmd path

* Enforce utf-8 encoding
2020-12-07 10:58:10 +03:00
github-actions[bot] afa8bfb619 Ubuntu 2004 (20201130 update) (#2169)
* Updating readme file for ubuntu20 version 20201130.1

* added announcement

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-07 06:00:30 +00:00
Leonid Lapshin d18c405175 [macOS] Clarify clang versions (#2147)
* add clang versions

* changed default location to  get-command

* changed formatting

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-04 13:45:53 +03:00
github-actions[bot] a25022f6a7 macOS 10.15 (20201130 update) (#2177)
* Updating readme file for macOS-10.15 version 20201130.3

* fixed rustup version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-04 07:50:33 +00:00
Dibir Magomedsaygitov a4aa77743e add dotnet-core 5.0 (#2050) 2020-12-04 10:22:27 +03:00
Dibir Magomedsaygitov ae1a1607b0 add dotnet-core 5.0 (#2048) 2020-12-04 10:22:12 +03:00
Dibir Magomedsaygitov db676f65e8 [macOS] Fix version output for vcpkg (#2141)
* change version output for vcpkg

* minor fix

* change commit id to short

* minor change
2020-12-04 10:21:32 +03:00
Dibir Magomedsaygitov 84744e30de [Windows] Fix version output for vcpkg (#2142)
* change version output for vcpkg

* change to short commit id

* minor change

* minor change

* minor change

* resolve issue
2020-12-04 10:21:21 +03:00
Dibir Magomedsaygitov f415c1f30f [Ubuntu] Fix version output for vcpkg (#2140)
* change version output for vcpkg

* change commit id to short

* minor change
2020-12-04 10:21:12 +03:00
MaksimZhukov cd45b96d7f Fix rustup version in docs (#2190)
Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2020-12-03 19:50:09 +03:00
github-actions[bot] 185b8209c2 Ubuntu 1604 (20201129 update) (#2160)
* Updating readme file for ubuntu16 version 20201129.1

* added announcement

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-03 15:46:29 +00:00
Aleksandr Chebotov d0dd391b70 [macos] install gfortran-10 (#2186) 2020-12-03 18:40:19 +03:00
Markus Podar f0bafa3eae [Ubuntu] Add MediaInfo package (#2188)
See https://github.com/actions/virtual-environments/issues/2185
2020-12-03 18:34:14 +03:00
Shivam Mathur c899ed38f9 [Ubuntu] Add PHP 8.0 (#2162) 2020-12-03 18:32:57 +03:00
github-actions[bot] 5987ab0f60 Ubuntu 1804 (20201129 update) (#2159)
* Updating readme file for ubuntu18 version 20201129.1

* added announcement

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-03 14:59:24 +00:00
Darii Nurgaleev c45b5f5b6f [Ubuntu] Powershell Tools/Modules software report. (#2164)
* added new tables to ubuntu generation.

* changes applied

* removed powershell version
2020-12-03 08:35:46 +03:00
Darii Nurgaleev 261d2e0154 [Ubuntu20] remove reboot from packer json. (#2165) 2020-12-03 08:30:41 +03:00
Dibir Magomedsaygitov 77db8c40a0 [Ubuntu] Fix Openshift-client installation (#2184)
* fix oc installation

* resolve issue
2020-12-02 19:28:36 +03:00
Darii Nurgaleev a94b661b02 [Ubuntu] Additional verification for container's tools (#2175)
* Additional verification for container's tools

* changed verification according to other scripts.

* added for loop

* create array for tools.
2020-12-02 14:46:08 +03:00
github-actions[bot] 8f026da929 macOS 11.0 (20201130 update) (#2183)
* Updating readme file for macOS-11.0 version 20201130.3

* updated rustup version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-12-02 10:59:20 +00:00
Ewout ter Hoeven a7287233bc [Ubuntu] Always install latest CMake version (#2131)
* [Ubuntu] Always install latest CMake version

Should fix #2129 and succeeds #2126 

Thanks to @unfor19 for [this solution](https://gist.github.com/steinwaywhw/a4cd19cda655b8249d908261a62687f8#gistcomment-3459923)

Please test extensively.

* [Ubuntu] CMake.sh: Use jq instead of grep

* [Ubuntu] cmake.sh: Extract URL directly from API output

Co-authored by @al-cheb, thanks!
2020-12-02 12:57:05 +03:00
Sergey Dolin 7893bb54f3 [ubuntu] Handle DNS error and errors in the child processes (#2146) 2020-12-02 11:47:01 +03:00
Aleksandr Chebotov 906e2ab865 [Windows] Set PHP-7.4 as default (#2170)
* debug message

* debug output total folders

* Install PHP-7.4
2020-12-01 15:56:17 +03:00
Leonid Lapshin 55d0c3bed6 [ubuntu] Improve dotnet SDKs installation (#2078)
* download dotnet sdk with retries

* url file doesnt exists

* changed background processes to gnu parallel

* moved scriptblock to function

* fixed path

* changed rsync to mv

* typo

* rsync with remove-source-files option

* minor function changes

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-01 10:26:50 +03:00
Dibir Magomedsaygitov 91c6620f2d replace http to https (#2133) 2020-11-30 18:22:41 +03:00
Maxim Lobanov 90a4768d01 Update rust.sh (#2158) 2020-11-30 18:04:14 +03:00
Leonid Lapshin 407d506169 [macOS] Software updates Week 49 (#2136)
Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-11-27 11:12:05 +03:00
Dibir Magomedsaygitov 75d141eb67 [macOS] Pre-cache Ruby binaries (#2085)
* precache ruby binaries

* remove github_feed_token and minor change

* do not install ruby binaries from toolset

* remove toolcache file
2020-11-27 10:53:17 +03:00
Dibir Magomedsaygitov 38b0a6005d [Ubuntu] Pre-cache Ruby binaries (#2084)
* precache ruby binaries

* remove github_feed_token

* fix logs
2020-11-27 10:52:00 +03:00
Maxim Lobanov 8d6d64a04e Implement script to parse provisioners duration from packer diagnostic logs (#2137)
* testing

* Update image-generation.yml

* Update image-generation.yml

* fix comments

* Update measure-provisioners-duration.ps1
2020-11-27 10:50:54 +03:00
Aleksandr Chebotov 3100bc2e63 add cleanup-logs.sh post-generation script (#2138) 2020-11-27 10:19:37 +03:00
Ewout ter Hoeven b170f4b6c6 [Ubuntu] Update CMake to 3.19.1 (#2126)
Update CMake from 3.17.0 to 3.19.1 on the Linux/Ubuntu images. Release notes: https://cmake.org/cmake/help/latest/release/index.html
2020-11-26 11:04:25 +03:00
Sergey Dolin 1424801fba [ubuntu] fix sporadic build fails (#2091)
* fix apt-get update

* Improve diagnostic

* handle "IPC connect call failed"

* Handle not-existing tool

* final refactoring

* remove todo

* remove which
2020-11-25 11:19:51 +03:00
Kamil Breguła e81ce0c3d7 Move gcloud to CLI tools section (#2086)
* Move gcloud to CLI tool section

* Update SoftwareReport.Generator.ps1

* Update Ubuntu2004-README.md
2020-11-25 11:06:55 +03:00
Andy Mishechkin 61c1c8df4f gfortran-10 has been added (#2103)
* GFortran-10 has been added

* Checkin of Ubuntu version has been added
2020-11-25 10:13:17 +03:00
Maxim Lobanov ebecc93df3 Move BizTalk Server lower in documentation (#2125)
* Update SoftwareReport.Generator.ps1

* Update SoftwareReport.Generator.ps1
2020-11-25 08:45:44 +03:00
Elvis Shi 3a7123ebeb Add BizTalk Server project build component to build agent machine. (#1960)
* Add BizTalk Project Build components, including msi and vsix.

* Add BizTalk Build Components to software report.

* Use registry/folder check replace actually BizTalk Project building for testing purpose.

* Remove unnecessary try/catch.

* Make sure BizTalk related software report only for Windows 2019 OS.

* Add statement to make sure BizTalk test only invoked in Win19 env.

* Fix test failue when no test runs use "skip"

* Update the TestName to be identity to BizTalk.Test.ps1
2020-11-24 19:20:02 +03:00
github-actions[bot] e707b6a3c5 Updating readme file for win19 version 20201116.1 (#2076)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-21 18:20:56 +00:00
github-actions[bot] 9bc035495d Updating readme file for ubuntu16 version 20201116.1 (#2065)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-21 10:16:28 +00:00
github-actions[bot] 3b009039cb Updating readme file for win16 version 20201116.1 (#2075)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-21 06:21:27 +00:00
github-actions[bot] e94266e28e Updating readme file for ubuntu20 version 20201116.1 (#2069)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-21 06:12:22 +00:00
github-actions[bot] 9ffd170868 Updating readme file for macOS-10.15 version 20201115.1 (#2073)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-20 14:27:11 +00:00
github-actions[bot] 28ff33c9ce Updating readme file for ubuntu18 version 20201115.1 (#2064)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-20 07:20:40 +00:00
Aleksandr Chebotov 9e906b7f73 [Post-Generation] Turn off IE ESC factory script (#2079)
* turn off IE ESC factory script

* suppresses the error message
2020-11-19 12:31:30 +03:00
VNiharika1 5806c3aa85 Cache Update (#2066)
* Cache Update

Some base images of the ubuntu on AWS contains an outdated cache. So, when tries to installs the package we receive an error `unable to locate package`. To install the package, added the line `apt-get update`  to update the cache.

* Rebase and commit
2020-11-19 12:29:15 +03:00
Maxim Lobanov e3558bca59 Merge pull request #1977 from maxim-lobanov/v-malob/xcode
Rework Xcode installation to use PowerShell and resolve latest version automatically
2020-11-18 13:46:12 +03:00
Maxim Lobanov d755c4fd13 Merge pull request #2047 from al-cheb/al-cheb/use-setup-ruby-logic
[Windows] Replace npm feed to pre-cache official Ruby binaries
2020-11-18 12:43:31 +03:00
Maxim Lobanov 8445f55d50 Merge branch 'main' into al-cheb/use-setup-ruby-logic 2020-11-18 12:40:07 +03:00
github-actions[bot] 576a03e343 macOS 11.0 (20201116 update) (#2080)
* Updating readme file for macOS-11.0 version 20201116.13

* Update macos-11.0-Readme.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-18 08:57:18 +00:00
Maxim Lobanov f305ea6355 Merge pull request #2077 from vsafonkin/v-vlsafo/macos-remove-announcements-from-generation
[macOS] Remove announcements from generation process
2020-11-18 09:36:58 +03:00
Maxim Lobanov 7a511f87bf Merge pull request #2070 from al-cheb/al-cheb/update-wsl-version
[Windows] Update WSLv1 version
2020-11-18 09:36:38 +03:00
Maxim Lobanov 8f51e30cd8 Merge pull request #2081 from dibir-magomedsaygitov/v-dimago/fix-hub-cli-version-output
[macOS] Fix output of Hub CLI version
2020-11-17 19:52:41 +03:00
Vladimir Safonkin 3397eaff41 Merge remote-tracking branch 'upstream/main' into v-vlsafo/macos-remove-announcements-from-generation 2020-11-17 15:31:00 +03:00
Dibir Magomedsaygitov a4f14eb697 fix hub cli version output 2020-11-17 12:45:17 +03:00
Maxim Lobanov 97fe26f066 Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-17 12:13:58 +03:00
Maxim Lobanov ba653931ac Merge pull request #2074 from Darleev/v-danurg/remove_gcc_workaround
Homebrew: Remove gcc workaround
2020-11-17 12:13:37 +03:00
Maxim Lobanov cb4022de26 Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-17 11:59:19 +03:00
Sergey Dolin d3f2f21627 [ubuntu] Add Az Module (#2061) 2020-11-17 11:04:34 +03:00
Sergey Dolin d79dfb95aa [ubuntu] Limit apt sources to the actual architectures (#2021)
* limit apt sources to the actual architectures

* Move the modification from its own file to base/apt.sh

* Add comment
2020-11-17 11:03:23 +03:00
Vladimir Safonkin 7dae76249b [ubuntu][windows] Remove announcements from generation (#2063) 2020-11-17 10:20:55 +03:00
Vladimir Safonkin a454d66e7f [Ubuntu] Add MS SQL Tools version (#2046)
* Add MS SQL Tools version

* Minor fix

* Move MS SQL tools installation to separated file

* Minor fix

* accept yula
2020-11-17 10:18:27 +03:00
Vladimir Safonkin 39d85aa54f Remove announcements from generation 2020-11-17 09:20:13 +03:00
Darii Nurgaleev fd62ffec4f remove gcc workaround 2020-11-17 12:36:10 +07:00
Aleksandr Chebotov 763c1277c6 update WSLv1 version 2020-11-16 19:13:37 +03:00
Maxim Lobanov efcf173e49 Merge pull request #2062 from akv-platform/al-cheb/move-stage
[Image.CI] Move up the readme output stage
2020-11-16 10:54:08 +03:00
Aleksandr Chebotov 69370b14c4 remove bundler installation 2020-11-16 10:46:20 +03:00
Aleksandr Chebotov 7fe3cd21ca move up the readme stage 2020-11-16 10:12:38 +03:00
Maxim Lobanov d4cee3bfaa Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-13 20:37:18 +03:00
Maxim Lobanov 6e5366d4f4 xcode versions 2020-11-13 20:36:22 +03:00
MaksimZhukov f887695075 [macOS] Upgrade default Python to 3.9 (#2034)
Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2020-11-13 18:01:56 +03:00
Aleksandr Chebotov 9ef75097cf pick up a random datastore by condition (#2057) 2020-11-13 18:00:58 +03:00
Mikhail Timofeev 1be42bd050 Add Xcode 12.2 and 12.3 beta (#2054) 2020-11-13 17:57:58 +03:00
Maxim Lobanov 8d330bd360 Merge pull request #2053 from akv-platform/al-cheb/add-ubuntu-pwsh71
[Ubuntu20] Swap Ubuntu-20.04 powershell installation from snap to official package
2020-11-13 14:45:53 +03:00
Aleksandr Chebotov 5534aa6946 remove ruby doc folder 2020-11-13 10:25:05 +03:00
Aleksandr Chebotov 8c36184139 remove Az.Accounts=1.9.5 fix 2020-11-13 10:22:49 +03:00
Maxim Lobanov 44dc34ad28 Merge pull request #2042 from Darleev/v-danurg/software_update_week47
[macOS] Software update week 47
2020-11-13 09:40:15 +03:00
github-actions[bot] 544f52a21f Updating readme file for win16 version 20201108.1 (#2010)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-13 04:22:46 +00:00
github-actions[bot] 55c9bd353f Updating readme file for win19 version 20201108.1 (#2028)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-13 00:15:37 +00:00
Darii Nurgaleev 2561b58ef3 get-osversion changed 2020-11-13 01:14:19 +07:00
Darii Nurgaleev f7db5a4401 Another changes in Get-OSVersion 2020-11-13 00:57:01 +07:00
Darii Nurgaleev 4434a111d2 added changes to Get-OSVersion 2020-11-13 00:54:30 +07:00
Aleksandr Chebotov fe3f5efbe8 rework ruby installation 2020-11-12 20:09:32 +03:00
github-actions[bot] 45ca9ffd5f Updating readme file for ubuntu18 version 20201108.1 (#2008)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-12 16:13:37 +00:00
github-actions[bot] 7b54aa465e Updating readme file for ubuntu16 version 20201108.1 (#2006)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-12 13:15:57 +00:00
github-actions[bot] ca26b3c2b6 Updating readme file for ubuntu20 version 20201108.1 (#2009)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-12 13:08:20 +00:00
Darii Nurgaleev 11b63456bf added get-osversion for pwsh 7.1 2020-11-12 19:36:16 +07:00
Darii Nurgaleev 6a632407df changed bundled back. 2020-11-12 16:50:07 +07:00
Darii Nurgaleev 7300ee9c42 software_update_week_47 2020-11-12 16:45:43 +07:00
Maxim Lobanov 7f0fed72d7 Merge pull request #1995 from dibir-magomedsaygitov/v-dimago/add-dotnet-core-5.0-macos
[macOS] Move list of .Net Core versions to install to toolset
2020-11-12 12:34:06 +03:00
Maxim Lobanov 364fd63255 Merge pull request #2020 from dibir-magomedsaygitov/v-dimago/add-dotnet-5.0-win
[Windows] Move list of .Net Core versions to install to toolset
2020-11-12 12:32:26 +03:00
Maxim Lobanov a58a4d46c3 Merge pull request #1994 from dibir-magomedsaygitov/v-dimago/add-dotnet-5.0-ubuntu
[Ubuntu] Move list of .Net Core versions to install to toolset
2020-11-12 12:09:49 +03:00
Maxim Lobanov 380c4e86a7 Update toolset-10.13.json 2020-11-12 12:07:53 +03:00
Maxim Lobanov 2f24c20c68 Merge pull request #2035 from maxim-lobanov/v-malob/fix-tag-name
Fix image link in initialize job step
2020-11-12 10:48:41 +03:00
Aleksandr Chebotov baa945c304 swap snap to apt-get 2020-11-12 10:48:00 +03:00
Leonid Lapshin 0216e5ce2b [ubuntu] Remove unattended upgrades (#2036)
* remove unattended upgrades package

* comment

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-11-11 21:47:51 +03:00
Maxim Lobanov eca75184fa Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/fix-tag-name 2020-11-11 17:03:24 +03:00
Maxim Lobanov 1c9acd7c2a Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-11 17:02:30 +03:00
Dibir Magomedsaygitov 8b2fcfa967 Merge branch 'main' into v-dimago/add-dotnet-core-5.0-macos 2020-11-11 16:25:03 +03:00
Dibir Magomedsaygitov 19854dc321 resolve issue with dotnet tests 2020-11-11 16:22:17 +03:00
Maxim Lobanov 29855ca73d Merge pull request #2032 from Darleev/v-danurg/gcc_workaround_macos
macOS: gcc workaround
2020-11-11 16:11:11 +03:00
Maxim Lobanov 897349365a Update Xcode.Installer.psm1 2020-11-11 14:34:50 +03:00
Maxim Lobanov 1aad4c7b8d accept proposal 2020-11-11 14:33:35 +03:00
Maxim Lobanov f35b699a07 Update preimagedata.sh 2020-11-11 14:24:53 +03:00
Sergey Dolin ec9befb26a Workaround for apt db locked by WALinuxAgent v2 (#2000)
* retry apt if lock is held by other process

* Increase timeout and change grep string
2020-11-11 14:01:41 +03:00
Maxim Lobanov c656a9ddf2 fix nitpicks 2020-11-11 13:24:11 +03:00
github-actions[bot] 85c66c52c9 Updating readme file for macOS-10.15 version 20201107.1 (#2015)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-11 07:38:21 +00:00
Maxim Lobanov 772f80fadc Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-11 10:20:42 +03:00
Maxim Lobanov 6bd14d8f7b Update Readme.md 2020-11-11 09:31:22 +03:00
Maxim Lobanov 0478b402a8 Merge pull request #2012 from miketimofeev/macos-retry-downloads
[macOS] Add retry logic
2020-11-11 09:22:32 +03:00
Darii Nurgaleev 1c9a9c1c9e added brew issue link 2020-11-11 13:20:18 +07:00
Darii Nurgaleev 1edf18bc3f added workaround for gcc 2020-11-11 13:11:31 +07:00
Maxim Lobanov a31ef3fcfe Merge pull request #2025 from al-cheb/al-cheb/disable-pwsh-update-check
[Windows] PWSH - turns off the update notification feature
2020-11-10 21:47:53 +03:00
Dibir Magomedsaygitov 0dfa33bbc7 remove dotnet-core 1.1 2020-11-10 20:52:28 +03:00
Dibir Magomedsaygitov 211470228d resolve issue with getting dotnet versions 2020-11-10 20:43:05 +03:00
github-actions[bot] 562100df60 Updating readme file for macOS-10.14 version 20201106.2 (#2011)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-10 14:48:01 +00:00
Maxim Lobanov ee8face8f2 fix condition and toolsets 2020-11-10 16:48:20 +03:00
Dibir Magomedsaygitov 3fcc00e234 remove dotnet-core 5.0 2020-11-10 16:02:17 +03:00
Dibir Magomedsaygitov 7bf2707ac2 remove dotnet-core 5.0 2020-11-10 15:57:29 +03:00
Dibir Magomedsaygitov caa872685a resolve issues 2020-11-10 15:50:34 +03:00
Maxim Lobanov 9463890e1e Merge pull request #1945 from shivammathur/shivammathur-php
[Ubuntu] Add php-dev and php-pear
2020-11-10 15:36:59 +03:00
Vladimir Safonkin 4ce27ca446 sudo for cleanup temporary dirs 2020-11-10 12:44:58 +03:00
Aleksandr Chebotov b99c150f41 Off turns off the update notification feature 2020-11-10 11:30:12 +03:00
Vladimir Safonkin 3250f19314 cleanup /tmp explicitly 2020-11-10 09:31:57 +03:00
Dibir Magomedsaygitov 325070bdee install dotnet 5.0 and rework installation logic 2020-11-10 01:15:37 +03:00
Vladimir Safonkin f412ec4c26 Minor fix 2020-11-09 20:07:01 +03:00
github-actions[bot] 80d67ba1b1 Updating readme file for macOS-10.13 version 20201107.1 (#2013)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-09 16:22:01 +00:00
Maxim Lobanov 142bbb8e24 Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-09 17:51:05 +03:00
Maxim Lobanov c1a5ebfc6a Update xcode.ps1 2020-11-09 17:46:21 +03:00
github-actions[bot] 7c13be802f Updating readme file for macOS-11.0 version 20201107.1 (#2016)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2020-11-09 12:59:02 +00:00
Maxim Lobanov 0a3cb90980 Merge pull request #1715 from maxim-lobanov/v-malob/big-sur
Enable Java tests since Java switching was fixed in MacOS 11.0
2020-11-09 12:29:43 +03:00
Vladimir Safonkin 7c9f3de0d7 Minor fix 2020-11-09 11:49:16 +03:00
Vladimir Safonkin 3a9390dcbc download to /tmp for azcopy and aws 2020-11-09 11:25:04 +03:00
Vladimir Safonkin ffcfad23be Minor fix 2020-11-09 11:18:42 +03:00
Vladimir Safonkin 8d3568601b Move nuget.exe from tmp to mono dir 2020-11-09 11:17:28 +03:00
Vladimir Safonkin 3f6213bc8d Merge remote-tracking branch 'upstream/main' into macos-retry-downloads 2020-11-09 11:00:40 +03:00
Maxim Lobanov fa9109cc62 [MacOS] Exclude release candidates from XCODE_DEVELOPER_DIR variables (#1998)
* exclude release candidates from XCODE_DEVELOPER_DIR

* Update Xcode.Tests.ps1
2020-11-06 22:13:28 +03:00
Maxim Lobanov 4755c5caba Merge pull request #1970 from LeonidLapshin/v-llaphin/fix-path
[Linux] Fix PATH variable
2020-11-06 15:19:57 +03:00
Maxim Lobanov 526e796633 Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-06 14:41:15 +03:00
Maxim Lobanov ff57628876 Merge pull request #1996 from miketimofeev/fix-brew-permissions
[Ubuntu] Reset homebrew git repository to restore file permissions
2020-11-06 14:39:24 +03:00
Mikhail Timofeev 642380275e simplify cd 2020-11-06 14:38:47 +03:00
Maxim Lobanov bf48ac16ea fix typos 2020-11-06 14:38:43 +03:00
Maxim Lobanov f79c88761a Merge pull request #1997 from miketimofeev/update-winapp-driver-to-1.2.1
[windows] Update winapp driver to 1.2.1
2020-11-06 11:43:25 +03:00
Vladimir Safonkin 1ac24689ce Fix pypy package name 2020-11-06 08:22:54 +03:00
Shivam Mathur 25239b5156 Add php-dev and php-pear (#1944) 2020-11-06 10:35:05 +05:30
Alena Sviridenko b4c00c3578 [macOS] Add Xcode 12.1.1 RC & Xcode 12.2 RC (#1991)
* Add Xcode 12.1.1

* add Xcode 12.2 RC as well
2020-11-06 02:56:26 +03:00
Mikhail Timofeev b084d6241b Always install latest version 2020-11-06 02:52:23 +03:00
Mikhail Timofeev f07a74c694 update driver 2020-11-06 02:34:47 +03:00
Mikhail Timofeev adbd8a74dc add brew git reset 2020-11-06 02:05:48 +03:00
github-actions[bot] 397cd6cee7 Updating readme file for ubuntu18 version 20201102.0 (#1966)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-05 22:22:40 +00:00
Leonid Lapshin 981df9e44f revert brew fix 2020-11-06 00:56:14 +03:00
Leonid Lapshin 45b33107cd Fix brew repository permissions to make it clean 2020-11-06 00:33:39 +03:00
Leonid Lapshin 76969aa236 Merge branch 'main' of https://github.com/actions/virtual-environments into v-llaphin/fix-path 2020-11-06 00:32:36 +03:00
Aleksandr Chebotov 567e92c4dc [Ubuntu] Freeze Az.Accounts module for Ubuntu 20 (#1993)
* add reboot for Ubuntu20

* freeze Az.Accounts 1.9.5
2020-11-05 23:01:06 +03:00
Leonid Lapshin 0269bec6f4 grep first entry of PATH 2020-11-05 22:08:19 +03:00
Maxim Lobanov 66b931d9af Merge pull request #1990 from al-cheb/al-cheb/patch-ubuntu20
[Ubuntu] Fix image generation for Ubuntu20
2020-11-05 21:24:18 +03:00
Dibir Magomedsaygitov 30c295f823 small fix 2020-11-05 20:15:43 +03:00
Dibir Magomedsaygitov 379220ce50 add dotnet core 5.0 2020-11-05 20:06:59 +03:00
Maxim Lobanov dfb2e1d5b4 Merge pull request #1958 from aibaars/patch-1
OSX: Rust tools: install 'rustfmt' and 'clippy'
2020-11-05 19:52:06 +03:00
Dibir Magomedsaygitov 7f98841545 small rework 2020-11-05 19:35:43 +03:00
Dibir Magomedsaygitov 46520bfdb3 install dotnet-core 5.0 on ubuntu 2020-11-05 19:14:50 +03:00
Vladimir Safonkin 0d2d9aed37 Fix pypy url 2020-11-05 18:49:43 +03:00
Maxim Lobanov f93cb491a5 Merge pull request #1973 from maxim-lobanov/v-malob/macos-depr
Deprecate old Xcode versions on MacOS image, update Node.JS to 14.0
2020-11-05 17:53:04 +03:00
Aleksandr Chebotov ad583eba90 add reboot for Ubuntu20 2020-11-05 15:53:49 +03:00
Leonid Lapshin 31b11e1576 select last entry of PATH, respect eol 2020-11-05 15:38:26 +03:00
Sergey Dolin ff49068542 Print more informantion about cached Docker images linux (#1906)
* Add docker full info

* make tabular output

* fix shebang

* remove created at time

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-11-05 12:20:40 +03:00
Maxim Lobanov 371d0f96d5 Merge pull request #1988 from al-cheb/revert-1648-main
Revert "[Windows]  Removed Git internal tools from PATH"
2020-11-05 11:41:22 +03:00
Aleksandr Chebotov 635a57ab88 Revert "[Windows] Removed Git internal tools from PATH" 2020-11-05 11:39:54 +03:00
Maxim Lobanov ac4f5699c7 Merge pull request #1987 from al-cheb/revert-1937-al-cheb/git-wrapper-bash
Revert "[Windows] Add bash wrapper from git"
2020-11-05 11:39:44 +03:00
Aleksandr Chebotov 5c99d59f22 Revert "[windows] add bash wrapper from git (#1937)"
This reverts commit 8798c75d67.
2020-11-05 11:37:02 +03:00
Maxim Lobanov f5fdba51d7 Merge pull request #1769 from nikita-bykov/pipx-windows
[Windows] Add pipx and install yamllint through it
2020-11-05 11:27:58 +03:00
github-actions[bot] c45e72e08e Updating readme file for ubuntu16 version 20201102.0 (#1968)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-11-05 08:08:11 +00:00
Maxim Lobanov 4e4bf28499 Merge branch 'main' into pipx-windows 2020-11-05 10:50:57 +03:00
Maxim Lobanov df927d7dc0 Merge pull request #1974 from maxim-lobanov/v-malob/depre-linux
Deprecate Boost 1.69.0 from Ubuntu images
2020-11-05 10:48:30 +03:00
Maxim Lobanov b775256fdf Merge pull request #1975 from maxim-lobanov/v-malob/depr-windows
Deprecate Boost 1.69.0 from Windows images
2020-11-05 10:48:15 +03:00
Maxim Lobanov 589cb6f612 Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/big-sur 2020-11-05 10:47:38 +03:00
Sergey Dolin b326801306 Print more informantion about cached Docker images on Windows (#1905)
* Add docker full info

* make tabular output

* remove created at time

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-11-05 10:43:41 +03:00
Maxim Lobanov 5fac646209 Update Node.Tests.ps1 2020-11-05 10:38:20 +03:00
Leonid Lapshin 98731b3621 get PATH from /etc/environment 2020-11-05 10:36:01 +03:00
Vladimir Safonkin aebe9deced Merge remote-tracking branch 'upstream/main' into macos-retry-downloads 2020-11-05 08:24:07 +03:00
Aleksandr Chebotov 2842ad4c00 Revert "[Ubuntu] Install pwsh using dotnet tool" (#1979) 2020-11-04 14:29:44 +03:00
Maxim Lobanov 067fc901f9 update templates 2020-11-04 10:40:20 +03:00
Maxim Lobanov 52c265bd7a Update SoftwareReport.Generator.ps1 2020-11-04 10:14:30 +03:00
Maxim Lobanov 50f480ae16 update toolsets 2020-11-04 10:14:19 +03:00
Maxim Lobanov 0ac8b88061 deprecate old tools 2020-11-04 09:30:19 +03:00
Maxim Lobanov b8d7319f37 deprecate old tools 2020-11-04 09:27:56 +03:00
Maxim Lobanov aee4de7755 deprecate old tools on MacOS 2020-11-04 09:23:31 +03:00
Leonid Lapshin 9d8d110fcf typo 2020-11-04 00:42:36 +03:00
Maxim Lobanov 49aab970c1 Update download-repo.ps1 2020-11-03 22:31:54 +03:00
Maxim Lobanov 117cefd4b3 цц 2020-11-03 22:18:41 +03:00
Maxim Lobanov 43e905b4bd Update Java.Tests.ps1 2020-11-03 16:58:07 +03:00
Maxim Lobanov 434d212bdf Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-03 16:33:54 +03:00
Sergey Dolin d511b0d2da [windows] give full access to Temp folder (#1959)
Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-11-03 15:58:18 +03:00
Leonid Lapshin 09533dd5e9 fixed comment 2020-11-03 15:56:49 +03:00
Leonid Lapshin 9fe3134cd6 remove quotes on post-deployment step 2020-11-03 15:55:19 +03:00
Maxim Lobanov d1d66ae0fd Merge pull request #1965 from al-cheb/al-cheb/use-dotnet-to-install-pwsh
[Ubuntu] Install pwsh using dotnet tool
2020-11-03 15:09:35 +03:00
Vladimir Safonkin 7e2c8df419 Merge remote-tracking branch 'upstream/main' into macos-retry-downloads 2020-11-03 14:56:14 +03:00
Maxim Lobanov fb8be2ba62 Merge pull request #1969 from miketimofeev/edge-driver-for-mac
[macOS] Change edge webdrivder url
2020-11-03 14:52:00 +03:00
Mikhail Timofeev a4b5f4dae1 add mac path 2020-11-03 14:49:48 +03:00
Vladimir Safonkin 338cbea4e2 Fix Xamarin Nuget installation 2020-11-03 14:14:24 +03:00
github-actions[bot] 335a7e063a Updating readme file for macOS-11.0 version 20201102.1 (#1964)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2020-11-03 10:55:16 +00:00
Aleksandr Chebotov 8d270229b3 install pwsh using dotnet tool 2020-11-03 11:04:47 +03:00
Maxim Lobanov 5907a2a1ee Update xcode-postbuild.sh 2020-11-03 09:37:06 +03:00
Maxim Lobanov 8c96dbb9bb fix tests 2020-11-03 09:13:58 +03:00
Maxim Lobanov 5b828215ed Merge pull request #1957 from miketimofeev/macos-fix-az-version-4.8
[macOS] Explicitly set Az powershell version 4.8
2020-11-03 08:12:23 +03:00
Mikhail Timofeev 2390ba420d add chown for IdentityService 2020-11-03 01:06:07 +03:00
Maxim Lobanov 8f1f707032 Update xcode-postbuild.sh 2020-11-02 22:05:52 +03:00
Maxim Lobanov 54269f7602 minor improvements 2020-11-02 21:35:36 +03:00
Maxim Lobanov 173a5dd381 Merge pull request #1883 from dsame/v-sedoli/fix-apt
Workaround for apt db locked by WALinuxAgent
2020-11-02 20:13:46 +03:00
Maxim Lobanov f5e35ccb9d Merge branch 'main' into v-sedoli/fix-apt 2020-11-02 20:10:38 +03:00
Maxim Lobanov cd65cb176f Merge pull request #1956 from al-cheb/al-cheb/az-hardcoded-version
[Ubuntu] Use toolset config to install az modules on Ubuntu 20
2020-11-02 20:07:46 +03:00
Arthur Baars 2faf574423 OSX: Rust tools: install 'rustfmt' and 'clippy'
Make installed Rust components the same as for Ubuntu. See also: 
https://github.com/actions/virtual-environments/blob/f38833acec5cc1c3239474f8135b23c17cb72351/images/linux/scripts/installers/rust.sh
2020-11-02 16:17:58 +01:00
Maxim Lobanov 74483e93da fix typos 2020-11-02 18:03:20 +03:00
Maxim Lobanov 5ec18c4b3d Update Java.Tests.ps1 2020-11-02 15:47:58 +03:00
Aleksandr Chebotov 6c3b640047 Az 4.8.0 2020-11-02 14:37:48 +03:00
Mikhail Timofeev 1de242c609 set version 4.8 2020-11-02 14:26:40 +03:00
Aleksandr Chebotov c66d9d4e72 use toolset to install az module 2020-11-02 14:22:07 +03:00
Maxim Lobanov a6cd71cfda Merge pull request #1876 from LeonidLapshin/spotlight
add spotlight reindex
2020-11-02 13:39:48 +03:00
Maxim Lobanov 3feabfdb52 fix todos 2020-11-02 11:19:30 +03:00
Maxim Lobanov 6680a03f5d Merge pull request #1947 from Darleev/v-danurg/move_macos_readme_files
Added 10.13/10.14 readme files to macos folder.
2020-11-02 09:40:51 +03:00
Maxim Lobanov cfaa7acb54 fix symlinks 2020-11-02 08:41:40 +03:00
Darii Nurgaleev cd2493ca46 added new macos files. 2020-11-02 02:45:18 +07:00
Maxim Lobanov 6ac87c213d Update xcode.ps1 2020-11-01 15:55:02 +03:00
Aleksandr Chebotov 8798c75d67 [windows] add bash wrapper from git (#1937) 2020-11-01 12:12:46 +03:00
Maxim Lobanov a9f7d6bdf2 Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-01 12:09:45 +03:00
Maxim Lobanov 85b8007337 fix tests 2020-11-01 11:13:45 +03:00
Maxim Lobanov 874232fc49 Merge pull request #1940 from miketimofeev/add-xcode-12.1.1
[macOS] Change Xcode 12.1 to 12.1.1 rc
2020-11-01 09:38:57 +03:00
Maxim Lobanov b49a705f6b need to test 2020-10-31 18:41:04 +03:00
Mikhail Timofeev d0c0d59fde fix condition 2020-10-31 17:52:14 +03:00
Mikhail Timofeev 2896d56d64 change 12.1 to 12.1.1 2020-10-31 09:35:31 +03:00
Nikita Bykov 28aed9f401 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-30 14:00:47 +03:00
Nikita Bykov 77274dcb9b updated Get-PipxVersion 2020-10-30 12:36:09 +03:00
Leonid Lapshin 8f4c1ce9ac Merge branch 'main' of https://github.com/actions/virtual-environments into spotlight
# Conflicts:
#	images/macos/provision/core/pipx-packages.sh
2020-10-30 10:01:23 +03:00
Maxim Lobanov ca0295d6f4 Merge pull request #1930 from al-cheb/al-cheb/software-update-week45
[macOS] Software update week 45
2020-10-30 09:21:09 +03:00
github-actions[bot] bb2ff8bf55 Updating readme file for macOS-10.15 version 20201026.2 (#1922)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-29 21:17:32 +00:00
Sergey Dolin 541036c2d1 fix shbang 2020-10-30 01:03:37 +05:00
Sergey Dolin cab74c1ab9 investigate failed 1604 build 2020-10-30 01:01:35 +05:00
Sergey Dolin 76f57f69f2 run remove mocks as root 2020-10-30 01:01:35 +05:00
Sergey Dolin 002a944511 Add memo comment 2020-10-30 01:01:35 +05:00
Sergey Dolin 4419d31ea7 add apt-mock-remove script 2020-10-30 01:01:35 +05:00
Sergey Dolin babd2e2156 use fuser 2020-10-30 01:01:35 +05:00
Sergey Dolin ae7cb7f1a5 add shbang 2020-10-30 01:01:34 +05:00
Sergey Dolin 6696fa537a make retries 2020-10-30 01:01:34 +05:00
Sergey Dolin 82e4ec4a0a Add verbose versions of apt 2020-10-30 01:01:34 +05:00
github-actions[bot] 215647d28a Updating readme file for ubuntu18 version 20201026.1 (#1900)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-29 19:25:14 +00:00
Aleksandr Chebotov ff71699425 python unlink 2020-10-29 18:47:15 +03:00
github-actions[bot] 5adf802f77 Updating readme file for ubuntu20 version 20201026.1 (#1901)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-29 15:04:25 +00:00
github-actions[bot] 2f92fe32b8 Updating readme file for ubuntu16 version 20201026.1 (#1899)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-29 15:02:43 +00:00
Aleksandr Chebotov 26134ef1b7 remove python unlink 2020-10-29 16:43:44 +03:00
Aleksandr Chebotov baebd6c109 python link flag --force 2020-10-29 16:42:28 +03:00
github-actions[bot] 293e084b48 Updating readme file for win19 version 20201021.0 (#1875)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-29 11:05:22 +00:00
Alena Sviridenko 6c805cf762 added announcement template (#1931) 2020-10-29 13:57:04 +03:00
Aleksandr Chebotov 8af39dcd65 set default bundle as 6_12_1 2020-10-29 11:52:03 +03:00
Aleksandr Chebotov 2d9bef6d16 add 6_12_2 bundle 2020-10-29 11:35:16 +03:00
Aleksandr Chebotov 15ddb9d5da revert ios 14.0.0.0 2020-10-29 11:28:42 +03:00
Aleksandr Chebotov 45a3f22ba9 fix shebang select-xamarin-sdk.sh 2020-10-29 11:20:29 +03:00
Aleksandr Chebotov 7fed7dc67c Merge branch 'main' of https://github.com/actions/virtual-environments into al-cheb/software-update-week45 2020-10-29 11:19:55 +03:00
Aleksandr Chebotov 3c6b9c2a86 fix shebang pipx-packages.sh 2020-10-29 11:17:57 +03:00
Aleksandr Chebotov aad7e0bb42 macOS software update week45 2020-10-29 11:07:26 +03:00
Nikita Bykov fd35c1d2cd Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-29 11:05:39 +03:00
Maxim Lobanov 3271a0c483 Merge pull request #1634 from dmitry-shibanov/v-dmshib/add-build-vm-assets
Add build vm assets
2020-10-29 11:03:51 +03:00
Maxim Lobanov fa2b94f285 Merge pull request #1911 from dibir-magomedsaygitov/v-dimago/win-clear-cache-yarn-npm
[Windows] Clean yarn and npm cache
2020-10-29 10:24:15 +03:00
Leonid Lapshin 02e3c4276d exit with true because of pipefail 2020-10-29 09:19:29 +03:00
github-actions[bot] 2ebe53b86d Updating readme file for win16 version 20201020.1 (#1870)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-28 19:01:39 +00:00
Leonid Lapshin 3c77354cd5 [ubuntu] fix user on rust and brew scripts (#1907)
* fix user on rust and brew scripts

* set user on a factory stage

* get last user from /etc/passwd

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-28 17:58:15 +03:00
Maxim Lobanov 2ea6696e0c Merge pull request #1648 from al-cheb/main
[Windows]  Removed Git internal tools from PATH
2020-10-28 17:01:35 +03:00
Maxim Lobanov b79745d4da Merge pull request #1921 from akv-platform/al-cheb/update-sql-tools
[Windows] Update base url to install SQL PowerShell tool
2020-10-28 17:00:10 +03:00
Leonid Lapshin 62de6fab8b pipx linter change 2020-10-28 16:39:42 +03:00
Nikita Bykov 5a161e7478 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-28 16:32:22 +03:00
Leonid Lapshin 84d82e0cb3 Merge branch 'main' of https://github.com/actions/virtual-environments into spotlight 2020-10-28 16:19:09 +03:00
Leonid Lapshin 81941077a1 changed stop message 2020-10-28 16:15:33 +03:00
Maxim Lobanov 5236f483ff Merge pull request #1913 from dibir-magomedsaygitov/v-dimago/clean-yarn-and-npm-cache-macos
[macOS] Clean yarn cache
2020-10-28 12:15:13 +03:00
Maxim Lobanov 4d10ad5ac9 Merge pull request #1912 from dibir-magomedsaygitov/v-dimago/clean-yarn-and-npm-cache-ubuntu
[Ubuntu] Clean yarn and npm cache
2020-10-28 12:15:06 +03:00
Maxim Lobanov d37c965aab Merge pull request #1750 from nikita-bykov/pipx
[macOS] Add pipx and install yamllint through it
2020-10-28 10:29:01 +03:00
Maxim Lobanov 399b573ede Merge pull request #1861 from nikita-bykov/rework-chrome-installation
Rework Chrome MacOS installation to fix issues related to SHA
2020-10-28 10:26:37 +03:00
Aleksandr Chebotov 3ef46361f3 update ssh-keyscan in msys2 script 2020-10-28 09:41:57 +03:00
Aleksandr Chebotov 303f963f21 update base url 2020-10-28 09:33:55 +03:00
Aleksandr Chebotov 37d1fd3e1a update base url 2020-10-28 09:29:33 +03:00
Maxim Lobanov 0ecd928d5e Merge pull request #1795 from Darleev/v-danurg/lint_shebang_ubuntu
Shebang lint for Ubuntu/MacOS
2020-10-27 20:31:07 +03:00
Maxim Lobanov 18a7a73749 Merge pull request #1909 from maxim-lobanov/v-malob/update-readme
Update readme and issue templates with MacOS 11.0
2020-10-27 19:22:02 +03:00
Maxim Lobanov 2ccffebdba Update README.md 2020-10-27 18:52:40 +03:00
Mikhail Timofeev 2eff72c7e1 remove sudo 2020-10-27 18:41:51 +03:00
Dmitry Shibanov d497399957 resolve comments 2020-10-27 18:36:59 +03:00
Dibir Magomedsaygitov 4e5143b732 delete extra line 2020-10-27 17:56:52 +03:00
Dibir Magomedsaygitov 6a7cc6229f clean yarn cache 2020-10-27 17:54:16 +03:00
Dibir Magomedsaygitov 75112c4449 clean yarn and npm cache 2020-10-27 17:24:59 +03:00
Dibir Magomedsaygitov dd325a465c clean yarn and npm cache 2020-10-27 17:14:56 +03:00
Darii Nurgaleev b6e1216543 [ubuntu] Disable automatic updates to avoid apt lock issue. (#1761)
* added shutdown-apt-service.sh script

* added logging

* added new status

* shutdown service check

* removed apy.daily from apt.sh

* Another way to disable automatic updates;

* fix deployment files.

* enable retry logic for apt

* add PowerShellGet installation before az modules

* fixed a comment

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-27 13:16:55 +03:00
Maxim Lobanov cca2fdee1b Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/big-sur 2020-10-27 13:13:54 +03:00
github-actions[bot] bf20204c08 Updating readme file for macOS-11.0 version 20201024.1 (#1902)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-27 09:48:48 +00:00
Mikhail Timofeev 2838325b84 Merge branch 'main' of https://github.com/miketimofeev/virtual-environments into macos-retry-downloads 2020-10-27 12:43:49 +03:00
Dmitry Shibanov 4ec26d01cf Merge branch 'main' into v-dmshib/add-build-vm-assets 2020-10-27 11:31:53 +03:00
Aleksandr Chebotov 222f3bb86f use ssh-keyscan from git 2020-10-27 11:05:36 +03:00
Aleksandr Chebotov acc4e54336 Merge remote-tracking branch 'upstream/main' into main 2020-10-27 10:51:34 +03:00
Mikhail Timofeev 592fcf2f66 change wget and curl to retry functions 2020-10-27 09:45:22 +03:00
Nikita Bykov d0e4128247 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into rework-chrome-installation 2020-10-27 09:39:53 +03:00
Nikita Bykov 0723716812 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-27 09:31:02 +03:00
Nikita Bykov 11d6284c32 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx 2020-10-27 09:30:22 +03:00
Maxim Lobanov 6d775ae5a3 Merge pull request #1845 from akv-platform/al-cheb/remove-temp-disk-mention
[Windows] Resize disk using powershell and don't use disk D for a diskpart script
2020-10-27 09:11:05 +03:00
Maxim Lobanov b53fc3daba Update readme and issue templates with MacOS 11.0 2020-10-27 07:52:15 +03:00
Maxim Lobanov 990219bfe8 Merge pull request #1903 from MaksimZhukov/v-mazhuk/fix-xamarin-issue
Fix Xamarin issue with Xcode symlink
2020-10-27 06:53:41 +03:00
MaksimZhukov 4444dfd517 Fix Xamarin issue with Xcode symlink 2020-10-26 17:41:40 +03:00
Mikhail Timofeev 48e266a55a [macOS] remove workaround for MS edge (#1898) 2020-10-26 16:41:26 +03:00
Maxim Lobanov 2dfe68fcfd Merge pull request #1880 from miketimofeev/ubuntu-get-rid-of-brew-permissions
[Ubuntu] Remove chmod for homebrew directory
2020-10-26 16:14:02 +03:00
Mikhail Timofeev 47eaa69646 [macOS] Improve select datastore script (#1892)
* modify script to set tages

* add vmname

* nitpicks

* add remove tag
2020-10-26 14:37:18 +03:00
Aleksandr Chebotov eb92aba93b add ssh host keys 2020-10-26 14:33:46 +03:00
Aleksandr Chebotov 96faa1ea2a fix mingw64 2020-10-26 12:20:14 +03:00
Dmitry Shibanov 00ca734230 Merge branch 'main' into v-dmshib/add-build-vm-assets 2020-10-26 10:13:58 +03:00
Nikita Bykov 4a694ffbcf Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx 2020-10-26 09:36:10 +03:00
Aleksandr Chebotov 1da66fcabb Merge branch 'main' of https://github.com/actions/virtual-environments into main 2020-10-26 08:55:19 +03:00
Leonid Lapshin dea33cea9a Merge branch 'main' of https://github.com/actions/virtual-environments into spotlight 2020-10-25 22:20:54 +03:00
Mikhail Timofeev 16ff1bc8a8 Revert "[windows] Temporary workaround for VS installation" (#1895) 2020-10-25 21:34:19 +03:00
Darii Nurgaleev 44d1f85e34 add missed shebang 2020-10-24 23:30:27 +07:00
Darii Nurgaleev d31e289dc6 Merge remote-tracking branch 'upstream/main' into v-danurg/lint_shebang_ubuntu 2020-10-24 23:22:16 +07:00
Maxim Lobanov 40bd4f4ca2 Merge pull request #1889 from maxim-lobanov/v-malob/fix-brew
Untap local formulas to fix "brew update" command
2020-10-24 08:11:09 +03:00
Maxim Lobanov bbb8bd3f4c Update images/macos/provision/core/python.sh
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-10-23 20:12:58 +03:00
Maxim Lobanov 73c5b0bf87 Update images/macos/provision/core/openssl.sh
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-10-23 20:12:52 +03:00
Mikhail Timofeev 0d46520ccf [macOS] Fail builds on errors during the image generation (#1756)
* set -e and fix all the scripts

* add source utils to finalize_vm script

* change xcode version in postbuild script

* fix for softwareupdates and for xcode version
2020-10-23 17:59:08 +03:00
Aleksandr Chebotov e8bd1e858e move Install-OpenSSH.ps1 2020-10-23 14:37:52 +03:00
Aleksandr Chebotov fc389f0cc0 fix ssh-keyscan Windows Server 2016 2020-10-23 14:30:10 +03:00
Aleksandr Chebotov f0188d1066 Merge branch 'main' of https://github.com/actions/virtual-environments into main 2020-10-23 14:28:34 +03:00
Vladimir Safonkin baad68926a [macOS] Rework retry helper function (#1871)
* Rework macOS retry helper

* Add more logs
2020-10-23 14:15:22 +03:00
Leonid Lapshin 67fb0904b7 changed a log message 2020-10-23 13:30:51 +03:00
Nikita Bykov 23e5a711c1 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-23 12:51:09 +03:00
Maxim Lobanov 7ecf840871 Merge pull request #1886 from miketimofeev/vs-install-worakround
[windows] Temporary workaround for VS installation
2020-10-23 12:43:33 +03:00
Maxim Lobanov 096e016372 untap formulas 2020-10-23 11:09:22 +03:00
Maxim Lobanov 14a848397e Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-10-23 11:06:25 +03:00
Maxim Lobanov 59434682fb Merge pull request #1879 from miketimofeev/change-default-xamarin-bundle-for-xcode12
[macOS] Switch Xamarin bundle to the latest one for 10.15
2020-10-23 10:39:26 +03:00
Maxim Lobanov cef76b7bde Merge pull request #1881 from miketimofeev/revert-1829-v-malob/xcodebuild
[macOS] Revert "Freeze xcodeproj 1.18.0"
2020-10-23 10:37:54 +03:00
Leonid Lapshin fce0a5c113 Merge branch 'main' of https://github.com/actions/virtual-environments into spotlight 2020-10-23 10:31:54 +03:00
Mikhail Timofeev f527ec3588 add comments 2020-10-23 10:28:50 +03:00
Mikhail Timofeev a94f7748f8 Merge branch 'main' of https://github.com/miketimofeev/virtual-environments into vs-install-worakround 2020-10-23 10:27:14 +03:00
Maxim Lobanov b440884e82 Merge pull request #1873 from andy-mishechkin/v-andmis/Implement_to_stop_and_to_rename_failed_vm
Implement additional feature for stopping and renaming the unstable VMs in case of failure
2020-10-23 09:13:59 +03:00
Maxim Lobanov e03812a6b7 xcode-tools 2020-10-22 18:01:14 +03:00
Mikhail Timofeev f0c96a361c Revert "Freeze xcodeproj 1.18.0" 2020-10-22 17:00:59 +03:00
Mikhail Timofeev 3238fbf692 remove 12.1 from macos 11 2020-10-22 16:26:02 +03:00
Nikita Bykov 80aa2e8057 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into rework-chrome-installation 2020-10-22 16:13:39 +03:00
Mikhail Timofeev b6166576d1 change default bundle to the latest one 2020-10-22 16:01:52 +03:00
Leonid Lapshin 6b4ca3cc7f typo 2020-10-22 15:02:41 +03:00
Leonid Lapshin 7776bc4f83 removed timeout 2020-10-22 14:44:40 +03:00
Andrey Mishechkin (GITHUB INC) 39b79427d6 minor bugfixing 2020-10-22 12:35:09 +04:00
Andrey Mishechkin (GITHUB INC) de3f459f1a Nitpic changes 2020-10-22 12:00:39 +04:00
Andrey Mishechkin (GITHUB INC) a80592397f nitpick changes 2020-10-22 11:59:11 +04:00
Mikhail Timofeev dee484a90c remove chmod 2020-10-22 10:49:07 +03:00
Maxim Lobanov f9b54e6034 Merge pull request #1872 from miketimofeev/install-xcode-clt-12.2-big-sur
[macOS] Install Xcode tools 12.2_beta for Big Sur
2020-10-22 10:41:03 +03:00
Andrey Mishechkin (GITHUB INC) ca7a6c4028 [Exit 1] has been removed from xcode-clt.sh 2020-10-22 11:04:36 +04:00
Andrey Mishechkin (GITHUB INC) d3f104b157 Merge branch 'main' into v-andmis/Implement_to_stop_and_to_rename_failed_vm 2020-10-22 11:01:31 +04:00
Mikhail Timofeev 6a4671170f add condition to clt install 2020-10-22 09:56:45 +03:00
Nikita Bykov 62eca78ba7 fixed naming 2020-10-22 09:48:03 +03:00
Maxim Lobanov 7f2f07c675 Merge pull request #1850 from maxim-lobanov/v-malob/improve-azure-scripts
Improve GenerateResourcesAndImage.ps1 - Adapt for Unix
2020-10-22 08:04:13 +03:00
Mikhail Timofeev 1e5b70df37 [macOS] Add http code 404 to download with retry function (#1868) 2020-10-21 22:22:04 +03:00
Andrey Mishechkin (GITHUB INC) 8937675e2e [Exit 1] was added to xcode-clt.sh for testing 2020-10-21 21:11:35 +04:00
Andrey Mishechkin (GITHUB INC) 81ad74e827 if($Vm.PowerState -ne "PoweredOff") condition has been added 2020-10-21 21:06:52 +04:00
github-actions[bot] fd13547286 Updating readme file for macOS-10.15 version 20201017.1 (#1851)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-21 16:16:30 +00:00
Andrey Mishechkin (GITHUB INC) 2a693f9e18 Power off and renaming the failed VM has been addded to move-vm.ps1 2020-10-21 18:42:43 +04:00
Nikita Bykov 38bc88214f fixed brew_cask_install_ignoring_sha256 function 2020-10-21 16:36:03 +03:00
Leonid Lapshin 50f99319f4 add spotlight reindex 2020-10-21 16:09:53 +03:00
Nikita Bykov 00bb4818ce fixed pipx packages tests 2020-10-21 15:50:53 +03:00
github-actions[bot] 23b23ab02e Ubuntu 1604 (20201015 update) (#1838)
* Updating readme file for ubuntu16 version 20201015.1

* Update Ubuntu1604-README.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-21 10:51:45 +00:00
github-actions[bot] 6ca000a2ae Ubuntu 1804 (20201015 update) (#1834)
* Updating readme file for ubuntu18 version 20201015.1

* fix gradle version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-21 10:47:58 +00:00
Mikhail Timofeev fec216217d Updating readme file for macOS-11.0 version 20201020.1 (#1866) 2020-10-21 13:43:30 +03:00
github-actions[bot] f12797291e Ubuntu 2004 (20201015 update) (#1833)
* Updating readme file for ubuntu20 version 20201015.1

* fix gradle version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-21 10:41:26 +00:00
Nikita Bykov 1ddf2470ab fixed function 2020-10-21 12:44:54 +03:00
Maxim Lobanov c8e3ce3c70 Merge pull request #1852 from miketimofeev/set-xcode-12-as-default
[macOS] Set Xcode 12.0.1 as the default one
2020-10-21 10:43:37 +03:00
Nikita Bykov b19a33bd3e updated json files 2020-10-21 08:44:06 +03:00
Nikita Bykov 109a18bf19 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-21 08:37:53 +03:00
Nikita Bykov edff9f791b updated json files 2020-10-21 08:33:58 +03:00
Nikita Bykov 474ef92b24 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx 2020-10-21 08:30:51 +03:00
github-actions[bot] 6c3597d5dc Updating readme file for win16 version 20201012.1 (#1799)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-20 18:04:00 +00:00
Mikhail Timofeev 188ab78400 change to c directory 2020-10-20 18:32:11 +03:00
Mikhail Timofeev 7258903cdc [macOS] Fix openssl on Big Sur (#1853)
* add symlink to opt

* get back 1.0.2t
2020-10-20 17:24:44 +03:00
Mikhail Timofeev fa295e460b add workaround with ip 2020-10-20 16:04:35 +03:00
Nikita Bykov 114da93556 rework chrome installation 2020-10-20 13:47:33 +03:00
Mikhail Timofeev a5ef7bd7ef [Ubuntu] Add apt-fast version to readme (#1846)
* add apt-fast

* change to apt list

* simplify the function
2020-10-20 12:38:05 +03:00
Leonid Lapshin 2a0836a763 Change "open" tool to "xip" on XCode archive extraction (#1840)
* change open tool to xip

* cd change to pushd and popd

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-20 11:45:21 +03:00
Leonid Lapshin af562625fc added a swiftc symlink [Ubuntu] (#1832)
* added a swiftc symlink

* swiftc points to swiftc

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-20 11:45:08 +03:00
Nikita Bykov 8c3508d60d Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-19 20:28:34 +03:00
Maxim Lobanov c543968bdb Merge pull request #1849 from akv-platform/al-cheb/vs-logs-if-failed
[Windows] Provide Visual Studio setup error logs
2020-10-19 19:55:25 +03:00
Maxim Lobanov d8b4ad7284 Update GenerateResourcesAndImage.ps1 2020-10-19 18:53:17 +03:00
Maxim Lobanov 6dd01800ff Update GenerateResourcesAndImage.ps1 2020-10-19 18:51:09 +03:00
Maxim Lobanov 629703d44e Merge pull request #1767 from samcoe/patch-1
[Windows] Update gh install script to use official release assets
2020-10-19 18:35:51 +03:00
Aleksandr Chebotov b8548a8943 provide additional error log message 2020-10-19 17:39:28 +03:00
Mikhail Timofeev ff9367657c set 12 2020-10-19 15:55:03 +03:00
github-actions[bot] dd4f43be9d Updating readme file for win19 version 20201011.1 (#1800)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-19 11:34:39 +00:00
Vladimir Safonkin c5e468893d [macOS] Add retry for toolcache assets (#1798)
* Add retry for toolset manifest downloading

* Add common helper

* Minor fix

* Fix helper module path

* Fix helper module path
2020-10-19 13:28:53 +03:00
Maxim Lobanov eb478e9f2b Merge pull request #1844 from maxim-lobanov/v-malob/fix-build-number
Fix buildNumber for MacOS Test CI
2020-10-19 12:19:17 +03:00
Aleksandr Chebotov 3633730364 use Get-Volume 2020-10-19 10:33:43 +03:00
Maxim Lobanov 478e20cb4a Update image-generation.yml 2020-10-19 10:28:59 +03:00
Aleksandr Chebotov 27361ddb4a resize disk using powershell 2020-10-19 10:25:04 +03:00
Nikita Bykov 38ad31f0c3 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-19 10:14:08 +03:00
Maxim Lobanov 3a35583182 Update image-generation.yml 2020-10-19 09:47:10 +03:00
Nikita Bykov 8bde89347e Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx 2020-10-19 09:41:36 +03:00
Maxim Lobanov 9229296dd2 fix build number 2020-10-19 09:39:11 +03:00
Maxim Lobanov 52ce3618d5 fix build number 2020-10-19 09:18:41 +03:00
Maxim Lobanov 0d08e13079 test changes 2020-10-19 08:24:21 +03:00
Maxim Lobanov 941243a186 Merge pull request #1839 from miketimofeev/fix-haskell-tests-for-revision-versions
[windows] Fix Haskell revision version installation and related tests
2020-10-19 07:49:23 +03:00
Nikita Bykov 5694fe7952 fixed tests for windows 2016 2020-10-18 23:10:10 +03:00
Mikhail Timofeev a9b5e80521 Fix testcase name 2020-10-18 21:45:48 +03:00
Mikhail Timofeev 12d5315961 add ghcdefault cases 2020-10-18 21:14:39 +03:00
Mikhail Timofeev 57a08bac71 add correct path to install haskell 2020-10-18 20:52:32 +03:00
Mikhail Timofeev 1d84a5ea79 fix test to work with haskell revisions 2020-10-18 20:07:40 +03:00
Mikhail Timofeev 0fa2247a89 change installation to package [macOS] (#1830) 2020-10-17 22:37:30 +03:00
Maxim Lobanov 63c8241deb Merge pull request #1836 from akv-platform/al-cheb/fix-gradle
[Ubuntu] Fix gradle version
2020-10-17 13:39:59 +03:00
Maxim Lobanov 5df32104ff Merge pull request #1835 from miketimofeev/pip3-path-test
[macOS] Add pester test for pip3 path
2020-10-17 13:14:48 +03:00
Maxim Lobanov 6822d1433c Merge pull request #1829 from maxim-lobanov/v-malob/xcodebuild
Freeze xcodeproj 1.18.0
2020-10-16 17:52:24 +03:00
Aleksandr Chebotov 9a268303fb fix gradle version 2020-10-16 15:38:06 +03:00
Mikhail Timofeev a58d9b4035 add test for pip3 path 2020-10-16 15:19:57 +03:00
Maxim Lobanov 3344a1dfb7 Merge pull request #1831 from actions/v-malob/build-name
Update BuildNumber to include retry number
2020-10-16 13:38:10 +03:00
Maxim Lobanov 7f7c287c04 Update image-generation.yml 2020-10-16 12:42:54 +03:00
Nikita Bykov 794bd4e886 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx 2020-10-16 12:40:24 +03:00
Nikita Bykov 723e4ccb87 fixed naming 2020-10-16 12:36:59 +03:00
Maxim Lobanov 6423cb0f32 Update image-generation.yml 2020-10-16 12:30:42 +03:00
Darii Nurgaleev 0b6973e0d0 change post generation folder. (#1825) 2020-10-16 11:34:35 +03:00
Maxim Lobanov 91a4c7b525 Update rubygem.sh 2020-10-16 10:49:38 +03:00
github-actions[bot] 14b4cec214 Ubuntu 1804 (20201012 update) (#1791)
* Updating readme file for ubuntu18 version 20201012.1

* fix pipx version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-15 22:56:14 +00:00
github-actions[bot] 2ede18e760 Updating readme file for ubuntu16 version 20201012.1 (#1793)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-15 18:25:26 +00:00
github-actions[bot] c9f9d5bca2 Ubuntu 2004 (20201012 update) (#1792)
* Updating readme file for ubuntu20 version 20201012.1

* fix pipx version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-15 16:36:54 +00:00
Mikhail Timofeev 169953b714 [macOS] Separate xcode command line tools installation & Xcode 12.1 for Big Sur (#1815)
* add retry logic, remove separate macOS11 installation

* move to separate file
2020-10-15 19:00:36 +03:00
Mikhail Timofeev a1f77c28f3 add workaround (#1824) 2020-10-15 17:03:33 +03:00
Nikita Bykov 42b6aa68b4 added TOOLSET_JSON_PATH 2020-10-15 12:02:07 +03:00
Maxim Lobanov abec49dcd9 Merge pull request #1803 from MaksimZhukov/v-mazhuk/remove-mobile-center-cli
Remove mobile-center-cli package from MacOS images
2020-10-14 21:59:56 +03:00
Alena Sviridenko a223fd1b1b added macOS 11 readme (#1817) 2020-10-14 19:37:57 +03:00
Maxim Lobanov 5d7f1b487e Merge pull request #1810 from akv-platform/al-cheb/ubuntu-del-obsolete-android-pkgs
[Ubuntu] Do not install obsolete Android build-tools packages
2020-10-14 19:24:00 +03:00
Maxim Lobanov 229cf5e69f Merge pull request #1812 from Yanson/fix-ubuntu2004
Match ubuntu2004 change with 16 & 18
2020-10-14 19:23:52 +03:00
Iain Rauch 6e05e471c7 Match ubuntu2004 with 16 & 18. 2020-10-14 13:40:18 +01:00
Alena Sviridenko 8196a608de [macOS] Add Xcode 12.1 GM seed (#1805)
* added Xcode 12.1 GM

* removed Xcode 12.1 from Big Sur

* fixed Xcode dir setting
2020-10-14 15:17:13 +03:00
Aleksandr Chebotov ad8f519477 update mininal build_tools_min_version = 19.1.0 2020-10-14 15:08:45 +03:00
Aleksandr Chebotov 4d80b71225 do not install obsolete build-tools packages 2020-10-14 15:03:11 +03:00
Maxim Lobanov be5c8f4995 Merge pull request #1807 from maxim-lobanov/v-malob/xcode-rework
Update Xcode 12 to 12.0.1
2020-10-14 13:51:47 +03:00
MaksimZhukov 2e283ae37f Add Omelette installation 2020-10-14 12:40:01 +03:00
Nikita Bykov 6d7986020a Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-14 09:41:10 +03:00
Maxim Lobanov 0aa67caa32 Update xcode-utils.sh 2020-10-14 07:31:00 +03:00
Sam Coe 915cb891a9 Select first browser_download_url from array 2020-10-13 23:46:12 +02:00
Sam Coe a36457dc3b Address PR comments 2020-10-13 23:46:12 +02:00
Sam 6a1710a597 Update gh windows install script to use official release assets 2020-10-13 23:46:12 +02:00
Sam Coe 6d9bcfbbbb Merge remote-tracking branch 'upstream/main' into main 2020-10-13 23:45:36 +02:00
Maxim Lobanov d56e670bb5 Merge pull request #1778 from Darleev/v-danurg/choco_dummy_command
Choco added dummy command for provisioner to avoid initial delay.
2020-10-13 23:07:43 +03:00
Maxim Lobanov 327f7e2fe0 Update xcode-utils.sh 2020-10-13 23:06:11 +03:00
Darii Nurgaleev 47f5cf3834 change trigger to main 2020-10-14 02:44:52 +07:00
Darii Nurgaleev b3a337ea8a returned return 2020-10-14 02:04:32 +07:00
Darii Nurgaleev 8786b3e436 added corrected things 2020-10-13 21:39:12 +07:00
Darii Nurgaleev dcfa420873 Merge remote-tracking branch 'upstream/main' into v-danurg/lint_shebang_ubuntu 2020-10-13 21:37:13 +07:00
Darii Nurgaleev d237f71482 added intendation 2020-10-13 21:36:03 +07:00
Darii Nurgaleev 955aec5bef added new linter 2020-10-13 21:32:58 +07:00
Darii Nurgaleev be8eba42a1 added error to linter 2020-10-13 21:26:48 +07:00
Darii Nurgaleev dfa109e3b6 added additional logging 2020-10-13 21:21:37 +07:00
Darii Nurgaleev b6357f0e00 removed relative path 2020-10-13 21:02:57 +07:00
Darii Nurgaleev 6d776ba19b powershell added as shell 2020-10-13 20:55:47 +07:00
Darii Nurgaleev 4b81b1dedc powershell changed intendation 2020-10-13 20:53:45 +07:00
Darii Nurgaleev 9ea40392dc added additional trigger 2020-10-13 20:49:59 +07:00
Darii Nurgaleev d2fc140343 removed dummy line 2020-10-13 20:49:07 +07:00
Darii Nurgaleev f4b59cee6f ok 2020-10-13 20:47:35 +07:00
Darii Nurgaleev df71273fa4 spaces 2020-10-13 20:45:28 +07:00
Darii Nurgaleev e1ace194bb stop 2020-10-13 20:44:17 +07:00
Darii Nurgaleev 8d991b682f change branches 2020-10-13 20:41:49 +07:00
Darii Nurgaleev ab806eaf30 intendation change 2020-10-13 20:33:55 +07:00
Darii Nurgaleev 65129b886e changed name from CI to Linter 2020-10-13 20:31:29 +07:00
Darii Nurgaleev 57c3deaaf6 addes spaces 2020-10-13 20:30:57 +07:00
Darii Nurgaleev 6238508a21 added relative path instead of fullpath 2020-10-13 20:02:18 +07:00
MaksimZhukov 71c6294c4f Change name for the node modules 2020-10-13 15:08:07 +03:00
MaksimZhukov 6872e87c70 Remove mobile-center-cli 2020-10-13 14:39:09 +03:00
Darii Nurgaleev 01e2f948f6 added latest changes. 2020-10-13 18:31:14 +07:00
Darii Nurgaleev a191335ab6 last comments resolved. 2020-10-13 18:06:14 +07:00
Mikhail Timofeev d8857768e9 [macOS] Switch image generation to faster datastores (#1801)
* select datastore script

* add debug message

* add move-vm and helpers

* add error action

* formatting the script

* nits

* add missing quotes

* add synopsis
2020-10-13 13:56:37 +03:00
Darii Nurgaleev e88c5b8f09 added all changes. 2020-10-13 17:55:00 +07:00
Alena Sviridenko dbe01607a1 fixed label case (#1802) 2020-10-13 13:48:58 +03:00
Darii Nurgaleev 4f08343661 added comments 2020-10-13 17:25:30 +07:00
Darii Nurgaleev fe4def7739 resolve comments. 2020-10-13 17:24:06 +07:00
Darii Nurgaleev 374bf8e5cd resolve comments 2020-10-13 17:10:22 +07:00
Maxim Lobanov 0ad19a4250 Merge pull request #1581 from weiji14/windows-miniconda-4.8.3
Update Miniconda version on Windows from 4.6.14 to 4.8.3/latest
2020-10-13 10:55:54 +03:00
Maxim Lobanov 9eae87b98c Merge pull request #1747 from dmitry-shibanov/v-dmshib/add-python3.9-win
Add python 3.9.* installation for windows
2020-10-13 10:42:27 +03:00
Maxim Lobanov 24ce824f71 Merge pull request #1701 from dmitry-shibanov/v-dmshib/android-tools-dynamic-macOS
[macOS] Retrieve the list of Android packages for installing dynamically
2020-10-13 10:42:14 +03:00
Maxim Lobanov e8d6d92414 Merge pull request #1787 from akv-platform/al-cheb/macos-fix-bazelisk-version
[macOS] Fix bazelisk version output in SoftwareReport.Generator.ps1 script
2020-10-13 09:27:54 +03:00
Maxim Lobanov f38833acec Merge pull request #1755 from dsame/v-sedoli/set-e-ubuntu2
Fail Ubuntu image building on error in generation scripts
2020-10-13 08:56:35 +03:00
Darii Nurgaleev a766bb164b added linter for ubuntu 2020-10-13 02:45:29 +07:00
Aleksandr Chebotov 671d82f3f3 remove word bazelisk 2020-10-12 18:50:08 +03:00
Sam 8f1411e9b8 Merge pull request #1 from actions/main
Update Fork
2020-10-12 16:52:22 +02:00
Darii Nurgaleev 164f12f9fc removed old file 2020-10-12 21:46:57 +07:00
Darii Nurgaleev f33118c5dc removed from old file and renamed choco. 2020-10-12 21:46:49 +07:00
Leonid Lapshin ed38c86cbb Move linux provision scripts to virtual-environments (#1714)
* add linux-related scripts from MMS provisioner

* removed EOL

* removed Ubuntu condition

* moved PATH checking to cleanup section

* add clarification for cgroups names

* names alignment

* removed memory-configuration and agent specific scripts

* renamed folder to psot-generation, added template instructions

* moved key import to git installation

* moved PATH check to post-deployment instead of cleanup script

* add scripts

* output tests file

* add startup logic

* add powershell module for furute helpers

* removed unused modules

* copy to tmp folder because of permissions, copy to opt on post-generation step

* removed Pester test

* change post-generation location

* incorrect if statement

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-12 17:44:31 +03:00
Darii Nurgaleev 69cfebc5fc added separate file for choco script. 2020-10-12 21:42:27 +07:00
Maxim Lobanov be7fcb6c7e Merge pull request #1786 from vsafonkin/v-vlsafo/fix-pipx-version
[Ubuntu] Fix pipx version on software report
2020-10-12 17:41:55 +03:00
Sergey Dolin 1d4f281899 Add -e to .sh scripts 2020-10-12 15:47:09 +05:00
Nikita Bykov 71d500699b Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-12 11:47:50 +03:00
Aleksandr Chebotov 553c24e124 fix bazelisk version output 2020-10-12 11:46:40 +03:00
Vladimir Safonkin d129c5563d Fix pipx version 2020-10-12 11:29:00 +03:00
Maxim Lobanov 87d16c5f7d Merge pull request #1677 from dzsquared/dacfx-186
update dacfx to 18.6
2020-10-12 11:24:44 +03:00
Nikita Bykov 9c029fc29e Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx 2020-10-12 11:11:02 +03:00
Nikita Bykov f1da709f47 fixed Get-PipxVersion 2020-10-12 11:10:02 +03:00
Dmitry Shibanov df05c38ba8 Merge branch 'main' into v-dmshib/add-python3.9-win 2020-10-12 10:44:07 +03:00
Maxim Lobanov 8a499f85a2 Merge pull request #1774 from vsafonkin/v-vlsafo/fix-crlf-files
Fix string endings for Windows software docs
2020-10-12 07:29:35 +03:00
Mikhail Timofeev 5d8da1661b switch to Get-CommandResult (#1785) 2020-10-11 23:28:16 +03:00
Maxim Lobanov 73f20a1b87 Merge pull request #1782 from miketimofeev/install-aproved-ghc-versions
[Windows] Install approved haskell versions only
2020-10-11 15:22:39 +03:00
Maxim Lobanov 41bfe793fe Merge pull request #1780 from miketimofeev/macos-hardcode-edge-85
[macOS] Add workaround to install edge 85 instead of the latest one
2020-10-11 10:17:00 +03:00
Mikhail Timofeev d22190a9d9 add condition to install approved only versions 2020-10-11 01:16:08 +03:00
Mikhail Timofeev 6fcc0cd300 add workaround for edge 2020-10-11 00:27:00 +03:00
Drew Skwiers-Koballa f655897714 update to rerun checks 2020-10-09 10:49:45 -07:00
Drew Skwiers-Koballa 647c8d14a6 Merge branch 'main' of https://github.com/actions/virtual-environments into dacfx-186 2020-10-09 10:33:31 -07:00
Darii Nurgaleev 63f0f08a9a added choco upgrade chocolatey 2020-10-10 00:27:53 +07:00
Dmitry Shibanov cc2314394b Merge branch 'main' into v-dmshib/add-python3.9-win 2020-10-09 14:38:03 +03:00
Vladimir Safonkin 8b38654aa9 Set LF for Windows software docs 2020-10-09 11:57:20 +03:00
Vladimir Safonkin 994001d396 Set LF for all files 2020-10-09 11:54:37 +03:00
Nikita Bykov 2977e6c42c fixed naming 2020-10-09 11:33:25 +03:00
Nikita Bykov 08f5d6592b updated tests 2020-10-09 11:31:54 +03:00
Nikita Bykov 451598b8c1 fixed pipx-packages.sh 2020-10-09 09:43:44 +03:00
Maxim Lobanov 65f9b7ff6b Merge pull request #1726 from vsafonkin/v-vlsafo/add-pipx-ubuntu
[ubuntu] Add pipx and install yamllint and aws sam cli through it.
2020-10-09 09:41:40 +03:00
Maxim Lobanov 1eb711326a Merge pull request #1763 from dibir-magomedsaygitov/v-dimago/enable-spotlight-indexing
[macOS] Enable spotlight indexing
2020-10-09 09:39:31 +03:00
Nikita Bykov f683996383 fixed Install-PipxPackages.ps1 and tests 2020-10-09 09:37:58 +03:00
Maxim Lobanov dd807aca4f Merge pull request #1764 from maxim-lobanov/v-malob/test-fix
Fix Xcode test execution on MacOS images
2020-10-09 09:03:54 +03:00
Maxim Lobanov 259f935f23 Merge pull request #1749 from dmitry-shibanov/v-dmshib/add-python3.9-macOS
Add python 3.9.* installation for macOS
2020-10-09 07:18:54 +03:00
Dmitry Shibanov 310281c804 Merge branch 'main' into v-dmshib/add-python3.9-win 2020-10-09 00:03:36 +03:00
Dibir Magomedsaygitov 791e5997fd [WIndows] Fix ssh-keyscan on win16 (#1751)
* fix ssh-keyscan on win16

* minor change
2020-10-08 21:44:51 +03:00
Nikita Bykov b15e7c1c00 Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows 2020-10-08 20:39:45 +03:00
Mikhail Timofeev 9b09e359e8 [Ubuntu 20] Switch docker-moby installation to prod channel (#1768)
* remove condition

* remove os.sh
2020-10-08 19:34:59 +03:00
github-actions[bot] a30fb6b041 Updating readme file for win19 version 20201004.1 (#1730)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-08 15:10:46 +00:00
Nikita Bykov 48c3a310a5 added pipx and yamllint 2020-10-08 16:57:24 +03:00
Maxim Lobanov ebd60bc886 Merge pull request #1758 from akv-platform/al-cheb/fix-ea-ubuntu
[Ubuntu] Replace 2>&1 to Get-CommandResult
2020-10-08 16:25:11 +03:00
Aleksandr Chebotov cb16dfc174 [images.CI] Delete macOS VMs on build canceling (#1742)
* destroy vm

* destroy vm

* check clone status

* fix vm state

* remove exit 1

* fix params

* suppress stop-vm output

* replace or -> Or

* rename doc terms
2020-10-08 15:27:39 +03:00
github-actions[bot] 0a35359f4b Ubuntu 1804 (20201004 update) (#1728)
* Updating readme file for ubuntu18 version 20201004.1

* fixed erlang output

* restore initial version

* Revert "restore initial version"

This reverts commit 089a6f2ca9.

* Revert "fixed erlang output"

This reverts commit e8ddae5ace.

* fix erlang version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-08 11:50:43 +00:00
Dmitry Shibanov be156d1ec4 change to seperate variables 2020-10-08 13:20:08 +03:00
Alena Sviridenko 124b841aca updated triage rules (#1766) 2020-10-08 12:27:44 +03:00
Maxim Lobanov 99ae7b27a8 Merge pull request #1748 from dmitry-shibanov/v-dmshib/add-python3.9
Add python 3.9.* installation for linux
2020-10-08 12:27:26 +03:00
github-actions[bot] 5c26e32b91 Ubuntu 1604 (20201004 update) (#1727)
* Updating readme file for ubuntu16 version 20201004.1

* fix erlang version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: AlyonaSviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-08 09:15:48 +00:00
Maxim Lobanov d934cf5214 Update Xcode.Tests.ps1 2020-10-08 10:53:24 +03:00
Maxim Lobanov a0a4c8f900 Merge pull request #1739 from maxim-lobanov/v-malob/12beta6
Deprecate Xcode 12 beta 6 on Catalina image
2020-10-08 10:42:37 +03:00
Dibir Magomedsaygitov fd42010ce6 enable spotlight indexing 2020-10-08 10:16:53 +03:00
Maxim Lobanov 027ea61933 Merge pull request #1753 from dmitry-shibanov/v-dmshib/add-improt-utils-openssl
Add import utils for openssl.sh
2020-10-08 09:43:57 +03:00
Maxim Lobanov bc2217e17a Merge pull request #1674 from hutson/refactor/win/file-name
refactor(windows): consistent file naming
2020-10-08 09:40:55 +03:00
github-actions[bot] 07b825bf7c Ubuntu 2004 (20201004 update) (#1729)
* Updating readme file for ubuntu20 version 20201004.1

* fix erlang version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: AlyonaSviridenko <alenasviridenko@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-08 04:41:38 +00:00
Hutson Betts 5282793d8b refactor(windows): consistent file naming
Use the same file naming scheme for Windows as is used for Ubuntu, where
the file name includes the Operating System name and release, but
not the target platform.

This also encourages downstream consumers to re-use the same files with
alternative targets by extending the `builders` section and using the
`-only` command line option with Packer to specify the build target.

Closes #1636
2020-10-07 23:11:54 -05:00
Aleksandr Chebotov 020349c8e6 replace 2>&1 to Get-CommandResult 2020-10-07 18:26:40 +03:00
Aleksandr Chebotov 17d233cac5 [macOS] Set $ErrorActionPreference = "Stop" in SoftwareReport.Generator.ps1 (#1692)
* $ErrorActionPreference = "Stop"

* revert changes for ubuntu
2020-10-07 17:14:00 +03:00
Maxim Lobanov 4086f5e3e9 Merge pull request #1699 from dmitry-shibanov/v-dmshib/android-tools-dynamic-linux
[Linux] Retrieve the list of Android packages for installing dynamically
2020-10-07 16:55:27 +03:00
Nikita Bykov ef1a055d44 added pipx to 10.13 2020-10-07 16:20:27 +03:00
Nikita Bykov 6742dd7a54 resolved comments 2020-10-07 14:58:13 +03:00
github-actions[bot] 7459f57aac Updating readme file for macos-10.15 version 20201003.1 (#1737)
Co-authored-by: no-reply@microsoft.com <Image generation service account>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-07 11:48:57 +00:00
Maxim Lobanov bab7c0d07f Update Xcode.Tests.ps1 2020-10-07 12:19:32 +03:00
Dmitry Shibanov e51422d95e add import utils 2020-10-07 11:59:01 +03:00
Maxim Lobanov 095a5bdd82 Merge pull request #1741 from miketimofeev/macos_fix_haskell_installation
[macOS] Fix haskell installation
2020-10-07 10:45:53 +03:00
Nikita Bykov 5d96d50f59 added pipx and yamllint 2020-10-07 09:29:37 +03:00
Dmitry Shibanov 0a2873ae03 fixing tests 2020-10-07 00:19:13 +03:00
Dmitry Shibanov b4a20707d8 add 3.9.0 for windows 2020-10-06 17:06:58 +03:00
Dmitry Shibanov 985dfec819 add python 3.9.0 2020-10-06 15:58:54 +03:00
Dmitry Shibanov 539aed4037 add python 3.9 2020-10-06 15:50:59 +03:00
Mikhail Timofeev 44f565e921 fix comment 2020-10-06 14:32:37 +03:00
Mikhail Timofeev d6627e143a change pattern 2020-10-06 14:30:00 +03:00
Maxim Lobanov ce5572effe Merge pull request #1709 from gokaygurcan/improve-nvm-installer
[Linux, macOS] Improve nvm installer
2020-10-06 14:17:13 +03:00
Mikhail Timofeev 75a1fd1897 Fix ghcup pattern 2020-10-06 13:56:12 +03:00
Vladimir Safonkin 58cf3bb6a4 Minor fix 2020-10-06 13:11:47 +03:00
Maxim Lobanov f80d9cdc66 reuse function 2020-10-06 11:11:36 +03:00
Maxim Lobanov 5a999ef791 Merge branch 'main' into v-malob/12beta6 2020-10-06 11:09:39 +03:00
Maxim Lobanov 1ce450def9 Remove Xcode 12 beta 2020-10-06 11:09:20 +03:00
Maxim Lobanov 755c9da185 Merge pull request #1720 from akv-platform/al-cheb/ea-powershell-windows
[Windows] Fail Windows image building on error in generation scripts
2020-10-06 10:50:47 +03:00
Dmitry Shibanov b6b4f9f36c fix function for taking all platforms 2020-10-06 10:29:26 +03:00
Dmitry Shibanov cde29c1bc6 fix add import 2020-10-06 10:27:47 +03:00
Vladimir Safonkin 6b1e7f5cdb Fix Ubuntu 16 doc 2020-10-06 09:30:49 +03:00
Vladimir Safonkin 3024e8ebe2 Fix jq parsing 2020-10-06 09:21:36 +03:00
Maxim Lobanov 5b23a1a4c1 Merge pull request #1736 from akv-platform/al-cheb/fix-version-output
[Ubuntu] Fix output Helm, Yarn, Buildah, Podman, GitHub CLI
2020-10-06 09:21:07 +03:00
Sam c66c1b90fd Update gh homebrew formula name (#1735) 2020-10-05 23:31:26 +03:00
Maxim Lobanov c32f91037b Merge pull request #1731 from akv-platform/al-cheb/fix-erlang-output
[Ubuntu] Fix erlang version output
2020-10-05 19:17:58 +03:00
Drew Skwiers-Koballa 1e8fd7a108 moves dacfx to database tools in report 2020-10-05 08:11:58 -07:00
Drew Skwiers-Koballa 3b2c13ea5b Merge branch 'main' of https://github.com/actions/virtual-environments into dacfx-186 2020-10-05 08:08:28 -07:00
Vladimir Safonkin 84b3837f88 Install aws sam cli to default python 2020-10-05 17:21:27 +03:00
Leonid Lapshin 70219fe6ee Add database tools section to Windows docs (#1706)
* add database tools section to docs, removed sqlps powershell module

* reverted SQLPS module changes

* removed SqlServer module from tools, its listed in PS modules

* delete function as its not needed

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-05 16:24:53 +03:00
Dmitry Shibanov e3c86e5f66 Merge branch 'main' into v-dmshib/android-tools-dynamic-linux 2020-10-05 16:24:06 +03:00
Vladimir Safonkin 8750bf4011 Rework pipx toolset 2020-10-05 15:01:46 +03:00
Vladimir Safonkin d26db64941 Fix 2020-10-05 13:41:50 +03:00
Vladimir Safonkin 958f252984 Add check for python path 2020-10-05 13:31:53 +03:00
Maxim Lobanov 1ae6d84002 Merge pull request #1711 from maxim-lobanov/v-malob/add-beta-xcode-postfix
Improve software report to print information about Xcode release type
2020-10-05 12:22:42 +03:00
Vladimir Safonkin 08f157956f Move list of pipx packages into toolset 2020-10-05 12:04:29 +03:00
Aleksandr Chebotov e56fa77d91 restore owner 2020-10-05 11:19:24 +03:00
Maxim Lobanov 5a7b484353 Merge pull request #1708 from dibir-magomedsaygitov/v-dimago/copy-windows-public-scripts-content
[Windows] Add Windows related scripts from MMS-Provisioner
2020-10-05 11:16:11 +03:00
Vladimir Safonkin 4b0de6f6f4 Minor fix 2020-10-05 11:08:22 +03:00
Dmitry Shibanov 156764e42b add functions 2020-10-05 10:57:58 +03:00
Dmitry Shibanov 3187ff66cf add comment 2020-10-05 10:46:06 +03:00
Aleksandr Chebotov ce454f523e fix erlang version output 2020-10-05 10:38:36 +03:00
Vladimir Safonkin 687f58106d Minor fix 2020-10-05 09:56:42 +03:00
Vladimir Safonkin 63925c8d9f Revert yamllint for ubuntu 1604 2020-10-05 09:22:23 +03:00
Vladimir Safonkin f4b8b26237 Revert for ubuntu 1604 2020-10-05 09:20:26 +03:00
Aleksandr Chebotov 4ef13d58ee remove import ImageHelpers module 2020-10-05 09:17:49 +03:00
Maxim Lobanov 7bedae622b Merge branch 'main' into v-malob/add-beta-xcode-postfix 2020-10-04 20:03:27 +03:00
Vladimir Safonkin a11c9fff08 Fix templates 2020-10-04 14:51:46 +03:00
Vladimir Safonkin f6b3cf674c Fix 2020-10-03 23:03:28 +03:00
Vladimir Safonkin 7601fe7b50 Fix 2020-10-03 19:51:07 +03:00
Maxim Lobanov 53b1234edd Merge pull request #1718 from akv-platform/al-cheb/fix-dev-macos
[macOS] Fix Xcode simulators section
2020-10-03 16:59:30 +03:00
Maxim Lobanov d52c1a2a78 Merge pull request #1721 from akv-platform/al-cheb/fix-update-docker
[Windows] Fix Update-DockerImages.ps1 installation
2020-10-03 16:58:59 +03:00
Vladimir Safonkin fd2efe9c53 Fix 2020-10-03 11:54:36 +03:00
Vladimir Safonkin 7df63a370d Fix ubuntu 18.04 template 2020-10-02 16:51:03 +03:00
Dmitry Shibanov 6a8fd16499 get all build-tools 2020-10-02 13:54:37 +03:00
Vladimir Safonkin 3203e15121 Minor fix 2020-10-02 12:58:12 +03:00
Aleksandr Chebotov c646bf5912 fix Update-DockerImages.ps1 installation 2020-10-02 11:50:58 +03:00
Aleksandr Chebotov 64b2205f5c TOOLSET_JSON_PATH Update-DockerImages.ps1" 2020-10-02 11:37:55 +03:00
Vladimir Safonkin 6d325ba398 Add pipx and yamllint to report 2020-10-02 11:23:02 +03:00
Aleksandr Chebotov 0cd68997b6 $ErrorActionPreference='Stop' for AllUsersAllHosts 2020-10-02 10:59:05 +03:00
Maxim Lobanov 42d210e4e7 Merge pull request #1696 from akv-platform/al-cheb/win-android-dyn
[Windows] Retrieve the list of Android packages for installing dynamically
2020-10-02 09:43:41 +03:00
github-actions[bot] 1b736c25b1 Updating readme file for macos-10.15 version 20200918.1 (#1639)
Co-authored-by: no-reply@microsoft.com <Image generation service account>
Co-authored-by: Actions service account <no-reply@github.com>
2020-10-02 06:22:28 +00:00
Vladimir Safonkin a1f44e0d46 Fix 2020-10-02 09:20:33 +03:00
Aleksandr Chebotov f8c071db4a fix simulators section 2020-10-02 09:20:15 +03:00
Vladimir Safonkin 88f35e5ba4 Fix 2020-10-02 09:15:26 +03:00
Maxim Lobanov 0d0558e887 Merge pull request #1710 from akv-platform/al-cheb/fix-codeql-version
[Ubuntu] Fix CodeQL version output in markdown file
2020-10-02 09:10:32 +03:00
Maxim Lobanov c06600d266 Merge pull request #1713 from miketimofeev/v-mitim/set_6.12.0_as_default_bundle
[macOS] Set 6_12_0 as default Xamarin bundle
2020-10-02 09:10:24 +03:00
Maxim Lobanov fc8383a81e Update Xcode.Helpers.psm1 2020-10-02 08:05:11 +03:00
Vladimir Safonkin 8904093791 Disable env vars 2020-10-01 23:49:11 +03:00
Vladimir Safonkin 790ccbb8e5 Add pipx_bin to path for pipx packages 2020-10-01 22:55:54 +03:00
Mikhail Timofeev 3e94ae478b remove grants to audiodevices 2020-10-01 21:56:41 +03:00
Drew Skwiers-Koballa bae2994912 adding function to actual report 2020-10-01 07:55:23 -07:00
Maxim Lobanov 0dfb1b07dd Enable Java tests since Java switching was fixed in MacOS 11.0 beta 9 2020-10-01 17:53:12 +03:00
Vladimir Safonkin be310626e0 Add pipx, yamllint and aws sam cli 2020-10-01 17:52:16 +03:00
Dmitry Shibanov 9956daab66 fix function accroding to comments 2020-10-01 16:33:20 +03:00
Dibir Magomedsaygitov ed9705b7fd move ssh host key creation to install-git.ps1 2020-10-01 14:53:27 +03:00
Mikhail Timofeev 1cce301a92 set 6_12_0 as default bundle 2020-10-01 14:48:15 +03:00
Maxim Lobanov da68de0a09 Implement logic to check if xcode is beta 2020-10-01 13:11:30 +03:00
Dmitry Shibanov 16a27e2045 add import 2020-10-01 13:08:53 +03:00
Dmitry Shibanov d0f8592d88 add function and clean up logic for array 2020-10-01 13:07:40 +03:00
Aleksandr Chebotov 46da19770f fix directory name 2020-10-01 12:53:28 +03:00
Dibir Magomedsaygitov 29300ce6eb minor change 2020-10-01 12:43:21 +03:00
Gökay Gürcan 6cbf54320c Improve nvm installer 2020-10-01 11:31:02 +02:00
Dibir Magomedsaygitov 3a2c8bc0b9 change destination 2020-10-01 12:28:33 +03:00
Dibir Magomedsaygitov fb82e1197a add scripts to templates 2020-10-01 11:52:39 +03:00
Dibir Magomedsaygitov c101287fd8 rework dotnet script 2020-10-01 11:41:42 +03:00
Dmitry Shibanov 89bf727a19 add function to check version 2020-10-01 11:03:39 +03:00
Dibir Magomedsaygitov 91ee0cc268 rename and remove scripts 2020-10-01 10:48:50 +03:00
Maxim Lobanov 28a8724352 Merge pull request #1705 from akv-platform/al-cheb/set-default-python
[Ubuntu] Default Python will be switched to 3.8 on Ubuntu 20.04
2020-10-01 09:41:59 +03:00
Drew Skwiers-Koballa c4a0c6a8ea adds dacfx to win tools report 2020-09-30 13:47:59 -07:00
Aleksandr Chebotov 5524108024 fix typo 2020-09-30 23:47:14 +03:00
Aleksandr Chebotov c50e6e62b5 use helper functions 2020-09-30 23:42:32 +03:00
Dibir Magomedsaygitov 56633cec4a refactor and rename scripts 2020-09-30 20:13:40 +03:00
Aleksandr Chebotov fe810160ee fix target 2020-09-30 19:08:14 +03:00
Aleksandr Chebotov d66f67dbe1 fix parsing 2020-09-30 18:48:31 +03:00
Aleksandr Chebotov 63a1d3a583 replace python-is-python2 to python-is-python3 2020-09-30 16:59:28 +03:00
Aleksandr Chebotov ec921a2443 set python3 as default on Ubuntu 20.04 2020-09-30 16:19:28 +03:00
Aleksandr Chebotov e2fd93b699 remove download archive 2020-09-30 14:56:59 +03:00
Dibir Magomedsaygitov 85b60d074c resolve comments 2020-09-30 12:34:36 +03:00
Dmitry Shibanov 28b4f38d98 fix pass variable 2020-09-30 11:56:42 +03:00
Maxim Lobanov a4c17e83d6 Merge pull request #1694 from nikita-bykov/docker-toolset
Move the list of Docker images to toolset on Windows
2020-09-30 11:04:57 +03:00
Aleksandr Chebotov 55b69ec4b4 remove duplicate msys2 record 2020-09-30 10:33:53 +03:00
Aleksandr Chebotov 2a76bb378f remove stderr 2>&1 2020-09-30 10:11:33 +03:00
Mikhail Timofeev ed60294872 [macOS] Hardcode PyPy 7.3.1 for macOS-10.13 (#1693)
* remove workaround + install 7.3.1 for hs

* get back workaround for 7.3.1

* change order
2020-09-30 10:09:54 +03:00
Dmitry Shibanov d7fcfc5979 install dynamic for macOS 2020-09-29 18:19:26 +03:00
Dibir Magomedsaygitov 94c7463a7f rename folder 2020-09-29 18:16:37 +03:00
Dibir Magomedsaygitov bac163a71b move mms provisioner scripts 2020-09-29 18:13:37 +03:00
Dmitry Shibanov e32091634e add dynamic installation for linux 2020-09-29 17:26:59 +03:00
Aleksandr Chebotov 6b13fc34bc use dynamic lists for platforms and build-tools 2020-09-29 13:49:41 +03:00
Nikita Bykov 0c3f2ac159 moved the list of docker images to toolset 2020-09-29 10:57:30 +03:00
Maxim Lobanov 854d90d205 Merge pull request #1642 from Darleev/v-danurg/vsmac_latest_implementation
macOS: VSMAC update tools with latest flag.
2020-09-29 09:58:25 +03:00
Maxim Lobanov e5b0a48121 Merge pull request #1684 from dsame/v-sedoli/json-md-lint
Add json & md linting with github/super-linter
2020-09-29 09:50:27 +03:00
Maxim Lobanov 7ac332bcc0 Merge pull request #1683 from miketimofeev/v-mitim/disable_spotlight_indexing
[macOS] Disable spotlight indexing
2020-09-28 16:55:17 +03:00
Aleksandr Chebotov caefc77d7a update msys2 notes 2020-09-28 15:08:08 +03:00
Aleksandr Chebotov 17ba6f9969 Merge remote-tracking branch 'upstream/main' into main 2020-09-28 13:52:54 +03:00
Maxim Lobanov afd12d8740 Merge pull request #1687 from akv-platform/al-cheb/fix-windows-md
[Windows] Fix Get-CodeQLBundleVersion output
2020-09-28 13:08:50 +03:00
Aleksandr Chebotov 79beb8514c fix Get-CodeQLBundleVersion output 2020-09-28 12:50:18 +03:00
Maxim Lobanov b0f3f989ab Merge pull request #1673 from hutson/fix/win/file-casing
fix(win): use correct case sensitive file name
2020-09-28 12:04:42 +03:00
Maxim Lobanov 6768654b4b Merge pull request #1667 from akv-platform/al-cheb/add-ubuntu-clan-tidy
[Ubuntu] Use official repository to install clang
2020-09-28 11:55:19 +03:00
Sergey Dolin 258e8cd817 replace "main" with "$default-branch" 2020-09-28 12:52:06 +05:00
Maxim Lobanov f5d89dc0f1 Merge pull request #1670 from vsafonkin/v-vlsafo/fix-helper-generate-image
Fix credentials in GenerateResourcesAndImage.ps1
2020-09-28 10:49:37 +03:00
Maxim Lobanov eead57b5ea Merge pull request #1656 from dmitry-shibanov/v-dmshib/android-sdk-root-mac
Add ANDROID_SDK_ROOT variable to macOS
2020-09-28 10:39:36 +03:00
Maxim Lobanov cf63deb9e9 Merge pull request #1655 from dmitry-shibanov/v-dmshib/set-android-sdk-root-win
Add ANDROID_SDK_ROOT variable to windows
2020-09-28 10:39:03 +03:00
Sergey Dolin f102789f9f remove redundant comments 2020-09-28 12:37:31 +05:00
Maxim Lobanov fdd57d033b Merge pull request #1658 from akv-platform/al-cheb/ubuntu-gcc10
[Ubuntu] Add GCC 10
2020-09-28 10:37:08 +03:00
Sergey Dolin 0cc7e14e5e Change descriptive comment 2020-09-28 12:36:43 +05:00
Sergey Dolin 8c52f59c23 Add json & md linting with github/super-linter 2020-09-28 12:28:29 +05:00
Maxim Lobanov e1bd620104 Merge pull request #1635 from hutson/refactor/formatting
refactor: auto format JSON using VSC
2020-09-27 13:26:25 +03:00
Maxim Lobanov decb9c9b65 Merge pull request #1672 from dibir-magomedsaygitov/v-dimago/update-azure-powershell
Add Azure Powershell 4.7.0
2020-09-27 13:24:59 +03:00
Drew Skwiers-Koballa 5fc40a670a update dacfx to 18.6 2020-09-25 14:25:08 -07:00
Hutson Betts c49245208d fix(win): use correct case sensitive file name
File name was submitted with `CLI` in `AzureDevSpacesCLI` capitalized,
but the script is invoked as a provisioner using the lower-case `Cli`
form as seen in `AzureDevSpacesCli`.

Renaming the file to use the lower-case form to match other provisioning
scripts used in the Windows builds.

Issue introduced in commit 932d0f36cd
2020-09-25 12:54:14 -05:00
Dibir Magomedsaygitov 658a6a6642 add azure powershell v4.7.0 2020-09-25 16:25:39 +03:00
Mikhail Timofeev b998ade09b disable indexing 2020-09-25 15:41:31 +03:00
Darii Nurgaleev 2b1cccbb6d Merge remote-tracking branch 'upstream/main' into v-danurg/vsmac_latest_implementation 2020-09-25 19:15:46 +07:00
Maxim Lobanov 8e8096df78 Merge pull request #1663 from Darleev/v-danurg/sofware-update-week-40
Update software on macOS VM images for 2020 Week 40
2020-09-25 15:11:50 +03:00
Maxim Lobanov 80588bc5ae Merge pull request #1662 from dibir-magomedsaygitov/v-dimago/add-missing-tools-to-ubuntu-docs
Add missing tools to Ubuntu documentation
2020-09-25 15:10:32 +03:00
Maxim Lobanov 7e813d2577 Merge pull request #1557 from chrisgavin/install-codeql-bundle
Install the CodeQL bundle in the toolcache.
2020-09-25 15:09:55 +03:00
Darii Nurgaleev 27d5842dc4 Merge remote-tracking branch 'upstream/main' into v-danurg/vsmac_latest_implementation 2020-09-25 19:09:38 +07:00
Maxim Lobanov 7f21439a6e Merge branch 'main' into install-codeql-bundle 2020-09-25 15:09:27 +03:00
Darii Nurgaleev 2f4d359859 removed 12.0.1 2020-09-25 19:08:50 +07:00
Vladimir Safonkin 745e5b45ff Fix code style 2020-09-25 15:00:21 +03:00
Leonid Lapshin 932d0f36cd Add azure dev spaces to Windows (#1558)
* add azds to windows images

* add script to template

* syntax improvments, persistent path value, proper documentation section

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-09-25 14:51:01 +03:00
Aleksandr Chebotov f7ff25aead move to the official repository 2020-09-25 14:49:06 +03:00
Aleksandr Chebotov ec87362e80 add clang-tidy 2020-09-25 14:49:06 +03:00
Vladimir Safonkin e12653fe98 Fix credentials in GenerateResourcesAndImage.ps1 2020-09-25 14:08:34 +03:00
Aleksandr Chebotov 1f73bc3e70 fix markdown output 2020-09-25 12:41:45 +03:00
Aleksandr Chebotov cdc9d19df8 msys2 after openssl 2020-09-25 11:54:37 +03:00
Dmitry Shibanov 267483bef5 Merge branch 'main' into v-dmshib/set-android-sdk-root-win 2020-09-25 10:04:38 +03:00
Dmitry Shibanov 470b4da7c4 Merge branch 'main' into v-dmshib/android-sdk-root-mac 2020-09-25 10:03:46 +03:00
Darii Nurgaleev 3ffe5b2edc xcode 12.0.1 2020-09-25 12:09:37 +07:00
Dibir Magomedsaygitov 85906da062 fix R and sphinx version output 2020-09-24 23:39:14 +03:00
Aleksandr Chebotov 72bd7db479 exclude Ubuntu16 2020-09-24 20:49:22 +03:00
Darii Nurgaleev 9cc2c6a139 added bundles 2020-09-24 22:24:23 +07:00
github-actions[bot] 184354ad8e Updating readme file for ubuntu18 version 20200920.1 (#1629)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-24 15:00:57 +00:00
Dibir Magomedsaygitov 3500bbdf3e add sphinx version and remove pollinate 2020-09-24 16:50:28 +03:00
Dibir Magomedsaygitov ffbcaa7854 add missing tools to ubuntu docs 2020-09-24 15:07:30 +03:00
Darii Nurgaleev 083046a33c added toolsets 2020-09-24 19:05:39 +07:00
github-actions[bot] 956f925750 Updating readme file for win16 version 20200920.1 (#1626)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-24 11:18:37 +00:00
Aleksandr Chebotov 207f49ed93 add g++-10 2020-09-24 13:01:25 +03:00
github-actions[bot] 8f597be18b Updating readme file for win19 version 20200920.1 (#1627)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-24 09:19:45 +00:00
github-actions[bot] 7f0d75226f Updating readme file for ubuntu16 version 20200920.1 (#1625)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-24 09:14:42 +00:00
github-actions[bot] b2f9e51d7e Updating readme file for ubuntu20 version 20200920.1 (#1628)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-24 09:08:26 +00:00
Dmitry Shibanov 046a1e5b71 add ANDROID_SDK_ROOT to macOS 2020-09-24 11:19:02 +03:00
Dmitry Shibanov 13b9879c7e add ANDROID_SDK_ROOT to windows 2020-09-24 11:09:23 +03:00
Darii Nurgaleev 3635bca3c2 added latest version 2020-09-24 01:44:29 +07:00
Maxim Lobanov 5eaec87281 Merge pull request #1632 from nikita-bykov/macos-docs
Improve documentation for Android on MacOS
2020-09-23 17:59:43 +03:00
Maxim Lobanov 43d9476a37 Merge branch 'main' into refactor/formatting 2020-09-23 17:54:49 +03:00
Maxim Lobanov 7fe98f7934 Merge pull request #1645 from al-cheb/al-cheb/remove-pkgs-bigsur
[macOS] Remove R and virtualbox packages for macOS Big Sur
2020-09-23 17:38:36 +03:00
Chris Gavin 251164c90e Merge main into install-codeql-bundle. 2020-09-23 12:39:57 +01:00
Maxim Lobanov aaf71f0700 Merge pull request #1647 from dmitry-shibanov/v-dmshib/check-job-attempt
Add attempt count to macOS VM name
2020-09-23 14:25:24 +03:00
Dmitry Shibanov c5aa898cd6 change to find search 2020-09-23 14:13:02 +03:00
Dmitry Shibanov c189d7eac0 rename select-xamarin to selec-xamarin-sdk 2020-09-23 13:37:15 +03:00
Dmitry Shibanov c076e851f4 make scripts executable 2020-09-23 13:30:07 +03:00
Aleksandr Chebotov b6d36cae61 consistency shell naming 2020-09-23 11:45:36 +03:00
Aleksandr Chebotov ed62416e84 fix pester tests 2020-09-23 10:41:23 +03:00
Maxim Lobanov f199e4ad67 Merge pull request #1630 from al-cheb/al-cheb/install-interm-cert
[macOS] Apple Worldwide Developer Relations Intermediate Certificate Expiration
2020-09-23 09:44:22 +03:00
Maxim Lobanov 59d5f16732 Merge pull request #1631 from al-cheb/al-cheb/opt-dir-perm
[Ubuntu] Set chmod -R 777 /opt
2020-09-23 09:34:10 +03:00
Maxim Lobanov e54b198754 Merge pull request #1641 from zaanposni/zaanposni/1633-AzureModule
using azure module in ps script, adjusted documentation
2020-09-23 08:29:24 +03:00
Darii Nurgaleev d0860e2c37 change quotes 2020-09-23 01:41:19 +07:00
Maxim Lobanov 0d9eb3db97 Merge pull request #1640 from miketimofeev/v-mitim/hardcode_edge_85.0.564.51
[Windows] Workaround for missing Edge webriver
2020-09-22 20:45:10 +03:00
Aleksandr Chebotov 2148a2bd2f adding pester tests 2020-09-22 18:22:15 +03:00
Aleksandr Chebotov 56ea603436 merge edge fix 2020-09-22 16:28:42 +03:00
Aleksandr Chebotov a5e3159c62 replace git for windows internal tools 2020-09-22 16:18:15 +03:00
Aleksandr Chebotov fe9f74e51e rm helper and installer folder in post-deployment 2020-09-22 13:55:21 +03:00
Dmitry Shibanov 9a48139d0e add attempts 2020-09-22 12:54:47 +03:00
Aleksandr Chebotov 49763bcc9d new line 2020-09-22 12:33:10 +03:00
Aleksandr Chebotov adf9c70bd9 package condition 2020-09-22 12:32:31 +03:00
Aleksandr Chebotov 907a61cd2f exclude vagrant 2020-09-22 12:30:15 +03:00
Aleksandr Chebotov d0524e9381 exclude R and virtualbox 2020-09-22 12:12:44 +03:00
Darii Nurgaleev 3e0cb719c7 copy issue. 2020-09-22 15:31:29 +07:00
Dmitry Shibanov 0d663601b6 Check environment variables 2020-09-22 11:25:51 +03:00
Darii Nurgaleev b3251e95a8 vsmac added latest flag 2020-09-22 15:21:08 +07:00
Mikhail Timofeev e5a5a6cc39 fix path 2020-09-22 10:50:32 +03:00
zaanposni 3a47b604fd fixes #1633 , using azure module, adjusted documentation 2020-09-22 09:46:15 +02:00
Mikhail Timofeev 6986bb8008 set condition to install .51 instead of .60 2020-09-22 10:44:51 +03:00
Nikita Bykov e107d8b2bf Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into macos-docs 2020-09-22 10:33:39 +03:00
Nikita Bykov c3ca91a185 added Get-AndroidNDKVersions function 2020-09-22 09:46:44 +03:00
Hutson Betts 42827c5d7f refactor: auto format JSON using VSC 2020-09-21 13:24:05 -05:00
Maxim Lobanov e691d6e33b Merge pull request #1583 from nikita-bykov/win-docs
Improve documentation for Android on Windows
2020-09-21 18:56:31 +03:00
Chris Gavin 0a8bab6093 Touch a file required to indicate to the toolcache that CodeQL is fully set up. 2020-09-21 15:37:02 +01:00
Dmitry Shibanov 36fb92995a add build vm assets 2020-09-21 17:16:22 +03:00
Maxim Lobanov 5fceca9626 Merge pull request #1623 from akv-platform/v-malob/bring-mac-cloud
Bring latest MacOS changes from Internal repo from 12 September
2020-09-21 17:02:53 +03:00
Nikita Bykov c7b8aca60e update 2020-09-21 14:55:25 +03:00
Nikita Bykov 6a33354485 improved documentation for Android on macOS 2020-09-21 12:05:58 +03:00
Aleksandr Chebotov d4335cc52e set chmod -R 777 /opt 2020-09-21 11:18:28 +03:00
Aleksandr Chebotov 8de9bcc26c add AppleWWDRCAG3.cer 2020-09-21 10:53:56 +03:00
Chris Gavin 37668db1c4 Fix CodeQL documentation function. 2020-09-21 08:43:39 +01:00
Maxim Lobanov 3052b5f447 Merge branch 'main' into v-malob/bring-mac-cloud 2020-09-21 09:50:28 +03:00
Maxim Lobanov 702796b09b Bring latest changes from internal Mac-Cloud repository from 21 September 2020-09-21 09:46:17 +03:00
Mikhail Timofeev a636448540 hardcode edge 2020-09-20 19:53:35 +03:00
Chris Gavin 49dc2ce2fd Use new approach for documenting CodeQL on Ubuntu. 2020-09-20 13:39:58 +01:00
Chris Gavin 3243c81039 Merge main into install-codeql-bundle. 2020-09-19 13:52:56 +01:00
github-actions[bot] 2c60c78141 Updating readme file for macos-10.15 version 20200916.1 (#1617)
Co-authored-by: no-reply@microsoft.com <Image generation service account>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-19 09:54:33 +00:00
Maxim Lobanov 8771fb4827 Merge pull request #1618 from miketimofeev/v-mitim/windows_avoid_pypy_rc
[Windows] Fix PyPy versions filter to avoid release candidates
2020-09-19 10:52:02 +03:00
Alejandro Pauly 4f51cd9d28 Use special secret for pr approval. 2020-09-18 11:13:36 -04:00
Mikhail Timofeev e183946520 beautify regexp 2020-09-18 15:24:13 +03:00
Maxim Lobanov bee0124648 Merge pull request #1606 from MaksimZhukov/v-mazhuk/implement-public-macos-ci
Implement public CI for MacOS builds
2020-09-18 15:15:40 +03:00
Mikhail Timofeev 33b92aee3c fix filter to avoid rc versions 2020-09-18 15:12:45 +03:00
Maxim Lobanov bbf0677581 Merge pull request #1574 from andy-mishechkin/v-andmis/Add_Microsoft_VS_Installer_Projects
Deploy script and tests for VSIX  (Visual Studio extensions)
2020-09-18 11:03:20 +03:00
Chris Gavin 60d40e5dd5 Document the CodeQL version that is installed. 2020-09-18 08:31:58 +01:00
Maxim Lobanov 111fb08504 Merge pull request #1543 from al-cheb/al-cheb/ubuntu20_clang10
[Ubuntu] Add and set clang-10 as the default version for Ubuntu 20
2020-09-18 09:38:32 +03:00
Aleksandr Chebotov 65b6ca8163 add os helpers 2020-09-17 17:59:39 +03:00
Nikita Bykov d5b409e8a2 removed the comma 2020-09-17 17:06:40 +03:00
github-actions[bot] 597569e608 Updating readme file for ubuntu20 version 20200914.1 (#1590)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-17 16:33:47 +03:00
github-actions[bot] 757f015130 Updating readme file for ubuntu18 version 20200914.1 (#1585)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-17 16:33:38 +03:00
github-actions[bot] 2d0a86fefe Updating readme file for ubuntu16 version 20200914.1 (#1586)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-17 16:33:26 +03:00
Nikita Bykov 16486c520b removed useless function 2020-09-17 14:58:58 +03:00
Aleksandr Chebotov 809ab4473a Merge branch 'main' of https://github.com/actions/virtual-environments into al-cheb/ubuntu20_clang10 2020-09-17 14:49:40 +03:00
Maxim Lobanov 4c634f73b0 Merge pull request #1584 from actions/releases/win16/20200913-docs
Windows Server 2016 (20200913 update)
2020-09-17 14:47:46 +03:00
Actions service account 54418f593c Merge branch 'main' into releases/win16/20200913-docs 2020-09-17 11:39:06 +00:00
Vladimir Safonkin 7b3bfbdf61 [Ubuntu] Remove docs logic from Ubuntu provisioner (#1603)
* Remove docs logic on Ubuntu

* Cleanup templates

* Fix oras-cli.sh

* Remove announcements.md
2020-09-17 14:15:31 +03:00
Chris Gavin c72e08b8b6 Touch a file to indicate the source of pre-downloaded CodeQL bundles. 2020-09-17 12:14:59 +01:00
Alena Sviridenko 1abf54f6c1 updated Ubuntu contribution guide (#1602) 2020-09-17 14:14:54 +03:00
Chris Gavin 6877c76a4e Fix another PowerShell issue. 2020-09-17 09:57:18 +01:00
github-actions[bot] 063bc445b9 Updating readme file for macos-10.15 version 20200913.1 (#1597)
Co-authored-by: no-reply@microsoft.com <Image generation service account>
Co-authored-by: Actions service account <no-reply@github.com>
2020-09-17 11:35:15 +03:00
Andrey Mishechkin (GITHUB INC) a6a816be73 Merge branch 'main' into v-andmis/Add_Microsoft_VS_Installer_Projects 2020-09-17 11:15:32 +04:00
MaksimZhukov a8a908b63e Implement public CI for MacOS builds 2020-09-16 19:44:58 +03:00
Andrey Mishechkin (GITHUB INC) f0f5024ec9 Vsix.Tests.ps1 - condition has been added 2020-09-16 19:16:22 +04:00
MaksimZhukov 81b67fbbc5 Merge pull request #16 from MaksimZhukov/v-mazhuk/configure-ci
Implement public CI for MacOS builds
2020-09-16 18:09:50 +03:00
Maxim Lobanov cceb960763 Merge pull request #1601 from akv-platform/v-malob/macos-docs
Update contribution guide for MacOS image to prevent customers contributing to MacOS source
2020-09-16 16:46:26 +03:00
Maxim Lobanov 219bfe0d1f fix comments 2020-09-16 16:37:30 +03:00
Chris Gavin 53db4e15c4 Fix a typo. 2020-09-16 14:11:22 +01:00
Maxim Lobanov 5a21833c60 Merge pull request #1575 from al-cheb/al-cheb/ubuntu-software-generator
[Ubuntu] Add markdown file's generation to Ubuntu images
2020-09-16 15:53:21 +03:00
MaksimmZZZhukoff 5dc70e7d03 Update variables in image-generation file 2020-09-16 14:36:05 +03:00
Maxim Lobanov 6e62e32b97 Update CONTRIBUTING.md 2020-09-16 13:41:49 +03:00
MaksimmZZZhukoff 3d46b4867e Add script to validate contributor permissions 2020-09-16 13:27:13 +03:00
Maxim Lobanov 15b5f5fe67 MacOS -> macOS 2020-09-16 13:25:16 +03:00
Maxim Lobanov 2d3a3d4f3d update documentation 2020-09-16 11:43:50 +03:00
Aleksandr Chebotov 46fdad5e60 fix android and docker sections 2020-09-16 10:42:16 +03:00
Andrey Mishechkin (GITHUB INC) ac0f65a9c6 Merge branch 'main' into v-andmis/Add_Microsoft_VS_Installer_Projects 2020-09-16 11:21:52 +04:00
Chris Gavin b367cf7636 Merge main into install-codeql-bundle. 2020-09-16 07:50:05 +01:00
Maxim Lobanov ed9d8f87f0 Merge pull request #1592 from dmitry-shibanov/v-dmshib/fix-dotnet-tests
Fix dot net test issue with 5.0 version
2020-09-16 09:30:47 +03:00
MaksimZhukov 734baaa941 Move credscan-exclusions file 2020-09-15 19:14:07 +03:00
Dmitry Shibanov 9aa35e66d7 Merge branch 'main' into v-dmshib/fix-dotnet-tests 2020-09-15 17:25:23 +03:00
MaksimZhukov 0b2ee087e3 Fix comments 2020-09-15 16:10:29 +03:00
Chris Gavin 9337c6edb4 Fix not being able to find CodeQL. 2020-09-15 13:54:28 +01:00
MaksimZhukov 80d5ed8f2a Add trim 2020-09-15 15:37:18 +03:00
MaksimZhukov 9def9a1f02 Add "validate contributor permissions" step 2020-09-15 15:25:32 +03:00
Chris Gavin 81942c8299 Convert CodeQL Windows test to a Pester test. 2020-09-15 10:34:09 +01:00
Dmitry Shibanov 5bdcf8b949 add fix for dotnet 2020-09-15 12:33:12 +03:00
Vladimir Safonkin e703a5e0bc Add approve by Actions bot to software docs PR (#1582)
* Add approve to software docs PR by Actions bot

* Minor fix
2020-09-15 12:25:51 +03:00
Nikita Bykov 6b0d1e5a78 removed Location column 2020-09-15 12:03:42 +03:00
Chris Gavin ff346a80bd Actually call CodeQL bundle install scripts in Packer. 2020-09-15 09:43:32 +01:00
Chris Gavin 096464f38e Tidy up CodeQL bundle Linux installer script in response to review comments. 2020-09-15 09:43:32 +01:00
Chris Gavin 79c4eb4910 Tidy up CodeQL bundle Windows installer script in response to review comments. 2020-09-15 09:43:32 +01:00
Andrey Mishechkin (GITHUB INC) 8a03bd9376 toolset_json_path has been added to section with Install-Vsix 2020-09-15 12:22:05 +04:00
Aleksandr Chebotov 4a07ea61a8 fix gem output 2020-09-15 09:20:45 +03:00
Maxim Lobanov 61c99cf582 Move MacOS image-generation code to virtual-environments repository #1573
Move MacOS image-generation code to virtual-environments repository
2020-09-15 08:39:01 +03:00
Maxim Lobanov 9afcb1503a fresh update from internal repository 2020-09-15 08:36:03 +03:00
Aleksandr Chebotov 5b009f290a julia remove trailing line 2020-09-14 22:22:58 +03:00
Aleksandr Chebotov ef96becdb6 fix warnings 2020-09-14 22:15:25 +03:00
MaksimZhukov d166ca23b7 fix typo 2020-09-14 22:11:50 +03:00
MaksimZhukov 221a58cd32 Remove sensitive data from logs 2020-09-14 22:06:19 +03:00
Aleksandr Chebotov 6ed3828759 fix azcopy and rust 2020-09-14 21:47:31 +03:00
github-actions[bot] 336bee0334 Merge pull request #1560 from actions/releases/ubuntu18/20200908-docs
Ubuntu 1804 (20200908 update)
2020-09-14 13:53:44 +00:00
Actions service account adb5d45a9b Merge branch 'main' into releases/ubuntu18/20200908-docs 2020-09-14 13:53:10 +00:00
MaksimZhukov eff7f1d783 Add name to ymls and add output_folder variable 2020-09-14 16:46:44 +03:00
Aleksandr Chebotov bcca2214d9 remove module MarkdownPS installation 2020-09-14 16:39:49 +03:00
Aleksandr Chebotov 8d517bf188 remove () 2020-09-14 16:27:20 +03:00
Aleksandr Chebotov e7a8e6a597 install powershell modules 2020-09-14 16:25:33 +03:00
MaksimZhukov 7e0e8fcab6 Fix structure 2020-09-14 15:44:26 +03:00
Andrey Mishechkin (GITHUB INC) 1df53d8a67 "buildtools_workloads" section has been removed 2020-09-14 15:33:51 +04:00
Andrey Mishechkin (GITHUB INC) 1044f472da Merge branch 'main' into v-andmis/Add_Microsoft_VS_Installer_Projects 2020-09-14 15:31:12 +04:00
Image generation service account d3956d48eb Updating readme file for win16 version 20200913.0 2020-09-14 09:35:05 +00:00
Aleksandr Chebotov 3e90bb832a fix environment variable 2020-09-14 11:31:41 +03:00
Andrey Mishechkin (GITHUB INC) c8633ce4c4 SSDTExtensions.Tests.ps1 has been reverted 2020-09-14 12:31:15 +04:00
Nikita Bykov 1f73b64e5c Improved documentation for Android 2020-09-14 11:01:14 +03:00
Aleksandr Chebotov 370986d0f0 rename Take-Part -> Take-OutputPart 2020-09-14 10:09:05 +03:00
github-actions[bot] 12ad042e30 Merge pull request #1561 from actions/releases/ubuntu16/20200908-docs
Ubuntu 1604 (20200908 update)
2020-09-14 07:03:12 +00:00
Actions service account 858cd99344 Merge branch 'main' into releases/ubuntu16/20200908-docs 2020-09-14 07:02:38 +00:00
github-actions[bot] f7040864f6 Merge pull request #1562 from actions/releases/ubuntu20/20200908-docs
Ubuntu 2004 (20200908 update)
2020-09-14 06:56:39 +00:00
Actions service account 0bac456963 Merge branch 'main' into releases/ubuntu20/20200908-docs 2020-09-14 06:56:06 +00:00
Wei Ji 7f9c626315 Revert Miniconda version change in Windows*-Readme.md 2020-09-14 18:00:07 +12:00
Wei Ji 32a9b1e449 Update Miniconda version on Windows from 4.6.14 to latest 2020-09-14 17:50:46 +12:00
MaksimZhukov ab5c601f87 Remove destroy vm script 2020-09-14 02:23:17 +03:00
MaksimZhukov 3f3e73819a fix build-image.ps1 script 2020-09-14 02:15:55 +03:00
MaksimZhukov e918791a0a fix path to the script 2020-09-14 02:13:24 +03:00
MaksimZhukov 7f3dce9705 Fix build VM step 2020-09-14 02:09:16 +03:00
MaksimZhukov b89beb150d Update structure 2020-09-14 01:57:13 +03:00
Maxim Lobanov db9d42d77d Merge pull request #1566 from asklar/patch-1
MSBuild/CL.exe fails to launch when called from a nodeJS script via Yarn
2020-09-13 16:28:02 +03:00
Andrey Mishechkin (GITHUB INC) d1ae794365 minor fix in Vsix.Tests 2020-09-11 20:14:21 +04:00
Andrey Mishechkin (GITHUB INC) a52de89923 SSDTExtensions.Tests.ps1 has been removed 2020-09-11 19:55:05 +04:00
Andrey Mishechkin (GITHUB INC) 6d480172c3 Merge branch 'main' into v-andmis/Add_Microsoft_VS_Installer_Projects 2020-09-11 19:47:48 +04:00
Andrey Mishechkin (GITHUB INC) 63fe681d98 Case has been fixed 2020-09-11 19:40:28 +04:00
Maxim Lobanov 09550baace Merge pull request #1569 from LeonidLapshin/remove-buildtools
Remove buildtools
2020-09-11 18:39:53 +03:00
Andrey Mishechkin (GITHUB INC) cbb93facbc nitpic 2020-09-11 19:20:28 +04:00
Andrey Mishechkin (GITHUB INC) 493aec5cab minor bugfixing 2020-09-11 19:10:05 +04:00
MaksimZhukov 77330e4553 fix path 2020-09-11 18:02:49 +03:00
MaksimZhukov 962aa94f3a Add CI for macos 2020-09-11 17:34:56 +03:00
Andrey Mishechkin (GITHUB INC) ed1663db18 minor fixing in Install-Vsix.ps1 2020-09-11 16:19:27 +04:00
Aleksandr Chebotov 3ea5c7d183 Add markdown file's generation to Ubuntu images 2020-09-11 14:59:17 +03:00
Andrey Mishechkin (GITHUB INC) b8361c46ea Merge branch 'main' into v-andmis/Add_Microsoft_VS_Installer_Projects 2020-09-11 15:45:03 +04:00
Andrey Mishechkin (GITHUB INC) 0c146bf19b Test name has been changed to "VSIX Extension <VsixId>" 2020-09-11 15:07:47 +04:00
Andrey Mishechkin (GITHUB INC) 8169d5efd4 VsixTests -> Vsix 2020-09-11 15:06:03 +04:00
Andrey Mishechkin (GITHUB INC) c6e7cc46fa Windows templates have been modified 2020-09-11 15:05:02 +04:00
Andrey Mishechkin (GITHUB INC) daed7d9fc5 hardcoded vesrions has been reverted 2020-09-11 15:00:12 +04:00
Andrey Mishechkin (GITHUB INC) 29362bcc5c nitpick - message has been changed 2020-09-11 14:47:36 +04:00
Andrey Mishechkin (GITHUB INC) 5587930568 $VsVersion now is got from toolset 2020-09-11 14:43:21 +04:00
Andrey Mishechkin (GITHUB INC) 00b1f4c3c9 Import-Module has been removed 2020-09-11 14:11:15 +04:00
Andrey Mishechkin (GITHUB INC) 0bf0a04ef6 Empty VSIX array has been added 2020-09-11 14:05:55 +04:00
Andrey Mishechkin (GITHUB INC) fd7f9cc9fd exit 1 -> exit 0 2020-09-11 13:38:58 +04:00
Andrey Mishechkin (GITHUB INC) 10252c3fc3 Checking the VSIX has been added 2020-09-11 13:25:22 +04:00
Andrey Mishechkin (GITHUB INC) d56d5a4b06 Windows2019-Azure.json has been reverted from main branch 2020-09-11 13:08:26 +04:00
Andrey Mishechkin (GITHUB INC) ffc68fcc47 Small bug fixing in json file 2020-09-11 13:04:58 +04:00
Andrey Mishechkin (GITHUB INC) feaef58222 Vsix Tests have been created. Old files have been removed 2020-09-11 12:42:29 +04:00
Leonid Lapshin a963caf625 cobertura jars link changed 2020-09-11 08:58:54 +03:00
Leonid Lapshin 128244b89b removed VS buildtools installation 2020-09-10 17:04:24 +03:00
Leonid Lapshin 97185c300d Merge branch 'main' of https://github.com/actions/virtual-environments into add-buildtools-installation 2020-09-10 17:01:14 +03:00
Maxim Lobanov 511c6e636b move source code to public 2020-09-10 14:34:08 +03:00
Maxim Lobanov ffc156448e Merge pull request #1565 from al-cheb/al-cheb/docker-toolset
[Ubuntu] move docker images to the toolset.json
2020-09-10 13:14:42 +03:00
Aleksandr Chebotov 5494425658 Merge branch 'main' of https://github.com/al-cheb/virtual-environments into al-cheb/docker-toolset 2020-09-10 09:37:06 +03:00
Aleksandr Chebotov f1f0a6c87b Merge branch 'main' of https://github.com/al-cheb/virtual-environments into al-cheb/docker-toolset 2020-09-10 09:32:47 +03:00
github-actions[bot] d323fc0ec2 Merge pull request #1555 from actions/releases/macos-10.15/20200903-docs
macOS 10.15 (20200903 update)
2020-09-10 04:12:28 +00:00
Actions service account 76e45384a2 Merge branch 'main' into releases/macos-10.15/20200903-docs 2020-09-10 04:11:54 +00:00
Alexander Sklar 8c087af706 Update Install-NodeLts.ps1 2020-09-09 10:45:40 -07:00
Maxim Lobanov cb545d411d Merge pull request #1563 from miketimofeev/v-mitim/test_announce
[Ubuntu] Fix announcements rendering
2020-09-09 19:03:40 +03:00
Maxim Lobanov 591dc82e80 Merge pull request #1556 from al-cheb/al-cheb/move-basic-pkgs
[Ubuntu] move apt pkgs to the toolset.json
2020-09-09 18:42:02 +03:00
Aleksandr Chebotov 37aa3f5ade move docker images to the toolset.json 2020-09-09 15:42:39 +03:00
Mikhail Timofeev 6e04edd2ad add all the other ubuntu templates 2020-09-09 14:38:16 +03:00
Image generation service account f28fb6226a Updating readme file for ubuntu20 version 20200908.1 2020-09-09 08:19:09 +00:00
Image generation service account cca8875335 Updating readme file for ubuntu16 version 20200908.1 2020-09-09 08:16:27 +00:00
Image generation service account 2be09abc6d Updating readme file for ubuntu18 version 20200908.1 2020-09-09 07:59:49 +00:00
Andrey Mishechkin (GITHUB INC) 40333f6adf Install-Vsix.ps1 has been created 2020-09-09 08:55:15 +04:00
Mikhail Timofeev 9e6468a11c test 2020-09-08 23:56:33 +03:00
github-actions[bot] 6fecdfae36 Merge pull request #1529 from actions/releases/ubuntu18/20200901-docs
Ubuntu 1804 (20200901 update)
2020-09-08 19:49:15 +00:00
github-actions[bot] d5dd667d76 Merge pull request #1535 from actions/releases/ubuntu20/20200901-docs
Ubuntu 2004 (20200901 update)
2020-09-08 19:48:49 +00:00
Actions service account 6eac64daca Merge branch 'main' into releases/ubuntu18/20200901-docs 2020-09-08 19:48:42 +00:00
Actions service account c2c91ae691 Merge branch 'main' into releases/ubuntu20/20200901-docs 2020-09-08 19:48:15 +00:00
github-actions[bot] eb8a28b560 Merge pull request #1528 from actions/releases/ubuntu16/20200901-docs
Ubuntu 1604 (20200901 update)
2020-09-08 19:42:25 +00:00
Actions service account f50def491c Merge branch 'main' into releases/ubuntu16/20200901-docs 2020-09-08 19:41:51 +00:00
Aleksandr Chebotov 2f46bd5c7c rename toolsetJson -> toolset 2020-09-08 19:20:07 +03:00
Aleksandr Chebotov b8d3652352 rename toolsetJson -> toolset 2020-09-08 19:09:31 +03:00
Chris Gavin 09dcae0f24 Install the CodeQL bundle in the toolcache. 2020-09-08 12:48:26 +01:00
Aleksandr Chebotov 2881a81b22 move apt pkgs to the toolset.json 2020-09-08 14:40:56 +03:00
Leonid Lapshin 54978f0e06 Add VS build tools installation for Windows (#1533)
* add VS build tools installation, tests, reports, made minor changes to current VS install helper functions

* Vstype typo

* removed unused variable

* validate set for new functions

* some variable names clarifications

* test parameter error

* style and syntax improvments

* syntax notation

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-09-08 10:48:31 +03:00
Maxim Lobanov 5b40c3de56 Update macos-10.15-Readme.md 2020-09-08 10:21:52 +03:00
Andrey Mishechkin (GITHUB INC) 86faddeb95 Installer project URL has been corrected 2020-09-08 11:01:42 +04:00
no-reply@microsoft.com 865b3bf4cd Updating readme file for macos-10.15 version 20200903.1 2020-09-08 06:56:18 +00:00
Andrey Mishechkin (GITHUB INC) ece0348c18 InstallerProjets scripts have been added 2020-09-07 17:05:11 +04:00
Leonid Lapshin 2e6ca0ca56 syntax notation 2020-09-07 10:27:55 +03:00
Maxim Lobanov c2c26d2c17 Merge pull request #1547 from andy-mishechkin/v-andmis/add_Microsoft.VisualStudio.ComponentGroup.UWP.VC_to_win2019
Microsoft.VisualStudio.ComponentGroup.UWP.VC has been added to toolse…
2020-09-07 09:52:17 +03:00
Maxim Lobanov 4264eb2c19 Merge pull request #1545 from al-cheb/al-cheb/patch-announcements
[Ubuntu] Fix announcements info output
2020-09-04 13:53:40 +03:00
Andrey Mishechkin (GITHUB INC) 9129c68e36 Microsoft.VisualStudio.ComponentGroup.UWP.VC has been added to toolset 2019 2020-09-04 12:09:39 +04:00
Aleksandr Chebotov af06b80d98 fix output announcements 2020-09-03 18:23:08 +03:00
Aleksandr Chebotov 7d791a5e06 add and set clang-10 as the default for Ubuntu 20 2020-09-03 16:34:37 +03:00
Maxim Lobanov 1dae8d00db Merge pull request #1513 from paolomainardi/feature/install-hub-from-github
Install hub without snap
2020-09-03 10:53:27 +03:00
Maxim Lobanov dd5a506fd9 Merge pull request #1515 from paolomainardi/feature/install-kustomize-without-snap
Install kustomize without snap
2020-09-03 10:49:00 +03:00
Leonid Lapshin e438bd4302 style and syntax improvments 2020-09-03 10:34:05 +03:00
github-actions[bot] 655f581e6f Merge pull request #1510 from actions/releases/win19/20200827-docs
Windows Server 2019 (20200827 update)
2020-09-03 06:38:15 +00:00
github-actions[bot] dff47da168 Merge pull request #1512 from actions/releases/win16/20200827-docs
Windows Server 2016 (20200827 update)
2020-09-03 06:36:59 +00:00
github-actions[bot] 438010435a Merge pull request #1538 from actions/releases/macos-10.15/20200829-docs
macOS 10.15 (20200829 update)
2020-09-02 23:36:38 +00:00
Actions service account e07bac2bb6 Merge branch 'main' into releases/win16/20200827-docs 2020-09-02 13:43:36 +00:00
Leonid Lapshin 26183d0fa7 test parameter error 2020-09-02 16:43:01 +03:00
Actions service account f42bf10441 Merge branch 'main' into releases/win19/20200827-docs 2020-09-02 13:29:38 +00:00
no-reply@microsoft.com ff1423cd6f Updating readme file for macos-10.15 version 20200829.1 2020-09-02 07:17:20 +00:00
Maxim Lobanov 265cc1fb88 Merge pull request #1501 from actions/releases/macos-10.15/20200825
macOS 10.15 (20200825 update)
2020-09-02 05:59:34 +03:00
Leonid Lapshin fdf40a931b some variable names clarifications 2020-09-01 22:05:26 +03:00
Image generation service account 210cb9cdbb Updating readme file for ubuntu20 version 20200901.1 2020-09-01 15:12:32 +00:00
Leonid Lapshin 425d62e593 validate set for new functions 2020-09-01 17:22:57 +03:00
Image generation service account 956c4284e4 Updating readme file for ubuntu18 version 20200901.1 2020-09-01 13:29:14 +00:00
Image generation service account 53993a9421 Updating readme file for ubuntu16 version 20200901.1 2020-09-01 13:28:12 +00:00
Leonid Lapshin ade2f9d34a removed unused variable 2020-09-01 16:17:55 +03:00
Leonid Lapshin e1d821a073 Vstype typo 2020-09-01 16:05:15 +03:00
Leonid Lapshin cf9a92d64e add VS build tools installation, tests, reports, made minor changes to current VS install helper functions 2020-09-01 15:53:26 +03:00
Maxim Lobanov 9c7c88fc65 Merge pull request #1493 from actions/releases/ubuntu20/20200825
Ubuntu 2004 (20200825 update)
2020-09-01 15:14:16 +03:00
Maxim Lobanov 397c0dc73e Merge pull request #1495 from actions/releases/ubuntu18/20200825
Ubuntu 1804 (20200825 update)
2020-09-01 15:13:52 +03:00
Maxim Lobanov f69f88e122 Merge pull request #1496 from actions/releases/ubuntu16/20200825
Ubuntu 1604 (20200825 update)
2020-09-01 15:11:20 +03:00
Maxim Lobanov 5dd142eba1 add permissions (#1521)
Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
2020-09-01 12:00:01 +03:00
Dmitry Shibanov 2674d46acc add az 4.6.0 to toolset (#1522)
Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
2020-09-01 11:59:24 +03:00
Paolo Mainardi 3b2abcd6ec Fix untar path 2020-08-31 16:12:26 +02:00
Paolo Mainardi 197cc250ed Code review: using a variable 2020-08-31 14:39:57 +02:00
Paolo Mainardi f7699ffa5b code review: use download_with_retries, remove custom tmp dir, set -e
Signed-off-by: Paolo Mainardi <paolo.mainardi@sparkfabrik.com>
2020-08-31 12:28:55 +02:00
Paolo Mainardi 12a99c7f7f Install kustomize without snap 2020-08-28 18:14:03 +02:00
Paolo Mainardi 053476eee2 Install hub without snap 2020-08-28 17:49:24 +02:00
Image generation service account 6401bea1df Updating readme file for win19 version 20200827.1 2020-08-28 13:55:53 +00:00
Image generation service account 659158fecb Updating readme file for win16 version 20200827.1 2020-08-28 13:55:04 +00:00
Vladimir Safonkin dd518dff50 Resolve possible conflicts in software update PR (#1394)
* Resolve possible conflicts in software update PR

* Push updated release branch to repo

* Setup committer's name and email

* Minor fix

* Add step to create branch for PR

* Add pause before merging

* Minor renaming

* Add step to delete docs branch
2020-08-28 16:26:41 +03:00
Dmitry Shibanov 4dd9ba84fd add permissions 2020-08-28 16:17:22 +03:00
Leonid Lapshin 7eed5ae558 Add Pulumi to Ubuntu images (#1428)
* Add Pulumi to ubuntu images

* remove Pulumi from docs because it is auto-documented

* change Pulumi installation script

* removed legacy install, use /tmp, change auto-documentation, use download function instead of curl

* include install.sh to Pulumi's installation script

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-08-28 10:35:11 +03:00
Leonid Lapshin dd8885cdc9 Add Pulumi to Windows images (#1439)
* 1242 add Pulumi to windows images

* change package name

* Add Pulumi version to doc generator

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-08-28 10:34:51 +03:00
Leonid Lapshin db45f3fcac the Github CLI version fix for short version number (#1468)
* the Github CLI version fix for short version number

* select the string with version in command output, get the version without date

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-08-28 10:25:28 +03:00
Chris Gavin 2f3649bd98 Install NuGet when installing Mono. (#1426) 2020-08-28 10:25:01 +03:00
Drew Skwiers-Koballa f6d861ee26 update dacfx to 18.5.1 (#1477) 2020-08-28 10:24:23 +03:00
Ryan Spletzer acba4e9bfa Fix GoogleCloudSDK test name typo (#1438) 2020-08-27 18:34:37 +03:00
no-reply@microsoft.com a014097c35 Updating readme file for macos-10.15 version 20200825.1 2020-08-27 13:54:20 +00:00
Dmitry Shibanov 5385a075eb Set javac version 1.8 on Ubuntu 16.04 (#1483)
* set up javac version

* fix update-java-alternatives

* add version check

* change java check

* fix checks and position of update-java-alternatives

* resolve comments

Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
2020-08-27 10:25:56 +03:00
github-actions[bot] b060904d56 Merge pull request #1461 from actions/releases/win19/20200820
Windows Server 2019 (20200820 update)
2020-08-26 17:48:33 +00:00
Aleksandr Chebotov e9080f8ef6 get chrome path from registy (#1487) 2020-08-26 19:39:34 +03:00
github-actions[bot] 0d8046bb17 Merge pull request #1459 from actions/releases/win16/20200820
Windows Server 2016 (20200820 update)
2020-08-26 16:36:56 +00:00
Image generation service account 82fba472ed Updating readme file for ubuntu16 version 20200825.1 2020-08-26 16:32:18 +00:00
Image generation service account 4083238f8d Updating readme file for ubuntu18 version 20200825.1 2020-08-26 16:32:06 +00:00
Image generation service account a400c7065e Updating readme file for ubuntu20 version 20200825.1 2020-08-26 16:23:13 +00:00
Mikhail Timofeev 4865e6e394 [Ubuntu] Fix aws-sam-cli repository url (#1482)
* fix url

* change directory name
2020-08-25 19:38:42 +03:00
github-actions[bot] 9136da3cd7 Merge pull request #1447 from actions/releases/macos-10.15/20200819
macOS 10.15 (20200819 update)
2020-08-25 06:13:51 +00:00
Dibir Magomedsaygitov 69cabd6f73 Fix versions of android build tools on Ubuntu pools (#1473) 2020-08-24 18:46:39 +03:00
Reza Moallemi 9702468b9e Add support for Android build-tools-30.0.2 to Ubuntu images (#1434) 2020-08-24 12:38:00 +03:00
Maksim Petrov f97706e248 Add current commit into logs for custom builds (#1419)
* Show latest commit for custom repos

* Remove unused variables from templates

* Add Get-LatestCommit function

* Fix in synopsis

* Remove SSH_Password variables from Windows Images

* Rename download-customrepo

* Fix in synopsis
2020-08-24 12:31:51 +03:00
Aleksandr Chebotov ba17c75613 [Windows] Set the dynamic port range to start at port 49152 and to end at the 65536 (16384 ports) (#1442)
* set the dynamic port range

* update pester test

* update context about VS installer

* update dynamicports pester test
2020-08-24 09:44:21 +03:00
Aleksandr Chebotov ad2409dbfa vm.max_map_count=262144 (#1463) 2020-08-21 18:59:49 +03:00
Fabio Niephaus cd8b41b5ef Do not set JAVA_TOOL_OPTIONS on Linux (#1467)
This ensures that a) the `JAVA_TOOL_OPTIONS` environment variable is not set, which avoids additional output from some Java tools, and that b) the default Java file encoding is not changed.

For more details, see #1437.
2020-08-21 16:49:48 +03:00
Image generation service account deb3adfc2c Updating readme file for win19 version 20200820.1 2020-08-21 07:53:28 +00:00
Image generation service account d9af1b9f91 Updating readme file for win16 version 20200820.1 2020-08-21 07:53:09 +00:00
Mikhail Timofeev 1ebce5e29c [Windows] Add Android build-tools 30.0.1 and 30.0.2 (#1448)
* add build tools 30.0.2

* add for windows

* remove ubuntu
2020-08-21 10:33:44 +03:00
github-actions[bot] 2b01625186 Merge pull request #1421 from actions/releases/ubuntu18/20200817
Ubuntu 1804 (20200817 update)
2020-08-21 04:44:14 +00:00
Sergey Dolin ef2dfca5b5 Move android components list to toolsets on Ubuntu image (#1420)
* migrate 1604 installation

* Document 16.04

* More debug on installed compnents

* 1804 and 2004 images

* Remove un-needed chmod

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-08-20 11:39:33 +03:00
Maxim Lobanov b111f638e3 Improve issue templates: repro steps and labels (#1446)
* update templates

* Update bug-report.md
2020-08-20 11:26:05 +03:00
github-actions[bot] 1b65e22637 Merge pull request #1423 from actions/releases/ubuntu20/20200817
Ubuntu 2004 (20200817 update)
2020-08-20 08:13:35 +00:00
github-actions[bot] fd5b4a8f68 Merge pull request #1422 from actions/releases/ubuntu16/20200817
Ubuntu 1604 (20200817 update)
2020-08-20 08:00:34 +00:00
no-reply@microsoft.com a9b04f4778 Updating readme file for macos-10.15 version 20200819.1 2020-08-20 07:56:12 +00:00
github-actions[bot] ff26391ad2 Merge pull request #1409 from actions/releases/macos-10.15/20200806
macOS 10.15 (20200806 update)
2020-08-20 06:43:42 +00:00
Aleksandr Chebotov 9110b38999 [Windows 2019] Fix missing msvcr100.dll (#1427)
* install vcredist2010

* Microsoft Visual C++ docs section
2020-08-19 10:32:35 +03:00
github-actions[bot] 2602d38877 Merge pull request #1401 from actions/releases/win16/20200811
Windows Server 2016 (20200811 update)
2020-08-18 18:33:23 +00:00
Aleksandr Chebotov 75bdbe2542 mongodb v4.4.0 on Windows (#1424) 2020-08-18 09:23:47 +03:00
Image generation service account 0b765914bb Updating readme file for ubuntu20 version 20200817.1 2020-08-17 11:43:26 +00:00
Image generation service account 31a47966cb Updating readme file for ubuntu16 version 20200817.1 2020-08-17 11:42:50 +00:00
Image generation service account 4e9db2d0bb Updating readme file for ubuntu18 version 20200817.1 2020-08-17 11:42:40 +00:00
Dhananajaya M. Senanayake 6b9c25bb72 install kustomize (#1415) 2020-08-17 11:36:21 +03:00
Darii Nurgaleev 5cf25b5baa added DOTNET_MULTILEVEL_LOOKUP (#1417) 2020-08-15 15:28:58 +03:00
Lukas Kämmerling 547991fbfc Go 1.15 (#1399)
* Update toolset-1604.json

* Update toolset-1804.json

* Update toolset-2004.json

* Update toolset-2019.json

* Update toolset-2016.json
2020-08-15 07:17:07 +03:00
Damon Barry 1989cb28bc Use full resource IDs and clean up output (#1370) 2020-08-14 14:14:28 +03:00
Aleksandr Chebotov 47a39283ba MongoDB v4.2.8 Windows (#1410) 2020-08-14 09:39:22 +03:00
Aleksandr Chebotov c6cd2373c4 update mongodb 4.2 -> 4.4 lts (#1405) 2020-08-13 15:28:50 +03:00
Maxim Lobanov a33205b231 Update macos-10.15-Readme.md 2020-08-13 14:02:25 +03:00
no-reply@microsoft.com dc78bd4bd6 Updating readme file for macos-10.15 version 20200806.4 2020-08-13 10:52:50 +00:00
Aleksandr Chebotov 6dde8b7b1c Сleanup log files after image-generation on Ubuntu (#1395) 2020-08-12 16:19:43 +03:00
Alena Sviridenko 295d48c1a7 Fixed GitHub CLI version output 2020-08-12 14:37:04 +03:00
Image generation service account 7aa4c083ef Updating readme file for win16 version 20200811.0 2020-08-12 10:47:21 +00:00
Darii Nurgaleev f7a61d3d46 Windows templates: Merge installation scripts. (#1352)
* merge installation scripts

* check all data

* change java path

* wmic to initialize VM

* little changes for wmic.

* try another way for wmic

* additional quotes

* changes for wmic again

* added wmic to another path

* windows 2016 short template

* 7z replace
2020-08-12 13:45:17 +03:00
github-actions[bot] caa568385a Merge pull request #1374 from actions/releases/ubuntu18/20200806
Ubuntu 1804 (20200806 update)
2020-08-12 09:29:54 +00:00
github-actions[bot] 563f0d87cc Merge pull request #1376 from actions/releases/ubuntu20/20200806
Ubuntu 2004 (20200806 update)
2020-08-12 09:21:08 +00:00
github-actions[bot] edca4aa764 Merge pull request #1375 from actions/releases/ubuntu16/20200806
Ubuntu 1604 (20200806 update)
2020-08-12 09:20:41 +00:00
Nikita Bykov 687ede498c added permissions to ANDROID_SDK_ROOT (#1393)
Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2020-08-12 10:30:02 +03:00
no-reply@microsoft.com 35b85ed52d Updating readme file for macos-10.15 version 20200802.1 2020-08-12 07:24:26 +00:00
Sergey Dolin a3eb0ee40a Install NSIS from Source Forge (#1392)
* Install NSIS from Source Forge

* Switch to 3.06.1

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-08-11 23:41:25 +03:00
Aleksandr Chebotov ef06465440 openssl and libssl-dev doc version (#1391) 2020-08-11 13:48:02 +03:00
Dibir Magomedsaygitov 504b88bcb0 [Windows] Fix WebPlatformInstaller installation (#1379)
* fix webPlatformInstaller installation

* Install-WebPI -> Install-WebPlatformInstaller

* add tests for webPlatformInstaller

* fix webPlatformInstaller test
2020-08-08 08:01:33 +03:00
Image generation service account f24abc90ed Updating readme file for ubuntu20 version 20200806.0 2020-08-07 07:33:30 +00:00
Image generation service account 2eae5de3e1 Updating readme file for ubuntu16 version 20200806.0 2020-08-07 07:30:03 +00:00
Image generation service account 2d1df17d7b Updating readme file for ubuntu18 version 20200806.0 2020-08-07 07:29:56 +00:00
Benjamin Lannon e3cb3e32d4 Add Netlify CLI to Linux images (#1361) 2020-08-06 21:01:25 +03:00
Arjun Roy Chaudhuri 02b79cb9dc add buster layer to github runner's cache (#1360) 2020-08-06 21:01:01 +03:00
github-actions[bot] c5599c2184 Merge pull request #1345 from actions/releases/ubuntu18/20200802
Ubuntu 1804 (20200802 update)
2020-08-06 15:58:06 +00:00
github-actions[bot] ee53977af2 Merge pull request #1347 from actions/releases/ubuntu20/20200802
Ubuntu 2004 (20200802 update)
2020-08-06 14:36:46 +00:00
github-actions[bot] 5bbc9bcdb4 Merge pull request #1348 from actions/releases/win16/20200802
Windows Server 2016 (20200802 update)
2020-08-06 14:30:07 +00:00
github-actions[bot] cd19e94073 Updating readme file for win19 version 20200802.1 (#1349)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2020-08-06 15:41:00 +03:00
github-actions[bot] d657ab7953 Merge pull request #1346 from actions/releases/ubuntu16/20200802
Ubuntu 1604 (20200802 update)
2020-08-06 12:28:18 +00:00
Vladimir Safonkin 75ac0436ed Add generation of announcements tables (#1355)
* Parse announcements from issues

* Minor fix

* Minor fix

* Reworked

* Minor fix

* Fix env variable name
2020-08-06 15:12:04 +03:00
Maxim Lobanov 0f6fba462a Move CLI tests to the separate test file on Windows (#1363)
* move cli tests to the separate file

* switch install scripts

* unify CLI names
2020-08-06 11:27:58 +03:00
Augusto Zanellato 490f615019 Replace SVN with TortoiseSVN (#1247) 2020-08-06 10:43:41 +03:00
Daniel Paoliello c02a8e9391 Add libc++ and libc++abi for all Ubuntu images (#1315)
PR for #1314 - modifies the existing script to add libc++ and libc++abi to all Ubuntu images, rather than just 16.04.
2020-08-06 10:41:43 +03:00
Mikhail Timofeev 0cd48075cc [Windows] Change Alibaba Cloud CLI installation to direct download (#1353)
* change aliyun-cli installation

* change directory from system32

* fix typo

* move aliyun installation block for win2016
2020-08-05 14:07:44 +03:00
Maksim Petrov bedcc8513e Improve documentation (#1321)
* Improve documentation

* Move documentation to CreateImageAndAzureResources.md

Co-authored-by: Alejandro Pauly <alepauly@github.com>
2020-08-04 20:32:35 +03:00
Image generation service account 6dc0905a2a Updating readme file for ubuntu20 version 20200802.1 2020-08-03 06:36:30 +00:00
Image generation service account bb9938773c Updating readme file for ubuntu18 version 20200802.1 2020-08-03 06:35:48 +00:00
Image generation service account 0ac171379d Updating readme file for ubuntu16 version 20200802.1 2020-08-03 06:35:41 +00:00
no-reply@microsoft.com 632722fedf Updating readme file for macos-10.15 version 20200728.1 2020-08-02 17:58:40 +00:00
github-actions[bot] f2ed040f57 Merge pull request #1306 from actions/releases/win19/20200726
Windows Server 2019 (20200726 update)
2020-07-31 19:26:23 +00:00
Dmitry Shibanov d32e912921 Latest R version (#1331)
* update R version

* fi for all ubuntu

* remove if

* change naming

Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
2020-07-31 14:31:00 +03:00
Vladimir Safonkin f57a773971 Remove cached ghc versions from Ubuntu docs (#1310)
* Remove cached ghc versions from Ubuntu docs

* Add default ghc to path

* Create symlink for ghc

* Create symlink for cabal
2020-07-31 14:16:12 +03:00
Victor Hiairrassary 3542c55a31 Add brotli to linux images (#1317) 2020-07-31 14:06:33 +03:00
Aleksandr Chebotov fda92f21e6 Add yamllint support (#1319) 2020-07-30 18:31:48 +03:00
Aleksandr Chebotov affa6b1297 [Windows] Add yamllint support for the default Python version only (#1320)
* Add yamllint support

* fix yamllint verion output

* move yamllint to the Tools section
2020-07-30 17:25:02 +03:00
github-actions[bot] 1f7bfc8b3c Merge pull request #1303 from actions/releases/ubuntu18/20200726
Ubuntu 1804 (20200726 update)
2020-07-30 14:08:22 +00:00
Maxim Lobanov 505e2ddc26 Add announcement about SVN update (#1326)
* Update announcements.md
2020-07-30 15:58:49 +03:00
Aleksandr Chebotov ea400e9081 Fix parsing download url for Firefox on Ubuntu(#1322) 2020-07-30 14:26:11 +03:00
github-actions[bot] 4df20d7a88 Merge pull request #1305 from actions/releases/win16/20200726
Windows Server 2016 (20200726 update)
2020-07-30 11:14:52 +00:00
Sergey Dolin d3788c5fcf Migrate validation to Pester (#1249)
* remove Validate-* scripts

* Remove references to validation scripts from .json files

* Separate "It"s by new lines

* Remove new line before the first  "It"

* Separate "It"s by new lines

* remove 32-bit WinAppDriver check

* remove explicit variable definition

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-07-30 10:12:49 +03:00
Aleksandr Chebotov 9364062300 [Windows] .NET Framework Performance Issue (#1316)
* ngen KB2570538

* suppress ngen log output
2020-07-30 09:56:11 +03:00
Andy Mishechkin 4de7ae4bce Msys2 clang-tools-extra have been added to windows deployment (#1311)
* clang-tidy.exe has been added

* tools have been split to tools64\32
2020-07-30 07:20:19 +03:00
github-actions[bot] 3794f04d7f Merge pull request #1291 from actions/releases/ubuntu16/20200723
Ubuntu 1604 (20200723 update)
2020-07-29 16:12:05 +00:00
Maxim Lobanov c8e481a874 Merge branch 'main' into releases/ubuntu16/20200723 2020-07-29 19:08:20 +03:00
github-actions[bot] d1b6236d8c Merge pull request #1290 from actions/releases/ubuntu20/20200723
Ubuntu 2004 (20200723 update)
2020-07-29 15:50:47 +00:00
Maxim Lobanov bc24f098e0 Merge branch 'main' into releases/ubuntu20/20200723 2020-07-29 18:46:40 +03:00
Aleksandr Chebotov e767ccdc35 openssl and libssl-dev doc version (#1312) 2020-07-29 09:26:24 +03:00
Dibir Magomedsaygitov b0a922fa52 [Windows] Add back to documentation versions of Visual Studio Components (#1304)
* fix software report for visual studio extensions

* resolve conflicts

* fix issue with vs components

* refactor code

* add fliter to components extracting
2020-07-28 18:07:31 +03:00
Vladimir Safonkin b7c69ef560 Add announcements to software documentation (#1285)
* Add Windows announcements

* Minor fix

* Add Ubuntu announcements

* Minor fix

* Add announcements to win16 template

* Cleanup announcement files

* Rename announcements files
2020-07-28 13:18:33 +03:00
Image generation service account 33d9767a24 Updating readme file for win19 version 20200726.1 2020-07-27 15:33:47 +00:00
Dibir Magomedsaygitov 97e4ea8356 fix wix toolset version numbers (#1302) 2020-07-27 18:28:18 +03:00
Maxim Lobanov 5accac96c1 Update Windows contribution guide (#1295)
* Update CONTRIBUTING.md

* resolve Ale's comments
2020-07-27 16:30:51 +03:00
Image generation service account 87d34033e6 Updating readme file for ubuntu18 version 20200726.1 2020-07-27 08:04:35 +00:00
Image generation service account 67989c1e38 Updating readme file for ubuntu16 version 20200723.1 2020-07-24 07:37:49 +00:00
Image generation service account 1234c84344 Updating readme file for ubuntu20 version 20200723.1 2020-07-24 07:37:42 +00:00
516 changed files with 25016 additions and 9833 deletions
+1 -2
View File
@@ -1,2 +1 @@
# Do not normalize line endings
* -text
* text=auto eol=lf
+1
View File
@@ -0,0 +1 @@
* @actions/virtual-environments-owners
+48
View File
@@ -0,0 +1,48 @@
name: Announcement
description: Submit an announcement
labels: [Announcement]
body:
- type: textarea
attributes:
label: Breaking changes
placeholder: Short description of the upcoming change
validations:
required: true
- type: textarea
attributes:
label: Target date
placeholder: Date of changes propagation start
validations:
required: true
- type: textarea
attributes:
label: The motivation for the changes
placeholder: Description of main reasons for this change
validations:
required: true
- type: textarea
attributes:
label: Possible impact
placeholder: Description of who might be impacted by this change
validations:
required: true
- type: checkboxes
attributes:
label: Virtual environments affected
options:
- label: Ubuntu 18.04
- label: Ubuntu 20.04
- label: macOS 10.15
- label: macOS 11
- label: Windows Server 2016
- label: Windows Server 2019
- label: Windows Server 2022
validations:
required: true
- type: textarea
attributes:
label: Mitigation ways
description: Steps or options for impact mitigation
validations:
required: true
-35
View File
@@ -1,35 +0,0 @@
---
name: Bug report
about: Submit a bug report
title: ''
labels: t:Bug report
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is, and why you consider it to be a bug.
**Area for Triage**:
<!-- See https://github.com/actions/virtual-environments/tree/main/triage-rules.yml for areas -->
**Question, Bug, or Feature?**:
<!-- Choose "Question", "Bug", or "Feature" -->
**Virtual environments affected**
- [ ] macOS 10.15
- [ ] Ubuntu 16.04 LTS
- [ ] Ubuntu 18.04 LTS
- [ ] Ubuntu 20.04 LTS
- [ ] Windows Server 2016 R2
- [ ] Windows Server 2019
**Expected behavior**
A description of what you expected to happen.
**Actual behavior**
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.
1. Step 1
2. Step 2
+55
View File
@@ -0,0 +1,55 @@
name: Bug Report
description: Submit a bug report
labels: [needs triage]
body:
- type: textarea
attributes:
label: Description
description: A clear and concise description of what the bug is, and why you consider it to be a bug.
validations:
required: true
- type: checkboxes
attributes:
label: Virtual environments affected
options:
- label: Ubuntu 18.04
- label: Ubuntu 20.04
- label: macOS 10.15
- label: macOS 11
- label: Windows Server 2016
- label: Windows Server 2019
- label: Windows Server 2022
validations:
required: true
- type: textarea
attributes:
label: Image version and build link
description: |
Image version where you are experiencing the issue. Where to find image version in build logs:
1. For GitHub Actions, under "Set up job" -> "Virtual Environment" -> "Version".
2. For Azure DevOps, under "Initialize job" -> "Virtual Environment" -> "Version".
If you have a public example, please, provide a link to the failed build.
validations:
required: true
- type: input
attributes:
label: Is it regression?
description: If yes, please, provide the latest image version where the issue didn't persist, and a link to the latest successful build.
- type: textarea
attributes:
label: Expected behavior
description: A description of what you expected to happen.
- type: textarea
attributes:
label: Actual behavior
description: A description of what is actually happening.
- type: textarea
attributes:
label: Repro steps
placeholder: |
A description with steps to reproduce the issue.
1. Step 1
2. Step 2
validations:
required: true
+1
View File
@@ -0,0 +1 @@
blank_issues_enabled: false
-42
View File
@@ -1,42 +0,0 @@
---
name: Tool request
about: Request a new tool or update to a tool
title: Update/Add [tool name]
labels: t:Enhancement
assignees: ''
---
**Tool information**
- Tool name: <!--- Name -->
- Tool license: <!--- Type of licensing for desired tool -->
- Add or update? <!--- Add or update? -->
- Desired version: <!--- Let us know if you're requesting a specific version, dev/RC, whatever is latest, etc. -->
- Approximate size: <!--- Leave blank if not known -->
- If this is an add request:
- Brief description of tool: <!--- Description -->
- URL for tool's homepage: <!--- URL -->
- Provide a basic test case to validate the tool's functionality: <!-- Code sample -->
**Area for Triage**:
<!-- See https://github.com/actions/virtual-environments/tree/main/triage-rules.yml for areas -->
**Question, Bug, or Feature?**:
<!-- Choose "Question", "Bug", or "Feature" -->
**Virtual environments affected**
- [ ] macOS 10.15
- [ ] Ubuntu 16.04 LTS
- [ ] Ubuntu 18.04 LTS
- [ ] Ubuntu 20.04 LTS
- [ ] Windows Server 2016 R2
- [ ] Windows Server 2019
**Can this tool be installed during the build?**
<!--- If so, please provide a description with required steps. -->
**Tool installation time in runtime**
<!--- How long does it take to install the tool? -->
**Are you willing to submit a PR?**
<!--- We accept contributions! -->
+75
View File
@@ -0,0 +1,75 @@
name: Tool request
description: Request a new tool or update to a tool
title: Update/Add [tool name]
labels: [feature request, needs triage]
body:
- type: markdown
attributes:
value: "## Tool information"
- type: input
attributes:
label: Tool name
validations:
required: true
- type: input
attributes:
label: Tool license
description: Type of licensing for desired tool.
validations:
required: true
- type: checkboxes
attributes:
label: Add or update?
options:
- label: Add
- label: Update
- type: input
attributes:
label: Desired version
description: Let us know if you're requesting a specific version, dev/RC, whatever is latest, etc.
validations:
required: true
- type: input
attributes:
label: Approximate size
description: Leave blank if unknown.
- type: markdown
attributes:
value: "## If this is an add request"
- type: textarea
attributes:
label: Brief description of tool
- type: input
attributes:
label: URL for tool's homepage
- type: textarea
attributes:
label: Provide a basic test case to validate the tool's functionality.
description: This will be automatically formatted into code.
render: bash
- type: checkboxes
attributes:
label: Virtual environments affected
options:
- label: Ubuntu 18.04
- label: Ubuntu 20.04
- label: macOS 10.15
- label: macOS 11
- label: Windows Server 2016
- label: Windows Server 2019
- label: Windows Server 2022
validations:
required: true
- type: textarea
attributes:
label: Can this tool be installed during the build?
description: If so, please provide a description with required steps. This will be automatically formatted into code.
render: bash
- type: input
attributes:
label: Tool installation time in runtime
description: How long does it take to install the tool?
- type: input
attributes:
label: Are you willing to submit a PR?
description: We accept contributions!
+2
View File
@@ -3,6 +3,8 @@ New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
**For new tools, please provide total size and installation time.**
<!-- Currently, we can't accept external contributions to macOS source. Please find more details in [CONTRIBUTING.md](CONTRIBUTING.md#macOS) guide -->
#### Related issue:
## Check list
+1 -1
View File
@@ -6,7 +6,7 @@ on:
jobs:
build:
Create_GitHub_release:
runs-on: ubuntu-latest
steps:
+26 -4
View File
@@ -6,22 +6,44 @@ on:
jobs:
build:
Create_pull_request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Clone release branch to create pull request
run: |
git checkout ${{ github.event.client_payload.ReleaseBranchName }}
git branch ${{ github.event.client_payload.ReleaseBranchName }}-docs
git push origin ${{ github.event.client_payload.ReleaseBranchName }}-docs
- name: Create pull request for ${{ github.event.client_payload.ReleaseBranchName }}
id: create-pr
uses: actions/github-script@v2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.pulls.create({
let response = await github.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: "${{ github.event.client_payload.PullRequestTitle }}",
head: "${{ github.event.client_payload.ReleaseBranchName }}",
head: "${{ github.event.client_payload.ReleaseBranchName }}-docs",
base: "${{ github.event.client_payload.PullRequestBase }}",
body: `${{ github.event.client_payload.PullRequestBody }}`
});
});
return response.data.number
- name: Request reviewers
uses: actions/github-script@v2
with:
github-token: ${{secrets.PRAPPROVAL_SECRET}}
script: |
github.pulls.requestReviewers({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ steps.create-pr.outputs.result }},
team_reviewers: ['virtual-environments-akvelon']
})
-32
View File
@@ -1,32 +0,0 @@
# Adapted from: https://github.com/microsoft/azure-pipelines-tasks/blob/master/.github/workflows/blank.yml
# This action labels and assigns newly opened issues
name: Issue triager
on:
issues:
types: [opened]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: damccorm/tag-ur-it@master
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: "./triage-rules.yml"
- if: always()
uses: actions/github-script@0.4.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['needs triage']
})
+36
View File
@@ -0,0 +1,36 @@
# CI Validation
name: Linter
on:
pull_request:
branches: [ main ]
paths:
- '**.json'
- '**.md'
- '**.sh'
jobs:
build:
name: Lint JSON & MD files
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter/slim@v4
env:
VALIDATE_ALL_CODEBASE: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_JSON: true
VALIDATE_MARKDOWN: true
DEFAULT_BRANCH: ${{ github.base_ref }}
FILTER_REGEX_EXCLUDE: .*images/*/.*-Readme.md
- name: Checking shebang lines in MacOS and Ubuntu releases.
run: ./images.CI/shebang-linter.ps1
shell: pwsh
+38 -3
View File
@@ -6,11 +6,34 @@ on:
jobs:
build:
Merge_pull_request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Resolve possible conflicts ${{ github.event.client_payload.ReleaseBranchName }} with main
run: |
git config --global user.email "no-reply@github.com"
git config --global user.name "Actions service account"
git checkout ${{ github.event.client_payload.ReleaseBranchName }}-docs
git merge --no-edit --strategy-option=ours main
git push origin ${{ github.event.client_payload.ReleaseBranchName }}-docs
sleep 30
- name: Approve pull request by GitHub-Actions bot
uses: actions/github-script@v2
with:
github-token: ${{secrets.PRAPPROVAL_SECRET}}
script: |
github.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ github.event.client_payload.PullRequestNumber }},
event: "APPROVE"
});
- name: Merge pull request for ${{ github.event.client_payload.ReleaseBranchName }}
uses: actions/github-script@v2
@@ -20,5 +43,17 @@ jobs:
github.pulls.merge({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ github.event.client_payload.PullRequestNumber }}
})
pull_number: ${{ github.event.client_payload.PullRequestNumber }},
merge_method: "squash"
})
- name: Delete docs branch ${{ github.event.client_payload.ReleaseBranchName }}-docs
uses: actions/github-script@v2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.git.deleteRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "heads/${{ github.event.client_payload.ReleaseBranchName }}-docs"
})
+1 -1
View File
@@ -6,7 +6,7 @@ on:
jobs:
build:
Update_GitHub_release:
runs-on: ubuntu-latest
steps:
+1 -5
View File
@@ -1,7 +1,3 @@
{
// When enabled, will trim trailing whitespace when you save a file.
"files.trimTrailingWhitespace": true,
"[markdown]": {
"files.trimTrailingWhitespace": false
},
"files.trimTrailingWhitespace": false
}
+33 -9
View File
@@ -14,22 +14,46 @@ Please note that this project is released with a [Contributor Code of Conduct][c
1. [Fork][fork] and clone the repository
1. Create a new branch: `git checkout -b my-branch-name`
1. Make your changes, ensure that they include steps to install and validate post-install (e.g. [kind.sh](images/linux/scripts/installers/kind.sh)).
Adding tool for Windows images:
- add tool installation script `Install-ToolName.ps1` (`/images/win/scripts/Installers`)
- add tool validation script `Validate-ToolName.ps1` (the same directory)
- add changes to document tool name and version to the software report generator: `images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1` that is used to generate software README file, e.g. [Windows2019-Readme.md](images/win/Windows2019-Readme.md)
1. Test your changes by [creating VHD and deploying a VM](help/CreateImageAndAzureResources.md).
1. Make your changes, ensure that they include steps to install, validate post-install and update software report (please see [How to add new tool](CONTRIBUTING.md#how-to-add-new-tool) for details).
1. Test your changes by [creating VHD and deploying a VM](docs/create-image-and-azure-resources.md).
1. Push to your fork and [submit a pull request][pr]
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Follow the style guide for [Powershell](https://github.com/PoshCode/PowerShellPracticeAndStyle) when writing Windows scripts. There is currently no set style for the Shell scripts that run Linux installs :soon:.
- Include complete details of why this is needed in the PR description. If it's a new piece tool being installed, consider cross-platform. If the tool is available in other platforms (MacOS, Windows, Linux), make sure you include it in as many as possible.
- Include complete details of why this is needed in the PR description.
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Write [good commit messages](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
- For new tools:
- Make sure that the tool satisfies [Software Guidelines](README.md#software-guidelines).
- Create an issue and get an approval from us to add this tool to the image before creating the pull request.
## How to add new tool
### General rules
- For every new tool add validation scripts and update software report script to make sure that it is included to documentation
- If the tool is available in other platforms (macOS, Windows, Linux), make sure you include it in as many as possible.
- If installing a few versions of the tool, consider putting the list of versions in the corresponding `toolset.json` file. It will help other customers to configure their builds flexibly. See [toolset-windows-2016.json](images/win/toolsets/toolset-2019.json) as example.
- Use consistent naming across all files
- Validation scripts should be simple and shouldn't change image content
### Windows
- Add a script that will install the tool and put the script in the `scripts/Installers` folder.
There are a bunch of helper functions that could simplify your code: `Choco-Install`, `Install-Binary`, `Install-VsixExtension`, `Start-DownloadWithRetry`, `Test-IsWin16`, `Test-IsWin19` (find the full list of helpers in [ImageHelpers.psm1](images/win/scripts/ImageHelpers/ImageHelpers.psm1)).
- Add a script that will validate the tool installation and put the script in the `scripts/Tests` folder.
We use [Pester v5](https://github.com/pester/pester) for validation scripts. If the tests for the tool are complex enough, create a separate `*.Tests.ps1`. Otherwise, use `Tools.Tests.ps1` for simple tests.
Add `Invoke-PesterTests -TestFile <testFileName> [-TestName <describeName>]` at the end of the installation script to make sure that your tests will be run.
- Add changes to the software report generator `images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1`. The software report generator is used to generate an image's README file, e.g. [Windows2019-Readme.md](images/win/Windows2019-Readme.md) and uses [MarkdownPS](https://github.com/Sarafian/MarkdownPS).
### Ubuntu
- Add script that will install and validate the tool and put the script in the `scripts/installers` folder.
Use existing scripts such as [github-cli.sh](images/linux/scripts/installers/github-cli.sh) as a starting point.
- Use [helpers](images/linux/scripts/helpers/install.sh) to simplify installation process.
- Validation part should `exit 1` if any issue with installation.
- Add changes to the software report generator `images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1`. The software report generator is used to generate an image's README file, e.g. [Ubuntu1804-Readme.md](images/linux/Ubuntu1804-README.md) and it uses [MarkdownPS](https://github.com/Sarafian/MarkdownPS).
### macOS
macOS source lives in this repository and available for everyone. However, macOS image-generation CI doesn't support external contributions yet so we are not able to accept pull-requests for now.
We are in the process of preparing macOS CI to accept contributions. Until then, we appreciate your patience and ask you continue to make tool requests by filing issues.
## Resources
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 GitHub
Copyright (c) 2021 GitHub
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+33 -32
View File
@@ -1,40 +1,36 @@
# GitHub Actions Virtual Environments
This repository contains the source used to create the [virtual environments](https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners) for GitHub Actions hosted runners, as well as the VM images of [Microsoft-hosted agents](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent) used for Azure Pipelines. To file bug reports, or request that tools be added/updated, please [open an issue using the appropriate template](https://github.com/actions/virtual-environments/issues/new/choose). To build a VM machine from this repo's source, see the [instructions](./help/CreateImageAndAzureResources.md).
This repository contains the source used to create the [virtual environments](https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners) for GitHub Actions hosted runners, as well as the VM images of [Microsoft-hosted agents](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent) used for Azure Pipelines. To build a VM machine from this repo's source, see the [instructions](docs/create-image-and-azure-resources.md).
How to get in touch with us:
- To file a bug report, or request tools to be added/updated, please [open an issue using the appropriate template](https://github.com/actions/virtual-environments/issues/new/choose)
- If you want to share your thoughts about image configuration, installed software, or bring some idea, please, create a new topic in a [discussions section](https://github.com/actions/virtual-environments/discussions) for a corresponding category. Before making a new discussion please make sure no similar topics were created earlier.
For general questions about using the virtual environments or writing your Actions workflow, please open requests in the [GitHub Actions Community Forum](https://github.community/c/github-actions/41).
## Available Environments
| Environment | YAML Label | Included Software | Latest Release & Rollout Progress |
| --------------------|---------------------|--------------------|---------------------|
| Ubuntu 20.04 | `ubuntu-20.04` | [ubuntu-20.04] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu20&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu20&redirect=1)
| Ubuntu 18.04 | `ubuntu-latest` or `ubuntu-18.04` | [ubuntu-18.04] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu18&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu18&redirect=1)
| Ubuntu 16.04 | `ubuntu-16.04` | [ubuntu-16.04] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu16&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu16&redirect=1) |
| macOS 10.15 | `macos-latest` or `macos-10.15` | [macOS-10.15] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=MacOS&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=MacOS&redirect=1)
| Ubuntu 20.04 | `ubuntu-latest` or `ubuntu-20.04` | [ubuntu-20.04] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu20&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu20&redirect=1)
| Ubuntu 18.04 | `ubuntu-18.04` | [ubuntu-18.04] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu18&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu18&redirect=1)
| macOS 11 | `macos-11` | [macOS-11] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-11&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-11&redirect=1)
| macOS 10.15 | `macos-latest` or `macos-10.15` | [macOS-10.15] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-10.15&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-10.15&redirect=1)
| Windows Server 2022 | `windows-2022` | [windows-2022] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2022&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2022&redirect=1) |
| Windows Server 2019 | `windows-latest` or `windows-2019` | [windows-2019] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2019&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2019&redirect=1)
| Windows Server 2016 | `windows-2016` | [windows-2016] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2016&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2016&redirect=1)
```
The Ubuntu 20.04 virtual environment is currently provided as a preview only.
The "ubuntu-latest" YAML workflow label still uses the Ubuntu 18.04 virtual environment.
```
<b>Note:</b> Beta and Preview images are provided "as-is", "with all faults" and "as available" and are excluded from the service level agreement and warranty. Beta and Preview images may not be covered by customer support.
***What images are available for GitHub Actions and Azure DevOps?***
The availability of images for GitHub Actions and Azure DevOps is different. See documentation for more details:
- [GitHub Actions](https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)
- [Azure DevOps](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software)
***What image version is used in my build?*** Usually, image deployment takes 3-4 days, and documentation in the `main` branch is only updated when deployment is finished. To find out which image version and what software versions are used in a specific build, see `Set up job` (GitHub Actions) or `Initialize job` (Azure DevOps) step log.
***Looking for other Linux distributions?*** We do not plan to offer other Linux distributions. We recommend using Docker if you'd like to build using other distributions with the hosted virtual environments. Alternatively, you can leverage [self-hosted runners] and fully customize your environment to your needs.
***Where is the macOS source?*** We are in the process of preparing our macOS source to live in this repo so we can take contributions from the community. Until then, we appreciate your patience and ask you continue to make tool requests by filing issues.
## Software Guidelines
In general, these are the guidelines we consider when deciding what to pre-install:
- Tools and ecosystems that are broadly popular and widely-used will be given priority.
- Recent versions of tools will be given priority over older versions.
- Tools and versions that are deprecated or have reached end-of-life will not be added.
- Tools and versions will typically be removed 6 months after they are deprecated or have reached end-of-life.
- If a tool can be installed during the build, we will evaluate how much time is saved
and how much space is used by having the tool pre-installed.
- MIT, Apache, and GNU licenses are ok, anything else we'll have to check with lawyers.
- If a tool takes much space we will evaluate space usage and provide a decision if this tool can be pre-installed.
- If a tool requires the support of more than one version, we will consider the cost of this maintenance, how often new versions bring dangerous updates.
**Note:** For new tools, please, create an issue and get an approval from us to add this tool to the image before creating the pull request.
***How to contribute to macOS source?*** macOS source lives in this repository and available for everyone. However, MacOS image-generation CI doesn't support external contributions yet so we are not able to accept pull-requests for now.
We are in the process of preparing MacOS CI to accept contributions. Until then, we appreciate your patience and ask you continue to make tool requests by filing issues.
## Updates to virtual environments
*Cadence*
@@ -45,14 +41,19 @@ we pin the tool to specific version(s).
*Following Along / Change Notifications*
* **High Impact Changes** (ex. breaking changes, new or deprecated environments) will be posted to the GitHub Changelog on our [blog](https://github.blog/changelog/) and on [twitter](https://twitter.com/GHchangelog).
Low Impact changes will be pinned in this repository and marked with the [Announcement](https://github.com/actions/virtual-environments/labels/Announcement) label.
* **Regular Weekly Rhythm** can be followed by watching [Releases](https://github.com/actions/virtual-environments/releases) to see when we generate candidate environments or deploy new ones. You can also track upcoming changes using the [awaiting-deployment](https://github.com/actions/virtual-environments/labels/awaiting-deployment) label.
* **High Impact Changes** (ex. breaking changes, new or deprecated environments) will be posted to the GitHub Changelog on our [blog](https://github.blog/changelog/) and on [twitter](https://twitter.com/GHchangelog).
* **Low Impact Changes** will be pinned in this repository and marked with the [Announcement](https://github.com/actions/virtual-environments/labels/Announcement) label.
* **Regular Weekly Rhythm** can be followed by watching [Releases](https://github.com/actions/virtual-environments/releases). Pre-release is created when deployment is started. As soon as deployment is finished, it is converted to release.
You can also track upcoming changes using the [awaiting-deployment](https://github.com/actions/virtual-environments/labels/awaiting-deployment) label.
[ubuntu-20.04]: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md
[ubuntu-18.04]: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md
[ubuntu-16.04]: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1604-README.md
[Windows-2019]: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
[ubuntu-20.04]: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md
[ubuntu-18.04]: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-Readme.md
[windows-2022]: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2022-Readme.md
[windows-2019]: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
[windows-2016]: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2016-Readme.md
[macOS-11]: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md
[macOS-10.15]: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md
[self-hosted runners]: https://help.github.com/en/actions/hosting-your-own-runners
## Software and image guidelines
To learn more about tools and images support policy, see the [guidelines](./docs/software-and-images-guidelines.md).
-1
View File
@@ -1 +0,0 @@
theme: jekyll-theme-slate
-1
View File
@@ -1 +0,0 @@
Placeholder for GitHub Pages
+177
View File
@@ -0,0 +1,177 @@
# Virtual-Environments
The virtual-environments project uses [Packer](https://www.packer.io/) to generate disk images for the following platforms: Windows 2016/2019/2022, Ubuntu 18.04/20.04.
Each image is configured through a JSON template that Packer understands and which specifies where to build the image (Azure in this case), and what scripts to run to install software and prepare the disk.
The Packer process initializes a connection to Azure subscription via Azure CLI, and automatically creates the temporary Azure resources required to build the source VM(temporary resource group, network interfaces, and VM from the "clean" image specified in the template).
If the VM deployment succeeds, the build agent connects to the VM and starts to execute installation steps from the JSON template.
If any step in the JSON template fails, image generation will be aborted and the temporary VM will be terminated. Packer will also attempt to cleanup all the temporary resources it created (unless otherwise told).
After successful image generation, a snapshot of the temporary VM will be converted to VHD image and then uploaded to the specified Azure Storage Account.
## Prerequisites and Image-generation
### Build Agent requirements
- `OS` - Windows/Linux
- `packer` - Can be downloaded from https://www.packer.io/downloads
- `PowerShell 5.0 or higher` or `PSCore` for linux distributes.
- `Azure CLI ` - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
- `Azure Az Powershell module` - https://docs.microsoft.com/en-us/powershell/azure/install-az-ps
- `Git for Windows` - https://gitforwindows.org/
> To connect to a temporary VM packer uses WinRM or SSH connections on public IP interfaces.
If you use a build agent located in an Azure subscription, please make sure that HTTPS/SSH ports are allowed for incoming/outgoing connections.
In case of firewall restrictions, prohibiting connections from public addresses, private virtual network resources can be deployed and passed as arguments to the packer. This approach allows virtual machines to use private connections inside VLAN.
### Service principal
Packer uses Service Principal to authorize in Azure infrastructure. To setup image-generation CI or use packer manually — SP with full read-write permissions for selected Azure subscription needed.
Detailed instruction can be found in [Azure documentation](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal)
### Prepare environment and image deployment
#### How to prepare Windows build agent
Local machine or [Azure VM](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quick-create-cli) can be used as a build agent.
Download `packer` from https://www.packer.io/downloads, or install it via Chocolately.
```
choco install packer
```
Install the Azure Az PowerShell module - https://docs.microsoft.com/en-us/powershell/azure/install-az-ps.
```
Install-Module -Name Az -Repository PSGallery -Force
```
Install Azure CLI - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest&tabs=azure-cli.
```
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi
```
Download Virtual-Environments repository.
```
Set-Location c:\
git clone https://github.com/actions/virtual-environments.git
```
Import [GenerateResourcesAndImage](../helpers/GenerateResourcesAndImage.ps1) script from `/helpers` folder, and run `GenerateResourcesAndImage` function via Powershell.
```
Set-Location C:\virtual-environments
Import-Module .\helpers\GenerateResourcesAndImage.ps1
GenerateResourcesAndImage -SubscriptionId {YourSubscriptionId} -ResourceGroupName "myTestResourceGroup" -ImageGenerationRepositoryRoot "$pwd" -ImageType Ubuntu1804 -AzureLocation "East US"
```
Where:
- `SubscriptionId` - The Azure subscription Id where resources will be created.
- `ResourceGroupName` - The Azure resource group name where the Azure resources will be created.
- `ImageGenerationRepositoryRoot` - The root path of the image generation repository source.
- `ImageType` - The type of the image being generated. Valid options are: "Windows2016", "Windows2019", "Windows2022", "Ubuntu1804", "Ubuntu2004".
- `AzureLocation` - The location of the resources being created in Azure. For example "East US".
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
After the successful image generation, Virtual Machine can be created from the generated VHD using [CreateAzureVMFromPackerTemplate](../helpers/CreateAzureVMFromPackerTemplate.ps1) script.
```
Set-Location C:\virtual-environments
Import-Module .\helpers\CreateAzureVMFromPackerTemplate.ps1
CreateAzureVMFromPackerTemplate -SubscriptionId {YourSubscriptionId} -ResourceGroupName {ResourceGroupName} -TemplateFile "C:\BuildVmImages\temporaryTemplate.json" -VirtualMachineName "testvm1" -AdminUsername "shady1" -AdminPassword "SomeSecurePassword1" -AzureLocation "eastus"
```
Where:
- `SubscriptionId` - The Azure subscription Id where resources will be created.
- `ResourceGroupName` - The Azure resource group name where the Azure virtual machine will be created.
- `TemplateFilePath` - The path to the json ARM-template generated by packer during image generation locally.*
- `VirtualMachineName` - The name of the virtual machine to be generated.
- `AdminUserName` - The administrator username for the virtual machine to be created.
- `AdminPassword` - The administrator password for the virtual machine to be created.
- `AzureLocation` - The location where the Azure virtual machine will be provisioned. Example: "eastus"
\* *ARM-template can be obtained from the Packer output. For now, it seems like there is an [Az CLI bug](https://github.com/Azure/azure-cli/issues/5899) with specifying the template through a URI, so download the template from URI, that will be printed at the bottom of image-generation log, and use the local path of the template file.*
The function creates an Azure VM from a template and generates network resources in Azure to make the VM accessible.
## Additional
### 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.
- `subscription_id` - The subscription to use.
- `tenant_id` - The Active Directory tenant identifier with which your `client_id` and `subscription_id` are associated. If not specified, `tenant_id` will be looked up using `subscription_id`.
- `resource_group` - Resource group under which the final artifact will be stored.
- `storage_account` - Storage account under which the final artifact will be stored.
- `location` - Azure datacenter in which your VM will be built.
- `temp_resource_group_name` - Name assigned to the temporary resource group created during the build. If this value is not set, a random value will be assigned. This resource group is deleted at the end of the build.
- `private_virtual_network_with_public_ip` - This value allows you to set a `virtual_network_name` and obtain a public IP. If this value is not set and `virtual_network_name` is defined Packer is only allowed to be executed from a host on the same subnet / virtual network.
- `virtual_network_name` - Use a pre-existing virtual network for the VM. This option enables private communication with the VM, no public IP address is used or provisioned (unless you set `private_virtual_network_with_public_ip`).
- `virtual_network_resource_group_name` - If `virtual_network_name` is set, this value may also be set. If `virtual_network_name` is set, and this value is not set the builder attempts to determine the resource group containing the virtual network. If the resource group cannot be found, or it cannot be disambiguated, this value should be set.
- `virtual_network_subnet_name` - If `virtual_network_name` is set, this value may also be set. If `virtual_network_name` is set, and this value is not set the builder attempts to determine the subnet to use with the virtual network. If the subnet cannot be found, or it cannot be disambiguated, this value should be set.
- `capture_name_prefix` - VHD prefix. The final artifacts will be named PREFIX-osDisk.UUID and PREFIX-vmTemplate.UUID.
### Builder variables
The `builders` section contains variables for the `azure-arm` builder used in the project. Most of the builder variables are inherited from the `user variables` section, however, the variables can be overwritten to adjust image-generation performance.
- `vm_size` - Size of the VM used for building. This can be changed when you deploy a VM from your VHD.
- `image_os` - Type of OS that will be deployed as a temporary VM.
- `image_version` - Specify version of an OS to boot from.
**Detailed Azure builders documentation can be found in [packer documentation](https://www.packer.io/docs/builders/azure).**
### Toolset
Configuration for some installed software is located in `toolset.json` files. These files define the list of Ruby, Python, Go versions, the list of PowerShell modules and VS components that will be installed to image. They can be changed if these tools are not required to reduce image generation time or image size.
Generated tool versions and details can be found in related projects:
- [Python](https://github.com/actions/python-versions/)
- [Go](https://github.com/actions/go-versions)
- [Node](https://github.com/actions/node-versions)
### Post-generation scripts
> :warning: These scripts are intended to run on a VM deployed in Azure
The user, created during the image generation, does not exist in the result VHD hence some configuration files related to the user's home directory need to be changed as well as the file permissions for some directories. Scripts for that are located in the `post-generation` folder in the repository:
- Windows: https://github.com/actions/virtual-environments/tree/main/images/win/post-generation
- Linux: https://github.com/actions/virtual-environments/tree/main/images/linux/post-generation
**Note:** The default user for Linux should have `sudo privileges`.
The scripts are copied to the VHD during the image generation process to the following paths:
- Windows: `C:\post-generation`
- Linux: `/opt/post-generation`
#### Running scripts
##### Ubuntu
sudo su -c "find /opt/post-generation -mindepth 1 -maxdepth 1 -type f -name '*.sh' -exec bash {} \;"
##### Windows
Get-ChildItem C:\post-generation -Filter *.ps1 | ForEach-Object { & $_.FullName }
#### Script details
##### Ubuntu
- **cleanup-logs.sh** - removes all build process logs from the machine
- **environment-variables.sh** - replaces `$HOME` with the default user's home directory for environmental variables related to the default user home directory
- **homebrew-permissions.sh** - Resets homebrew repository directory by running `git reset --hard` to make the working tree clean after chmoding /home and changes the repository directory owner to the current user
- **rust-permissions.sh** - fixes permissions for the Rust folder. Detailed issue explanation is provided in [virtual-environments/issues/572](https://github.com/actions/virtual-environments/issues/572).
##### Windows
- **Choco.ps1** - contains dummy command to cleanup orphaned packages to avoid initial delay for future choco commands
- **Dotnet.ps1** - adds `$env:USERPROFILE\.dotnet\tools` directory to the PATH
- **InternetExplorerConfiguration** - turns off the Internet Explorer Enhanced Security feature
- **Msys2FirstLaunch.ps1** - initializes bash user profile in MSYS2
- **RustJunction.ps1** - creates Rust junction points to cargo and rustup folders
- **VSConfiguration.ps1** - performs initial Visual Studio configuration
@@ -1,27 +1,27 @@
# Debugging Failed Packer Builds
## Step 1: Run packer build `-on-error=ask`
When you run the `packer build` command, give it the `-on-error=ask` flag.
By default, `packer build` will delete the resource group as soon as the build fails.
`-on-error=ask` will pause it and wait for your input so you have time to remote in to the VM and diagnose the failure.
When the build fails, you will see this:
![Ask on error screenshot](/help/resources/askOnError.png "Ask on error screenshot")
## Step 2: Find the resource group name in the build log
At the beginning of the build log (written to console), find the resource group name for the VM:
![Resource group from log screenshot](/help/resources/resourceGroupName.png "Resource group from log screenshot")
Log into the Azure Portal. Find that resource group under `Resource groups`. You should see the resources for the Packer build:
![Packer resource group in Azure screenshot](/help/resources/packerResourceGroup.png "Packer resource group in Azure screenshot")
## Step 3: Connect to the VM
Select the VM in the resource group. Click `Connect:`
This will download an RDP file. Open that and enter the credentials found in the JSON file you pass to `packer build`:
![VM credentials screenshot](/help/resources/vmCredentials.png "VM credentials screenshot")
# Debugging Failed Packer Builds
## Step 1: Run packer build `-on-error=ask`
When you run the `packer build` command, give it the `-on-error=ask` flag.
By default, `packer build` will delete the resource group as soon as the build fails.
`-on-error=ask` will pause it and wait for your input so you have time to remote in to the VM and diagnose the failure.
When the build fails, you will see this:
![Ask on error screenshot](/docs/resources/askOnError.png "Ask on error screenshot")
## Step 2: Find the resource group name in the build log
At the beginning of the build log (written to console), find the resource group name for the VM:
![Resource group from log screenshot](/docs/resources/resourceGroupName.png "Resource group from log screenshot")
Log into the Azure Portal. Find that resource group under `Resource groups`. You should see the resources for the Packer build:
![Packer resource group in Azure screenshot](/docs/resources/packerResourceGroup.png "Packer resource group in Azure screenshot")
## Step 3: Connect to the VM
Select the VM in the resource group. Click `Connect:`
This will download an RDP file. Open that and enter the credentials found in the JSON file you pass to `packer build`:
![VM credentials screenshot](/docs/resources/vmCredentials.png "VM credentials screenshot")

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 204 KiB

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 139 KiB

+38
View File
@@ -0,0 +1,38 @@
# Software and image guidelines
## Software preinstallation policy
In general, these are the guidelines we consider when deciding what to pre-install:
- Tools and ecosystems that are broadly popular and widely-used will be given priority.
- Recent versions of tools will be given priority over older versions.
- Tools and versions that are deprecated or have reached end-of-life will not be added.
- If a tool can be installed during the build, we will evaluate how much time is saved
and how much space is used by having the tool pre-installed.
- MIT, Apache, and GNU licenses are ok, anything else we'll have to check with lawyers.
- If a tool takes much space we will evaluate space usage and provide a decision if this tool can be pre-installed.
- If a tool requires the support of more than one version, we will consider the cost of this maintenance, how often new versions bring dangerous updates.
**Note:** For new tools, please, create an issue and get an approval from us to add this tool to the image before creating the pull request.
## Software and images support policy
These are the guidelines we follow in software and images supporting routine:
- Tools and versions will typically be removed 6 months after they are deprecated or have reached end-of-life.
- We support at least 2 latest OS versions (LTS only for Ubuntu) and initiate deprecation process for the oldest one when image usage drops below 5%.
- The images generally contain the latest versions of packages installed except for Ubuntu LTS where we rely on the Canonical-provided repositories mostly.
- Popular tools can have several versions installed side-by-side with the following strategy:
| Tool name | Installation strategy |
|-----------|-----------------------|
| Docker images | not more than 3 latest LTS OS\tool versions. New images or new versions of current images are added using the standard tool request process |
| Java | all LTS versions |
| Node.js | 3 latest LTS versions |
| Go | 3 latest minor versions |
| Python <br/> Ruby | 5 most popular `major.minor` versions |
| PyPy | 3 most popular `major.minor` versions |
| .NET Core | 2 latest LTS versions and 1 latest version. For each feature version only latest patch is installed |
| GCC <br/> GNU Fortran <br/> Clang <br/> GNU C++ | 3 latest major versions |
| Android NDK | 1 latest non-LTS, 2 latest LTS versions |
| Xcode | - all OS compatible versions side-by-side <br/> - for beta, GM versions - latest beta only <br/> - old patch versions are deprecated in 3 months |
## Software default versions update policy for tools with multiple versions installed
In general, once a new version is installed on the image, we announce the default version update 2 weeks prior to deploying it to give time to adapt to upcoming changes. For potentially dangerous updates, we can extend the timeline up to 1 month between the announcement and deployment.
-11
View File
@@ -1,11 +0,0 @@
# Build an image.
## Create required Azure resources and generate an image
1. Generating required Azure resources and running a packer build for a targeted image is automated [here](../helpers/GenerateResourcesAndImage.ps1).
## Create a VM based on the template created by Packer
1. At the end of the output from running Packer above is a URL to the VM resource template with a read access token. It ends with `.json` plus a query string. Note this URL. For now, it seems like there is an [Az CLI bug](https://github.com/Azure/azure-cli/issues/5899) with specifying the template through a URI. So download the template locally and note the path of the template file.
1. Generating the required Azure resources and creating the VM is automated [here](../helpers/CreateAzureVMFromPackerTemplate.ps1).
1. After the VM is created, remote into it using its public IP address. You can test the installed tools or install the Azure Pipelines agent and connect it to your Azure DevOps organization.
+22 -18
View File
@@ -1,10 +1,10 @@
Function CreateAzureVMFromPackerTemplate {
<#
.SYNOPSIS
Creates an Azure VM from a template. Also generates network resources in Azure to make the VM accessible.
A helper function to deploy a VM from a generated image.
.DESCRIPTION
Creates Azure resources and kicks off a packer image generation for the selected image type.
Creates an Azure VM from a template. Also generates network resources in Azure to make the VM accessible.
.PARAMETER SubscriptionId
The Azure subscription Id where resources will be created.
@@ -17,7 +17,7 @@ Function CreateAzureVMFromPackerTemplate {
.PARAMETER VirtualMachineName
The name of the virtual machine to be generated.
.PARAMETER AdminUserName
The administrator username for the virtual machine to be created.
@@ -48,25 +48,29 @@ Function CreateAzureVMFromPackerTemplate {
)
$vmSize = "Standard_DS2_v2"
$vnetName = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper()
$subnetName = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper()
$nicName = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper()
$publicIpName = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper()
$guid = [System.GUID]::NewGuid().ToString().ToUpper()
$vnetName = $env:UserName + "vnet-" + $guid
$subnetName = $env:UserName + "subnet-" + $guid
$nicName = $env:UserName + "nic-" + $guid
$publicIpName = $env:UserName + "pip-" + $guid
Write-Host "Creating a Vnet and a Subnet"
az network vnet create -g $ResourceGroupName -l $AzureLocation --name $vnetName --address-prefix 10.0.0.0/16 --subscription $subscriptionId
az network vnet subnet create -g $ResourceGroupName --vnet-name $vnetName -n $subnetName --address-prefix 10.0.1.0/24 --subscription $subscriptionId
Write-Host "Creating a virtual network and subnet"
($vnet = az network vnet create -g $ResourceGroupName -l $AzureLocation -n $vnetName --address-prefixes 10.0.0.0/16 --subnet-name $subnetName --subnet-prefixes 10.0.1.0/24 --subscription $subscriptionId -o json)
$subnetId = ($vnet | ConvertFrom-Json).newVNet.subnets[0].id
Write-Host "Creating a network interface card (NIC)."
$nic = az network nic create -g $ResourceGroupName --vnet-name $vnetName --subnet $subnetName -n $nicName --subscription $subscriptionId
Write-Host "`nCreating a network interface controller (NIC)"
($nic = az network nic create -g $ResourceGroupName -l $AzureLocation -n $nicName --subnet $subnetId --subscription $subscriptionId -o json)
$networkId = ($nic | ConvertFrom-Json).NewNIC.id
Write-Host "create public IP."
az network public-ip create -g $ResourceGroupName -n $publicIpName --subscription $subscriptionId --allocation-method Static --location $AzureLocation --sku Standard --version IPv4
Write-Host "`nCreating a public IP address"
($publicIp = az network public-ip create -g $ResourceGroupName -l $AzureLocation -n $publicIpName --allocation-method Static --sku Standard --version IPv4 --subscription $subscriptionId -o json)
$publicIpId = ($publicIp | ConvertFrom-Json).publicIp.id
Write-Host "Adding the public IP to the NIC."
az network nic ip-config update --name ipconfig1 --nic-name $nicName --resource-group $ResourceGroupName --subscription $subscriptionId --public-ip-address $publicIpName
Write-Host "`nAdding the public IP to the NIC"
az network nic ip-config update -g $ResourceGroupName -n ipconfig1 --nic-name $nicName --public-ip-address $publicIpId --subscription $subscriptionId
Write-Host "Creating the VM"
az group deployment create --resource-group $ResourceGroupName --subscription $subscriptionId --name $VirtualMachineName --template-file $templateFilePath --parameters vmSize=$vmSize vmName=$VirtualMachineName adminUserName=$AdminUsername adminPassword=$AdminPassword networkInterfaceId=$networkId
Write-Host "`nCreating the VM"
az group deployment create -g $ResourceGroupName -n $VirtualMachineName --subscription $subscriptionId --template-file $templateFilePath --parameters vmSize=$vmSize vmName=$VirtualMachineName adminUserName=$AdminUsername adminPassword=$AdminPassword networkInterfaceId=$networkId
Write-Host "`nCreated in $(ResourceGroupName):`n vnet $(vnetName)`n subnet $(subnetName)`n nic $(nicName)`n publicip $(publicIpName)`n vm $(VirtualMachineName)"
}
+138 -48
View File
@@ -3,8 +3,9 @@ $ErrorActionPreference = 'Stop'
enum ImageType {
Windows2016 = 0
Windows2019 = 1
Ubuntu1604 = 2
Windows2022 = 2
Ubuntu1804 = 3
Ubuntu2004 = 4
}
Function Get-PackerTemplatePath {
@@ -15,24 +16,42 @@ Function Get-PackerTemplatePath {
[ImageType] $ImageType
)
$relativePath = "N/A"
switch ($ImageType) {
([ImageType]::Windows2016) {
$relativePath = "\images\win\Windows2016-Azure.json"
$relativeTemplatePath = Join-Path "win" "windows2016.json"
}
([ImageType]::Windows2019) {
$relativePath = "\images\win\Windows2019-Azure.json"
$relativeTemplatePath = Join-Path "win" "windows2019.json"
}
([ImageType]::Ubuntu1604) {
$relativePath = "\images\linux\ubuntu1604.json"
([ImageType]::Windows2022) {
$relativeTemplatePath = Join-Path "win" "windows2022.json"
}
([ImageType]::Ubuntu1804) {
$relativePath = "\images\linux\ubuntu1804.json"
$relativeTemplatePath = Join-Path "linux" "ubuntu1804.json"
}
([ImageType]::Ubuntu2004) {
$relativeTemplatePath = Join-Path "linux" "ubuntu2004.json"
}
default { throw "Unknown type of image" }
}
return $RepositoryRoot + $relativePath;
$imageTemplatePath = [IO.Path]::Combine($RepositoryRoot, "images", $relativeTemplatePath)
if (-not (Test-Path $imageTemplatePath)) {
throw "Template for image '$ImageType' doesn't exist on path '$imageTemplatePath'"
}
return $imageTemplatePath;
}
Function Get-LatestCommit {
[CmdletBinding()]
param()
process {
Write-Host "Latest commit:"
git --no-pager log --pretty=format:"Date: %cd; Commit: %H - %s; Author: %an <%ae>" -1
}
}
Function GenerateResourcesAndImage {
@@ -53,7 +72,7 @@ Function GenerateResourcesAndImage {
The root path of the image generation repository source.
.PARAMETER ImageType
The type of the image being generated. Valid options are: {"Windows2016", "Windows2019", "Ubuntu1604", "Ubuntu1804"}.
The type of the image being generated. Valid options are: {"Windows2016", "Windows2019", "Windows2022", "Ubuntu1804", "Ubuntu2004"}.
.PARAMETER AzureLocation
The location of the resources being created in Azure. For example "East US".
@@ -61,11 +80,24 @@ Function GenerateResourcesAndImage {
.PARAMETER Force
Delete the resource group if it exists without user confirmation.
.PARAMETER GithubFeedToken
GitHub PAT to download tool packages from GitHub Package Registry
.PARAMETER AzureClientId
Client id needs to be provided for optional authentication via service principal. Example: "11111111-1111-1111-1111-111111111111"
.PARAMETER AzureClientSecret
Client secret needs to be provided for optional authentication via service principal. Example: "11111111-1111-1111-1111-111111111111"
.PARAMETER AzureTenantId
Tenant needs to be provided for optional authentication via service principal. Example: "11111111-1111-1111-1111-111111111111"
.PARAMETER RestrictToAgentIpAddress
If set, access to the VM used by packer to generate the image is restricted to the public IP address this script is run from.
This parameter cannot be used in combination with the virtual_network_name packer parameter.
.PARAMETER AllowBlobPublicAccess
The Azure storage account will be created with this option.
.EXAMPLE
GenerateResourcesAndImage -SubscriptionId {YourSubscriptionId} -ResourceGroupName "shsamytest1" -ImageGenerationRepositoryRoot "C:\virtual-environments" -ImageType Ubuntu1604 -AzureLocation "East US"
GenerateResourcesAndImage -SubscriptionId {YourSubscriptionId} -ResourceGroupName "shsamytest1" -ImageGenerationRepositoryRoot "C:\virtual-environments" -ImageType Ubuntu1804 -AzureLocation "East US"
#>
param (
[Parameter(Mandatory = $True)]
@@ -73,35 +105,46 @@ Function GenerateResourcesAndImage {
[Parameter(Mandatory = $True)]
[string] $ResourceGroupName,
[Parameter(Mandatory = $True)]
[string] $ImageGenerationRepositoryRoot,
[Parameter(Mandatory = $True)]
[ImageType] $ImageType,
[Parameter(Mandatory = $True)]
[string] $AzureLocation,
[Parameter(Mandatory = $False)]
[string] $ImageGenerationRepositoryRoot = $pwd,
[Parameter(Mandatory = $False)]
[int] $SecondsToWaitForServicePrincipalSetup = 30,
[Parameter(Mandatory = $False)]
[string] $GithubFeedToken,
[string] $AzureClientId,
[Parameter(Mandatory = $False)]
[Switch] $Force
[string] $AzureClientSecret,
[Parameter(Mandatory = $False)]
[string] $AzureTenantId,
[Parameter(Mandatory = $False)]
[Switch] $RestrictToAgentIpAddress,
[Parameter(Mandatory = $False)]
[Switch] $Force,
[Parameter(Mandatory = $False)]
[bool] $AllowBlobPublicAccess = $False,
[Parameter(Mandatory = $False)]
[bool] $EnableHttpsTrafficOnly = $False
)
if (([string]::IsNullOrEmpty($GithubFeedToken)))
{
Write-Error "'-GithubFeedToken' parameter is not specified. You have to specify valid GitHub PAT to download tool packages from GitHub Package Registry"
exit 1
}
$builderScriptPath = Get-PackerTemplatePath -RepositoryRoot $ImageGenerationRepositoryRoot -ImageType $ImageType
$ServicePrincipalClientSecret = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper();
$InstallPassword = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper();
$ServicePrincipalClientSecret = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper()
$InstallPassword = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper()
Login-AzureRmAccount
Set-AzureRmContext -SubscriptionId $SubscriptionId
if ([string]::IsNullOrEmpty($AzureClientId))
{
Connect-AzAccount
} else {
$AzSecureSecret = ConvertTo-SecureString $AzureClientSecret -AsPlainText -Force
$AzureAppCred = New-Object System.Management.Automation.PSCredential($AzureClientId, $AzSecureSecret)
Connect-AzAccount -ServicePrincipal -Credential $AzureAppCred -Tenant $AzureTenantId
}
Set-AzContext -SubscriptionId $SubscriptionId
$alreadyExists = $true;
try {
Get-AzureRmResourceGroup -Name $ResourceGroupName
Get-AzResourceGroup -Name $ResourceGroupName
Write-Verbose "Resource group was found, will delete and recreate it."
}
catch {
@@ -112,8 +155,8 @@ Function GenerateResourcesAndImage {
if ($alreadyExists) {
if($Force -eq $true) {
# Cleanup the resource group if it already exitsted before
Remove-AzureRmResourceGroup -Name $ResourceGroupName -Force
New-AzureRmResourceGroup -Name $ResourceGroupName -Location $AzureLocation
Remove-AzResourceGroup -Name $ResourceGroupName -Force
New-AzResourceGroup -Name $ResourceGroupName -Location $AzureLocation
} else {
$title = "Delete Resource Group"
$message = "The resource group you specified already exists. Do you want to clean it up?"
@@ -132,13 +175,13 @@ Function GenerateResourcesAndImage {
switch ($result)
{
0 { Remove-AzureRmResourceGroup -Name $ResourceGroupName -Force; New-AzureRmResourceGroup -Name $ResourceGroupName -Location $AzureLocation }
0 { Remove-AzResourceGroup -Name $ResourceGroupName -Force; New-AzResourceGroup -Name $ResourceGroupName -Location $AzureLocation }
1 { <# Do nothing #> }
2 { exit }
}
}
} else {
New-AzureRmResourceGroup -Name $ResourceGroupName -Location $AzureLocation
New-AzResourceGroup -Name $ResourceGroupName -Location $AzureLocation
}
# This script should follow the recommended naming conventions for azure resources
@@ -150,32 +193,79 @@ Function GenerateResourcesAndImage {
$storageAccountName = $storageAccountName.Replace("-", "").Replace("_", "").Replace("(", "").Replace(")", "").ToLower()
$storageAccountName += "001"
New-AzureRmStorageAccount -ResourceGroupName $ResourceGroupName -AccountName $storageAccountName -Location $AzureLocation -SkuName "Standard_LRS"
New-AzStorageAccount -ResourceGroupName $ResourceGroupName -AccountName $storageAccountName -Location $AzureLocation -SkuName "Standard_LRS" -AllowBlobPublicAccess $AllowBlobPublicAccess -EnableHttpsTrafficOnly $EnableHttpsTrafficOnly
$spDisplayName = [System.GUID]::NewGuid().ToString().ToUpper()
$sp = New-AzureRmADServicePrincipal -DisplayName $spDisplayName -Password (ConvertTo-SecureString $ServicePrincipalClientSecret -AsPlainText -Force)
if ([string]::IsNullOrEmpty($AzureClientId)) {
# Interactive authentication: A service principal is created during runtime.
$spDisplayName = [System.GUID]::NewGuid().ToString().ToUpper()
$startDate = Get-Date
$endDate = $startDate.AddYears(1)
$spAppId = $sp.ApplicationId
$spClientId = $sp.ApplicationId
$spObjectId = $sp.Id
Start-Sleep -Seconds $SecondsToWaitForServicePrincipalSetup
if ('Microsoft.Azure.Commands.ActiveDirectory.PSADPasswordCredential' -as [type]) {
$credentials = [Microsoft.Azure.Commands.ActiveDirectory.PSADPasswordCredential]@{
StartDate = $startDate
EndDate = $endDate
Password = $ServicePrincipalClientSecret
}
$sp = New-AzADServicePrincipal -DisplayName $spDisplayName -PasswordCredential $credentials
$spClientId = $sp.ApplicationId
$azRoleParam = @{
RoleDefinitionName = "Contributor"
ServicePrincipalName = $spClientId
}
}
New-AzureRmRoleAssignment -RoleDefinitionName Contributor -ServicePrincipalName $spAppId
Start-Sleep -Seconds $SecondsToWaitForServicePrincipalSetup
$sub = Get-AzureRmSubscription -SubscriptionId $SubscriptionId
$tenantId = $sub.TenantId
# "", "Note this variable-setting script for running Packer with these Azure resources in the future:", "==============================================================================================", "`$spClientId = `"$spClientId`"", "`$ServicePrincipalClientSecret = `"$ServicePrincipalClientSecret`"", "`$SubscriptionId = `"$SubscriptionId`"", "`$tenantId = `"$tenantId`"", "`$spObjectId = `"$spObjectId`"", "`$AzureLocation = `"$AzureLocation`"", "`$ResourceGroupName = `"$ResourceGroupName`"", "`$storageAccountName = `"$storageAccountName`"", "`$install_password = `"$install_password`"", ""
if ('Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPasswordCredential' -as [type]) {
$credentials = [Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPasswordCredential]@{
StartDateTime = $startDate
EndDateTime = $endDate
}
$sp = New-AzADServicePrincipal -DisplayName $spDisplayName
$appCred = New-AzADAppCredential -ApplicationId $sp.AppId -PasswordCredentials $credentials
$spClientId = $sp.AppId
$azRoleParam = @{
RoleDefinitionName = "Contributor"
PrincipalId = $sp.Id
}
$ServicePrincipalClientSecret = $appCred.SecretText
}
packer.exe build -on-error=ask `
Start-Sleep -Seconds $SecondsToWaitForServicePrincipalSetup
New-AzRoleAssignment @azRoleParam
Start-Sleep -Seconds $SecondsToWaitForServicePrincipalSetup
$sub = Get-AzSubscription -SubscriptionId $SubscriptionId
$tenantId = $sub.TenantId
# "", "Note this variable-setting script for running Packer with these Azure resources in the future:", "==============================================================================================", "`$spClientId = `"$spClientId`"", "`$ServicePrincipalClientSecret = `"$ServicePrincipalClientSecret`"", "`$SubscriptionId = `"$SubscriptionId`"", "`$tenantId = `"$tenantId`"", "`$spObjectId = `"$spObjectId`"", "`$AzureLocation = `"$AzureLocation`"", "`$ResourceGroupName = `"$ResourceGroupName`"", "`$storageAccountName = `"$storageAccountName`"", "`$install_password = `"$install_password`"", ""
} else {
# Parametrized Authentication via given service principal: The service principal with the data provided via the command line
# is used for all authentication purposes.
$spClientId = $AzureClientId
$credentials = $AzureAppCred
$ServicePrincipalClientSecret = $AzureClientSecret
$tenantId = $AzureTenantId
}
Get-LatestCommit -ErrorAction SilentlyContinue
$packerBinary = Get-Command "packer"
if (-not ($packerBinary)) {
throw "'packer' binary is not found on PATH"
}
if($RestrictToAgentIpAddress -eq $true) {
$AgentIp = (Invoke-RestMethod http://ipinfo.io/json).ip
Write-Host "Restricting access to packer generated VM to agent IP Address: $AgentIp"
}
& $packerBinary build -on-error=ask `
-var "client_id=$($spClientId)" `
-var "client_secret=$($ServicePrincipalClientSecret)" `
-var "subscription_id=$($SubscriptionId)" `
-var "tenant_id=$($tenantId)" `
-var "object_id=$($spObjectId)" `
-var "location=$($AzureLocation)" `
-var "resource_group=$($ResourceGroupName)" `
-var "storage_account=$($storageAccountName)" `
-var "install_password=$($InstallPassword)" `
-var "github_feed_token=$($GithubFeedToken)" `
-var "allowed_inbound_ip_addresses=$($AgentIp)" `
$builderScriptPath
}
}
+14
View File
@@ -0,0 +1,14 @@
param(
[String] [Parameter (Mandatory=$true)] $RepoUrl,
[String] [Parameter (Mandatory=$true)] $RepoBranch
)
Write-Host "Clean up default repository"
Remove-Item -path './*' -Recurse -Force
Write-Host "Download ${RepoBranch} branch from ${RepoUrl}"
$env:GIT_REDIRECT_STDERR = '2>&1'
git clone $RepoUrl . -b $RepoBranch --single-branch --depth 1
Write-Host "Latest commit:"
git --no-pager log --pretty=format:"Date: %cd; Commit: %H - %s; Author: %an <%ae>" -1
@@ -6,9 +6,10 @@
jobs:
- job:
pool: ci-agent-pool
displayName: Image Generation (${{ parameters.image_type }})
timeoutInMinutes: 600
cancelTimeoutInMinutes: 30
pool: ci-agent-pool
variables:
- group: Image Generation Variables
@@ -16,24 +17,33 @@ jobs:
- task: PowerShell@2
displayName: 'Download custom repository'
condition: and(ne(variables['CUSTOM_REPOSITORY_URL'], ''), ne(variables['CUSTOM_REPOSITORY_BRANCH'], ''))
inputs:
targetType: 'filePath'
filePath: ./images.CI/download-repo.ps1
arguments: -RepoUrl $(CUSTOM_REPOSITORY_URL) `
-RepoBranch $(CUSTOM_REPOSITORY_BRANCH)
- task: PowerShell@2
displayName: 'Set image template variables'
inputs:
targetType: 'inline'
script: |
Write-Host "Clean up default repository"
Remove-Item -path './*' -Recurse -Force
Write-Host "Download $(CUSTOM_REPOSITORY_BRANCH) branch from $(CUSTOM_REPOSITORY_URL)"
$env:GIT_REDIRECT_STDERR = '2>&1'
git clone $(CUSTOM_REPOSITORY_URL) . -b $(CUSTOM_REPOSITORY_BRANCH) --single-branch --depth 1
$ImageType = "${{ parameters.image_type }}"
$TemplateDirectoryName = if ($ImageType.StartsWith("ubuntu")) { "linux" } else { "win" }
$TemplateDirectoryPath = Join-Path "images" $TemplateDirectoryName | Resolve-Path
$TemplatePath = Join-Path $TemplateDirectoryPath "$ImageType.json"
Write-Host "##vso[task.setvariable variable=TemplateDirectoryPath;]$TemplateDirectoryPath"
Write-Host "##vso[task.setvariable variable=TemplatePath;]$TemplatePath"
- task: PowerShell@2
displayName: 'Build VM'
inputs:
targetType: filePath
filePath: ./images.CI/build-image.ps1
filePath: ./images.CI/linux-and-win/build-image.ps1
arguments: -ResourcesNamePrefix $(Build.BuildId) `
-ClientId $(CLIENT_ID) `
-ClientSecret $(CLIENT_SECRET) `
-Image ${{ parameters.image_type }} `
-TemplatePath $(TemplatePath) `
-ResourceGroup $(AZURE_RESOURCE_GROUP) `
-StorageAccount $(AZURE_STORAGE_ACCOUNT) `
-SubscriptionId $(AZURE_SUBSCRIPTION) `
@@ -41,14 +51,33 @@ jobs:
-Location $(AZURE_LOCATION) `
-VirtualNetworkName $(BUILD_AGENT_VNET_NAME) `
-VirtualNetworkRG $(BUILD_AGENT_VNET_RESOURCE_GROUP) `
-VirtualNetworkSubnet $(BUILD_AGENT_SUBNET_NAME) `
-GitHubFeedToken $(GITHUB_TOKEN)
-VirtualNetworkSubnet $(BUILD_AGENT_SUBNET_NAME)
env:
PACKER_LOG: 1
PACKER_LOG_PATH: $(Build.ArtifactStagingDirectory)/packer-log.txt
- task: PowerShell@2
displayName: 'Output Readme file content'
inputs:
targetType: 'inline'
script: |
Get-Content -Path (Join-Path "$(TemplateDirectoryPath)" "${{ parameters.image_readme_name }}")
- task: PowerShell@2
displayName: 'Print provisioners duration'
inputs:
targetType: 'filePath'
filePath: ./images.CI/measure-provisioners-duration.ps1
arguments: -PackerLogPath "$(Build.ArtifactStagingDirectory)/packer-log.txt" `
-PrefixToPathTrim "$(TemplateDirectoryPath)" `
-PrintTopNLongest 25
- task: PowerShell@2
displayName: 'Create release for VM deployment'
inputs:
targetType: filePath
filePath: ./images.CI/create-release.ps1
filePath: ./images.CI/linux-and-win/create-release.ps1
arguments: -BuildId $(Build.BuildId) `
-Organization $(RELEASE_TARGET_ORGANIZATION) `
-DefinitionId $(RELEASE_TARGET_DEFINITION_ID) `
@@ -56,23 +85,16 @@ jobs:
-ImageName ${{ parameters.image_type }} `
-AccessToken $(RELEASE_TARGET_TOKEN)
- task: PowerShell@2
displayName: 'Output Readme file content'
inputs:
targetType: 'inline'
script: |
$docsPath = Get-ChildItem -Path "images" -Include ${{ parameters.image_readme_name }} -Recurse -Depth 1 | Select-Object -First 1
Get-Content -Path $docsPath
- task: PowerShell@2
displayName: 'Clean up resources'
condition: always()
inputs:
targetType: filePath
filePath: ./images.CI/cleanup.ps1
filePath: ./images.CI/linux-and-win/cleanup.ps1
arguments: -ResourcesNamePrefix $(Build.BuildId) `
-Image ${{ parameters.image_type }} `
-StorageAccount $(AZURE_STORAGE_ACCOUNT) `
-SubscriptionId $(AZURE_SUBSCRIPTION) `
-ClientId $(CLIENT_ID) `
-ClientSecret $(CLIENT_SECRET) `
-Image ${{ parameters.image_type }} `
-SubscriptionId $(AZURE_SUBSCRIPTION) `
-TenantId $(AZURE_TENANT)
@@ -17,4 +17,4 @@ jobs:
- template: image-generation.yml
parameters:
image_type: ubuntu1804
image_readme_name: Ubuntu1804-README.md
image_readme_name: Ubuntu1804-Readme.md
@@ -17,4 +17,4 @@ jobs:
- template: image-generation.yml
parameters:
image_type: ubuntu2004
image_readme_name: Ubuntu2004-README.md
image_readme_name: Ubuntu2004-Readme.md
@@ -16,5 +16,5 @@ pr:
jobs:
- template: image-generation.yml
parameters:
image_type: Windows2016-Azure
image_type: windows2016
image_readme_name: Windows2016-Readme.md
@@ -16,5 +16,5 @@ pr:
jobs:
- template: image-generation.yml
parameters:
image_type: Windows2019-Azure
image_type: windows2019
image_readme_name: Windows2019-Readme.md
@@ -16,5 +16,5 @@ pr:
jobs:
- template: image-generation.yml
parameters:
image_type: ubuntu1604
image_readme_name: Ubuntu1604-README.md
image_type: windows2022
image_readme_name: Windows2022-Readme.md
@@ -1,8 +1,7 @@
param(
[String] [Parameter (Mandatory=$true)] $Image,
[String] [Parameter (Mandatory=$true)] $TemplatePath,
[String] [Parameter (Mandatory=$true)] $ClientId,
[String] [Parameter (Mandatory=$true)] $ClientSecret,
[String] [Parameter (Mandatory=$true)] $GitHubFeedToken,
[String] [Parameter (Mandatory=$true)] $ResourcesNamePrefix,
[String] [Parameter (Mandatory=$true)] $Location,
[String] [Parameter (Mandatory=$true)] $ResourceGroup,
@@ -14,13 +13,13 @@ param(
[String] [Parameter (Mandatory=$true)] $VirtualNetworkSubnet
)
$TemplatePath = (Get-ChildItem -Path "images" -Include "$Image.json" -Recurse -Depth 2).FullName
if (-not $TemplatePath)
if (-not (Test-Path $TemplatePath))
{
Write-Error "'-Image' parameter is not valid. You have to specify correct image type."
Write-Error "'-TemplatePath' parameter is not valid. You have to specify correct Template Path"
exit 1
}
$Image = [io.path]::GetFileNameWithoutExtension($TemplatePath)
$TempResourceGroupName = "${ResourcesNamePrefix}_${Image}"
$InstallPassword = [System.GUID]::NewGuid().ToString().ToUpper()
@@ -44,7 +43,6 @@ packer build -var "capture_name_prefix=$ResourcesNamePrefix" `
-var "client_id=$ClientId" `
-var "client_secret=$ClientSecret" `
-var "install_password=$InstallPassword" `
-var "github_feed_token=$GitHubFeedToken" `
-var "location=$Location" `
-var "resource_group=$ResourceGroup" `
-var "storage_account=$StorageAccount" `
@@ -1,6 +1,7 @@
param(
[String] [Parameter (Mandatory=$true)] $Image,
[String] [Parameter (Mandatory=$true)] $ResourcesNamePrefix,
[String] [Parameter (Mandatory=$true)] $StorageAccount,
[String] [Parameter (Mandatory=$true)] $ClientId,
[String] [Parameter (Mandatory=$true)] $ClientSecret,
[String] [Parameter (Mandatory=$true)] $SubscriptionId,
@@ -13,9 +14,13 @@ $TempResourceGroupName = "${ResourcesNamePrefix}_${Image}"
$groupExist = az group exists --name $TempResourceGroupName --subscription $SubscriptionId
if ($groupExist -eq "true") {
$osDiskName = az group deployment list --resource-group $TempResourceGroupName --query "[].properties.parameters.osDiskName.value" -o tsv
Write-Host "Found a match, deleting temporary files"
az group delete --name $TempResourceGroupName --subscription $SubscriptionId --yes | Out-Null
Write-Host "Temporary group was deleted succesfully" -ForegroundColor Green
Write-Host "Temporary group was deleted succesfully"
Write-Host "Deleting OS disk"
az storage remove --account-name $StorageAccount -c "images" -n "$osDiskName.vhd" --only-show-errors | Out-Null
Write-Host "OS disk deleted"
} else {
Write-Host "No temporary groups found"
}
+227
View File
@@ -0,0 +1,227 @@
function Push-AnkaTemplateToRegistry {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $RegistryUrl,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TagName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplateName
)
# if registry uuid doesn't match than delete an image in registry
$images = anka --machine-readable registry --registry-path $RegistryUrl list | ConvertFrom-Json | ForEach-Object body
$images | Where-Object name -eq $TemplateName | ForEach-Object {
$id = $_.id
Show-StringWithFormat "Deleting '$TemplateName[$id]' VM and '$TagName' tag"
$uri = '{0}/registry/vm?id={1}' -f $RegistryUrl, $id
Invoke-WebRequest -Uri $uri -Method Delete | Out-Null
}
$command = "anka registry --registry-path $RegistryUrl push --force --tag $TagName $TemplateName"
Invoke-AnkaCommand -Command $command
}
function Get-AnkaVM {
param(
[string] $VMName
)
$command = "anka --machine-readable list"
if (-not [string]::IsNullOrEmpty($VMName)) {
$command = "anka --machine-readable show $VMName"
}
Invoke-AnkaCommand -Command $command | ConvertFrom-Json | Foreach-Object body
}
function Get-AnkaVMStatus {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
$command = "anka --machine-readable list $VMName"
Invoke-AnkaCommand -Command $command | ConvertFrom-Json | Foreach-Object { $_.body.status }
}
function Get-AnkaVMIPAddress {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
Get-AnkaVM -VMName $VMName | Foreach-Object ip
}
function Invoke-AnkaCommand {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Command
)
$result = bash -c "$Command 2>&1" | Out-String
if ($LASTEXITCODE -ne 0) {
Write-Error "There is an error during command execution:`n$result"
exit 1
}
$result
}
function New-AnkaVMTemplate {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $InstallerPath,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplateName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplateUsername,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplatePassword,
[Parameter(Mandatory)]
[int] $CPUCount,
[Parameter(Mandatory)]
[int] $RamSizeGb,
[Parameter(Mandatory)]
[int] $DiskSizeGb
)
$env:ANKA_DEFAULT_USER = $TemplateUsername
$env:ANKA_DEFAULT_PASSWD = $TemplatePassword
$env:ANKA_CREATE_SUSPEND = 0
$command = "anka create --cpu-count '$CPUCount' --ram-size '${RamSizeGb}G' --disk-size '${DiskSizeGb}G' --app '$InstallerPath' $TemplateName"
Invoke-AnkaCommand -Command $command
}
function Remove-AnkaVM {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
$command = "anka delete $VMName --yes"
$isTemplateExists = Get-AnkaVM | Where-Object name -eq $VMName
if ($isTemplateExists) {
$null = Invoke-AnkaCommand -Command $command
}
}
function Set-AnkaVMVideoController {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $ShortMacOSVersion,
[ValidateSet("fbuf", "pg")]
[string] $Controller = "pg"
)
$command = "anka modify $VMName set display -c $Controller"
# Apple Metal is available starting from Big Sur
if (-not $ShortMacOSVersion.StartsWith("10.")) {
$null = Invoke-AnkaCommand -Command $command
}
}
function Set-AnkaVMDisplayResolution {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $DisplayResolution
)
$command = "anka modify $VMName set display -r $DisplayResolution"
$null = Invoke-AnkaCommand -Command $command
}
function Start-AnkaVM {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
$command = "anka start $VMName"
$vmStatus = Get-AnkaVMStatus -VMName $VMName
if ($vmStatus -eq "stopped") {
$null = Invoke-AnkaCommand -Command $command
}
}
function Stop-AnkaVM {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
$command = "anka stop $VMName"
$vmStatus = Get-AnkaVMStatus -VMName $VMName
if ($vmStatus -eq "running") {
$null = Invoke-AnkaCommand -Command $command
}
}
function Wait-AnkaVMIPAddress {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[int] $RetryCount = 20,
[int] $Seconds = 60
)
$condition = { Get-AnkaVMIPAddress -VMName $VMName }
$null = Invoke-WithRetry -BreakCondition $condition -RetryCount $RetryCount -Seconds $Seconds
}
function Wait-AnkaVMSSHService {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[int] $RetryCount = 20,
[int] $Seconds = 60
)
Start-Sleep -Seconds $Seconds
Write-Host "`t[*] Waiting for '$VMName' VM to get an IP address"
Wait-AnkaVMIPAddress -VMName $VMName -RetryCount $RetryCount -Seconds $Seconds
$ipAddress = Get-AnkaVMIPAddress -VMName $VMName
Write-Host "`t[*] The '$ipAddress' IP address for '$VMName' VM"
Write-Host "`t[*] Checking if SSH on a port is open"
$isSSHPortOpen = Test-SSHPort -IPAddress $ipAddress
if (-not $isSSHPortOpen) {
Write-Host "`t[x] SSH port is closed"
exit 1
}
}
@@ -0,0 +1,184 @@
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[version] $MacOSVersion,
[ValidateNotNullOrEmpty()]
[string] $TemplateUsername,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplatePassword,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $RegistryUrl,
[ValidateNotNullOrEmpty()]
[string] $TemplateName,
[bool] $DownloadLatestVersion = $true,
[bool] $BetaSearch = $false,
[bool] $InstallSoftwareUpdate = $true,
[bool] $EnableAutoLogon = $true,
[int] $CPUCount = 6,
[int] $RamSizeGb = 7,
[int] $DiskSizeGb = 300,
[string] $DisplayResolution = "1920x1080",
[string] $TagName = [DateTimeOffset]::Now.ToUnixTimeSeconds()
)
$ErrorActionPreference = "Stop"
$WarningPreference = "SilentlyContinue"
# Import helper modules
Import-Module "$PSScriptRoot/Anka.Helpers.psm1"
Import-Module "$PSScriptRoot/Service.Helpers.psm1"
# Helper functions
function Invoke-EnableAutoLogon {
if (-not $EnableAutoLogon) {
Write-Host "`t[*] Skip configuring AutoLogon"
return
}
$ipAddress = Get-AnkaVMIPAddress -VMName $TemplateName
Write-Host "`t[*] Enable AutoLogon"
Enable-AutoLogon -HostName $ipAddress -UserName $TemplateUsername -Password $TemplatePassword
Write-Host "`t[*] Reboot '$TemplateName' VM to enable AutoLogon"
Restart-VMSSH -HostName $ipAddress | Show-StringWithFormat
Wait-AnkaVMSSHService -VMName $TemplateName -Seconds 30
Write-Host "`t[*] Checking if AutoLogon is enabled"
Test-AutoLogon -VMName $TemplateName -UserName $TemplateUsername
}
function Invoke-SoftwareUpdate {
if (-not $InstallSoftwareUpdate) {
Write-Host "`t[*] Skip installing software updates"
return
}
$ipAddress = Get-AnkaVMIPAddress -VMName $TemplateName
# Unenroll Seed
Write-Host "`t[*] Reseting the seed before requesting stable versions"
Remove-CurrentBetaSeed -HostName $ipAddress | Show-StringWithFormat
# Install Software Updates
# Security updates may not be able to install(hang, freeze) when AutoLogon is turned off
Write-Host "`t[*] Finding available software"
$newUpdates = Get-SoftwareUpdate -HostName $ipAddress
if (-not $newUpdates) {
Write-Host "`t[*] No Updates Available"
return
}
Write-Host "`t[*] Fetching Software Updates ready to install on '$TemplateName' VM:"
Show-StringWithFormat $newUpdates
Write-Host "`t[*] Installing Software Updates on '$TemplateName' VM:"
Install-SoftwareUpdate -HostName $ipAddress | Show-StringWithFormat
# Check if Action: restart
if ($newUpdates.Contains("Action: restart")) {
Write-Host "`t[*] Sleep 60 seconds before the software updates have been installed"
Start-Sleep -Seconds 60
Write-Host "`t[*] Waiting for loginwindow process"
Wait-LoginWindow -HostName $ipAddress | Show-StringWithFormat
# Re-enable AutoLogon after installing a new security software update
Invoke-EnableAutoLogon
# Check software updates have been installed
$updates = Get-SoftwareUpdate -HostName $ipAddress
if ($updates.Contains("Action: restart")) {
Write-Host "`t[x] Software updates failed to install: $updates"
Show-StringWithFormat $updates
exit 1
}
}
Write-Host "`t[*] Show the install history:"
$hUpdates = Get-SoftwareUpdateHistory -HostName $ipAddress
Show-StringWithFormat $hUpdates
}
function Invoke-UpdateSettings {
$isConfRequired = $InstallSoftwareUpdate -or $EnableAutoLogon
if (-not $isConfRequired) {
Write-Host "`t[*] Skip additional configuration"
return
}
Write-Host "`t[*] Starting '$TemplateName' VM"
Start-AnkaVM -VMName $TemplateName
Write-Host "`t[*] Waiting for SSH service on '$TemplateName' VM"
Wait-AnkaVMSSHService -VMName $TemplateName -Seconds 30
# Configure AutoLogon
Invoke-EnableAutoLogon
# Install software updates
Invoke-SoftwareUpdate
Write-Host "`t[*] Stopping '$TemplateName' VM"
Stop-AnkaVM -VMName $TemplateName
}
function Test-VMStopped {
$vmStatus = Get-AnkaVMStatus -VMName $TemplateName
if ($vmStatus -ne "stopped") {
Write-Host "`t[x] VM '$TemplateName' state is not stopped. The current state is '$vmStatus'"
exit 1
}
}
# Password is passed as env-var "SSHPASS"
$env:SSHUSER = $TemplateUsername
$env:SSHPASS = $TemplatePassword
Write-Host "`n[#1] Download macOS application installer:"
$macOSInstaller = Get-MacOSInstaller -MacOSVersion $MacOSVersion -DownloadLatestVersion $DownloadLatestVersion -BetaSearch $BetaSearch
$shortMacOSVersion = Get-ShortMacOSVersion -MacOSVersion $MacOSVersion
if ([string]::IsNullOrEmpty($TemplateName)) {
$TemplateName = "clean_macos_${shortMacOSVersion}_${DiskSizeGb}gb"
}
Write-Host "`n[#2] Create a VM template:"
Write-Host "`t[*] Deleting existed template with name '$TemplateName' before creating a new one"
Remove-AnkaVM -VMName $TemplateName
Write-Host "`t[*] Creating Anka VM template with name '$TemplateName' and '$TemplateUsername' user"
Write-Host "`t[*] CPU Count: $CPUCount, RamSize: ${RamSizeGb}G, DiskSizeGb: ${DiskSizeGb}G, InstallerPath: $macOSInstaller, TemplateName: $TemplateName"
New-AnkaVMTemplate -InstallerPath $macOSInstaller `
-TemplateName $TemplateName `
-TemplateUsername $TemplateUsername `
-TemplatePassword $TemplatePassword `
-CPUCount $CPUCount `
-RamSizeGb $RamSizeGb `
-DiskSizeGb $DiskSizeGb | Show-StringWithFormat
Write-Host "`n[#3] Configure AutoLogon and/or install software updates:"
Invoke-UpdateSettings
Write-Host "`n[#4] Finalization '$TemplateName' configuration and push to the registry:"
Write-Host "`t[*] The '$TemplateName' VM status is stopped"
Test-VMStopped
# Configure graphics settings
Write-Host "`t[*] Enabling Graphics Acceleration with Apple Metal for '$TemplateName' VM"
Set-AnkaVMVideoController -VMName $TemplateName -ShortMacOSVersion $ShortMacOSVersion
Write-Host "`t[*] Setting screen resolution to $DisplayResolution for $TemplateName"
Set-AnkaVMDisplayResolution -VMName $TemplateName -DisplayResolution $DisplayResolution
# Push a VM template (and tag) to the Cloud
Write-Host "`t[*] Pushing '$TemplateName' image with '$TagName' tag to the '$RegistryUrl' registry..."
Push-AnkaTemplateToRegistry -RegistryUrl $registryUrl -TagName $TagName -TemplateName $TemplateName
+339
View File
@@ -0,0 +1,339 @@
function Enable-AutoLogon {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $UserName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Password
)
$url = "https://raw.githubusercontent.com/actions/virtual-environments/main/images/macos/provision/bootstrap-provisioner/kcpassword.py"
$script = Invoke-RestMethod -Uri $url
$base64 = [Convert]::ToBase64String($script.ToCharArray())
$kcpassword = "echo $base64 | base64 --decode > ~/kcpassword;sudo python ./kcpassword '${Password}';rm ./kcpassword"
$loginwindow = "sudo /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow autoLoginUser '${UserName}';sudo /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow autoLoginUserScreenLocked -bool false"
$command = "${kcpassword};$loginwindow"
Invoke-SSHPassCommand -HostName $HostName -Command $command
}
function Get-AvailableVersions {
param (
[bool] $IsBeta = $false
)
if ($IsBeta) {
$searchPostfix = " beta"
}
$command = { /usr/sbin/softwareupdate --list-full-installers | grep "macOS" }
$condition = { $LASTEXITCODE -eq 0 }
$softwareUpdates = Invoke-WithRetry -Command $command -BreakCondition $condition | Where-Object { $_.Contains("Title: macOS") -and $_ -match $searchPostfix }
$allVersions = $softwareUpdates -replace "(\* )?(Title|Version|Size):" | ConvertFrom-Csv -Header OSName, OSVersion | Select-Object OSName, OSVersion -Unique
$allVersions
}
function Get-MacOSInstaller {
param (
[Parameter(Mandatory)]
[version] $MacOSVersion,
[bool] $DownloadLatestVersion = $false,
[bool] $BetaSearch = $false
)
# Enroll machine to DeveloperSeed if we need beta and unenroll otherwise
$seedutil = "/System/Library/PrivateFrameworks/Seeding.framework/Versions/Current/Resources/seedutil"
if ($BetaSearch) {
Write-Host "`t[*] Beta Version requested. Enrolling machine to DeveloperSeed"
sudo $seedutil enroll DeveloperSeed | Out-Null
} else {
Write-Host "`t[*] Reseting the seed before requesting stable versions"
sudo $seedutil unenroll | Out-Null
}
# Validate there is no softwareupdate at the moment
Test-SoftwareUpdate
# Validate availability OSVersion
Write-Host "`t[*] Finding available full installers"
$availableVersions = Get-AvailableVersions -IsBeta $BetaSearch
if ($DownloadLatestVersion) {
$shortMacOSVersion = Get-ShortMacOSVersion -MacOSVersion $MacOSVersion
$filterSearch = "${shortMacOSVersion}."
$filteredVersions = $availableVersions.Where{ $_.OSVersion.StartsWith($filterSearch) }
if (-not $filteredVersions) {
Write-Host "`t[x] Failed to find any macOS versions using '$filterSearch' search condition"
Show-StringWithFormat $availableVersions
exit 1
}
Show-StringWithFormat $filteredVersions
$osVersions = $filteredVersions.OSVersion | Sort-Object {[version]$_}
$MacOSVersion = $osVersions | Select-Object -Last 1
Write-Host "`t[*] The 'DownloadLatestVersion' flag is set. Latest macOS version is '$MacOSVersion' now"
}
$macOSName = $availableVersions.Where{ $MacOSVersion -eq $_.OSVersion }.OSName
if (-not $macOSName) {
Write-Host "`t[x] Requested macOS '$MacOSVersion' version not found in the list of available installers. Available versions are:`n$($availableVersions.OSVersion)"
Write-Host "`t[x] Make sure to pass '-BetaSearch `$true' if you need a beta version installer"
exit 1
}
$installerPathPattern = "/Applications/Install*${macOSName}.app"
if (Test-Path $installerPathPattern) {
$previousInstallerPath = Get-Item -Path $installerPathPattern
Write-Host "`t[*] Removing '$previousInstallerPath' installation app before downloading the new one"
sudo rm -rf "$previousInstallerPath"
}
# Clear LastRecommendedMajorOSBundleIdentifier to prevent error during fetching updates
# Install failed with error: Update not found
Update-SoftwareBundle
# Download macOS installer
Write-Host "`t[*] Requested macOS '$MacOSVersion' version installer found, fetching it from Apple Software Update"
$result = Invoke-WithRetry { /usr/sbin/softwareupdate --fetch-full-installer --full-installer-version $MacOSVersion } {$LASTEXITCODE -eq 0} | Out-String
if (-not $result.Contains("Install finished successfully")) {
Write-Host "`t[x] Failed to fetch $MacOSVersion macOS `n$result"
exit 1
}
$installerPath = (Get-Item -Path $installerPathPattern).FullName
Write-Host "`t[*] Installer successfully downloaded to '$installerPath'"
$installerPath
}
function Get-ShortMacOSVersion {
param (
[Parameter(Mandatory)]
[version] $MacOSVersion
)
# Take Major.Minor version for macOS 10 (10.14 or 10.15) and Major for all further versions
$MacOSVersion.Major -eq 10 ? $MacOSVersion.ToString(2) : $MacOSVersion.ToString(1)
}
function Get-SoftwareUpdate {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "/usr/sbin/softwareupdate --list"
$result = Invoke-SSHPassCommand -HostName $HostName -Command $command
$result | Where-Object { $_ -match "(Label|Title):" } | Out-String
}
function Get-SoftwareUpdateHistory {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "/usr/sbin/softwareupdate --history"
Invoke-SSHPassCommand -HostName $HostName -Command $command | Out-String
}
function Install-SoftwareUpdate {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "sudo /usr/sbin/softwareupdate --all --install --restart --verbose"
Invoke-SSHPassCommand -HostName $HostName -Command $command
}
function Invoke-SSHPassCommand {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Command,
[int] $ConnectTimeout = 10,
[int] $ConnectionAttempts = 10,
[int] $ServerAliveInterval = 30
)
$sshArg = @(
"sshpass"
"-e"
"ssh"
"-o UserKnownHostsFile=/dev/null"
"-o StrictHostKeyChecking=no"
"-o ConnectTimeout=$ConnectTimeout"
"-o ConnectionAttempts=$ConnectionAttempts"
"-o LogLevel=ERROR"
"-o ServerAliveInterval=$ServerAliveInterval"
"${env:SSHUSER}@${HostName}"
)
$sshPassOptions = $sshArg -join " "
bash -c "$sshPassOptions \""$Command\"" 2>&1"
}
function Invoke-WithRetry {
param(
[scriptblock] $Command,
[scriptblock] $BreakCondition,
[int] $RetryCount = 20,
[int] $Seconds = 60
)
while ($RetryCount -gt 0) {
if ($Command) {
$result = & $Command
}
if (& $BreakCondition) {
return $result
}
$RetryCount--
if ($RetryCount -eq 0) {
Write-Error "No more attempts left: $BreakCondition"
}
Write-Host "`t [/] Waiting $Seconds seconds before retrying. Retries left: $RetryCount"
Start-Sleep -Seconds $Seconds
}
$result
}
function Restart-VMSSH {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "sudo reboot"
Invoke-SSHPassCommand -HostName $HostName -Command $command
}
function Show-StringWithFormat {
param(
[Parameter(ValuefromPipeline)]
[object] $string
)
process {
($string | Out-String).Trim().split("`n") | ForEach-Object { Write-Host "`t $_" }
}
}
function Remove-CurrentBetaSeed {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/Current/Resources/seedutil unenroll"
Invoke-SSHPassCommand -HostName $HostName -Command $command | Out-String
}
function Test-AutoLogon {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $UserName
)
Invoke-WithRetry -BreakCondition {
# pwsh crashes if it invokes directly
# https://github.com/dotnet/runtime/issues/59059
$ankaUser = "" | bash -c "anka run $VMName /usr/bin/id -nu"
$UserName -eq $ankaUser
}
}
function Test-SoftwareUpdate {
param (
[string] $UpdateProcessName = "softwareupdate"
)
$command = {
$updateProcess = (Get-Process -Name $UpdateProcessName -ErrorAction SilentlyContinue).id
if ($updateProcess) {
# Workaround to get commandline param as it doesn't work for macOS atm https://github.com/PowerShell/PowerShell/issues/13943
$processName = /bin/ps -o command= $updateProcess
Write-Host "`t[*] Another software update process with '$updateProcess' id is in place with the following arguments '$processName'"
}
}
$condition = {
$null -eq (Get-Process -Name $UpdateProcessName -ErrorAction SilentlyContinue)
}
Invoke-WithRetry -Command $command -BreakCondition $condition
}
function Test-SSHPort {
param(
[Parameter(Mandatory)]
[ipaddress] $IPAddress,
[int] $Port = 22,
[int] $Timeout = 2000
)
Invoke-WithRetry -Command {$true} -BreakCondition {
try {
$client = [System.Net.Sockets.TcpClient]::new()
$client.ConnectAsync($IPAddress, $Port).Wait($Timeout)
}
catch {
$false
}
finally {
$client.Close()
}
}
}
function Wait-LoginWindow {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName,
[int] $RetryCount = 60,
[int] $Seconds = 60
)
$condition = {
$psCommand = "/bin/ps auxww"
$lw = "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow"
$ctk = "/System/Library/Frameworks/CryptoTokenKit.framework/ctkahp.bundle/Contents/MacOS/ctkahp"
$proc = Invoke-SSHPassCommand -HostName $HostName -Command $psCommand | Out-String
$proc.Contains($lw) -and $proc.Contains($ctk)
}
Invoke-WithRetry -RetryCount $RetryCount -Seconds $Seconds -BreakCondition $condition
}
function Update-SoftwareBundle {
$productVersion = sw_vers -productVersion
if ( $productVersion.StartsWith('11.') ) {
sudo rm -rf /Library/Preferences/com.apple.commerce.plist
sudo /usr/bin/defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier | Out-Null
}
}
@@ -0,0 +1,147 @@
jobs:
- job: Image_generation
displayName: Image Generation (${{ parameters.image_label }})
timeoutInMinutes: 720
pool:
name: Mac-Cloud Image Generation
variables:
- group: Mac-Cloud Image Generation
- group: Mac-Cloud Image Generation Key Vault
steps:
- pwsh: |
$cleanBuildNumber = "$(Build.BuildNumber)" -replace "(.+_unstable)(\.\d+)", '$1'
$virtualMachineName = "${cleanBuildNumber}.$(System.JobAttempt)"
echo "##vso[task.setvariable variable=VirtualMachineName;]$virtualMachineName"
echo "##vso[build.updatebuildnumber]$virtualMachineName"
displayName: Update BuildNumber
- checkout: self
clean: true
fetchDepth: 1
- task: PowerShell@2
displayName: 'Validate contributor permissions'
condition: startsWith(variables['Build.SourceBranch'], 'refs/pull/')
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/validate-contributor.ps1
pwsh: true
arguments: -RepositoryName "$(Build.Repository.Name)" `
-AccessToken "$(github-feed-token)" `
-SourceBranch "$(Build.SourceBranch)" `
-ContributorAllowList "$(CONTRIBUTOR_ALLOWLIST)"
- task: PowerShell@2
displayName: 'Download custom repository'
condition: and(ne(variables['CUSTOM_REPOSITORY_URL'], ''), ne(variables['CUSTOM_REPOSITORY_BRANCH'], ''))
inputs:
targetType: 'filePath'
filePath: ./images.CI/download-repo.ps1
arguments: -RepoUrl $(CUSTOM_REPOSITORY_URL) `
-RepoBranch $(CUSTOM_REPOSITORY_BRANCH)
- task: DeleteFiles@1
displayName: Clean up self-hosted machine
inputs:
SourceFolder: 'images/macos/provision/log/'
RemoveSourceFolder: true
- task: PowerShell@2
displayName: 'Select datastore'
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/select-datastore.ps1
arguments: -VMName "$(VirtualMachineName)" `
-VIServer "$(vcenter-server-v2)" `
-VIUserName "$(vcenter-username-v2)" `
-VIPassword "$(vcenter-password-v2)"
- pwsh: |
$SensitiveData = @(
'IP address:',
'Using ssh communicator to connect:'
)
packer build -on-error=abort `
-var="vcenter_server=$(vcenter-server-v2)" `
-var="vcenter_username=$(vcenter-username-v2)" `
-var="vcenter_password=$(vcenter-password-v2)" `
-var="vcenter_datacenter=$(vcenter-datacenter-v2)" `
-var="cluster_or_esxi_host=$(esxi-cluster-v2)" `
-var="esxi_datastore=$(buildDatastore)" `
-var="output_folder=$(output-folder)" `
-var="vm_username=$(vm-username)" `
-var="vm_password=$(vm-password)" `
-var="build_id=$(VirtualMachineName)" `
-var="baseimage_name=${{ parameters.base_image_name }}" `
-var="xcode_install_user=$(xcode-installation-user)" `
-var="xcode_install_password=$(xcode-installation-password)" `
-color=false `
${{ parameters.template_path }} `
| Where-Object {
#Filter sensitive data from Packer logs
$currentString = $_
$sensitiveString = $SensitiveData | Where-Object { $currentString -match $_ }
$sensitiveString -eq $null
}
displayName: 'Build VM'
workingDirectory: 'images/macos'
env:
PACKER_LOG: 1
PACKER_LOG_PATH: $(Agent.TempDirectory)/packer-log.txt
- bash: |
echo "Copy image output files"
cp -R "images/image-output/software-report/." "$(Build.ArtifactStagingDirectory)/"
echo "Copy test results"
cp -R "images/image-output/tests/." "$(Common.TestResultsDirectory)/"
ls $(Common.TestResultsDirectory)
echo "Put VM name to 'VM_Done_Name' file"
echo "$(VirtualMachineName)" > "$(Build.ArtifactStagingDirectory)/VM_Done_Name"
displayName: Prepare artifact
- bash: |
cat "$(Build.ArtifactStagingDirectory)/systeminfo.md"
displayName: Print software report
- task: PublishBuildArtifacts@1
inputs:
ArtifactName: 'Built_VM_Artifacts'
displayName: Publish Artifacts
- task: PowerShell@2
displayName: 'Print provisioners duration'
inputs:
targetType: 'filePath'
filePath: ./images.CI/measure-provisioners-duration.ps1
arguments: -PackerLogPath "$(Agent.TempDirectory)/packer-log.txt" `
-PrintTopNLongest 25
- task: PowerShell@2
displayName: 'Move vm to cold storage and clear datastore tag'
condition: always()
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/move-vm.ps1
arguments: -VMName "$(VirtualMachineName)" `
-TargetDataStore "${{ parameters.target_datastore }}" `
-VIServer "$(vcenter-server-v2)" `
-VIUserName "$(vcenter-username-v2)" `
-VIPassword "$(vcenter-password-v2)"
-CpuCount "$(cpu-count)" `
-CoresPerSocketCount "$(cores-per-socket-count)" `
-Memory "$(memory)"
- task: PowerShell@2
displayName: 'Destroy VM (if build canceled only)'
condition: eq(variables['Agent.JobStatus'], 'Canceled')
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/destroy-vm.ps1
arguments: -VMName "$(VirtualMachineName)" `
-VIServer "$(vcenter-server-v2)" `
-VIUserName "$(vcenter-username-v2)" `
-VIPassword "$(vcenter-password-v2)"
@@ -0,0 +1,23 @@
name: macOS-10.15_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Catalina'
base_image_name: 'clean-macOS-10.15-380Gb-runner'
template_path: 'templates/macOS-10.15.json'
target_datastore: 'ds-image'
@@ -0,0 +1,23 @@
name: macOS-11_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Big Sur'
base_image_name: 'clean-macOS-11-380Gb-runner'
template_path: 'templates/macOS-11.json'
target_datastore: 'ds-image'
@@ -0,0 +1,23 @@
name: macOS-12_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Monterey'
base_image_name: 'clean-macOS-12-380Gb-runner'
template_path: 'templates/macOS-12.json'
target_datastore: 'ds-image'
+95
View File
@@ -0,0 +1,95 @@
<#
.SYNOPSIS
This script deletes vm from vCenter
.PARAMETER VMName
VM name to delete (Example "macOS-10.15_20201012.4")
.PARAMETER VIServer
vCenter address (Example "10.0.1.16")
.PARAMETER VIUserName
vCenter username (Example "Administrator")
.PARAMETER VIPassword
vCenter password (Example "12345678")
#>
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIServer,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIUserName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIPassword
)
# Import helpers module
Import-Module $PSScriptRoot\helpers.psm1 -DisableNameChecking
# Connection to a vCenter Server system
Connect-VCServer -VIServer $VIServer -VIUserName $VIUserName -VIPassword $VIPassword
# Check vm clone status
$chainId = (Get-VIEvent -Entity $VMName).ChainId
if ($chainId)
{
$task = Get-Task -Status Running | Where-Object { ($_.Name -eq 'CloneVM_Task') -and ($_.ExtensionData.Info.EventChainId -in $chainId) }
if ($task)
{
try
{
Stop-Task -Task $task -Confirm:$false -ErrorAction Stop
Write-Host "The vm '$VMName' clone task has been canceled"
}
catch
{
Write-Host "##vso[task.LogIssue type=error;]Failed to cancel the task"
}
}
}
# Remove a vm
$vm = Get-VM -Name $VMName -ErrorAction SilentlyContinue
if ($vm)
{
$vmState = $vm.PowerState
if ($vmState -ne "PoweredOff")
{
try
{
$null = Stop-VM -VM $vm -Confirm:$false -ErrorAction Stop
Write-Host "The vm '$VMName' has been powered off"
}
catch
{
Write-Host "##vso[task.LogIssue type=error;]Failed to shutdown '$VMName'"
}
}
try
{
Remove-VM -VM $vm -DeletePermanently -Confirm:$false -ErrorAction Stop
Write-Host "The vm '$VMName' has been removed"
}
catch
{
Write-Host "##vso[task.LogIssue type=error;]Failed to remove '$VMName'"
}
}
else
{
Write-Host "VM '$VMName' not found"
}
+38
View File
@@ -0,0 +1,38 @@
<#
.SYNOPSIS
Helper functions to use in images.CI scripts
#>
Function Connect-VCServer
{
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[System.String]$VIUserName,
[Parameter(Mandatory)]
[System.String]$VIPassword,
[Parameter(Mandatory)]
[System.String]$VIServer
)
try
{
# Preference
$global:ProgressPreference = 'SilentlyContinue'
$global:WarningPreference = 'SilentlyContinue'
# Ignore SSL
$null = Set-PowerCLIConfiguration -Scope Session -InvalidCertificateAction Ignore -ParticipateInCEIP $false -Confirm:$false -WebOperationTimeoutSeconds 600
$securePassword = ConvertTo-SecureString -String $VIPassword -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential($VIUserName, $securePassword)
$null = Connect-VIServer -Server $VIServer -Credential $cred -ErrorAction Stop
Write-Host "Connection to the vSphere server has been established"
}
catch
{
Write-Host "##vso[task.LogIssue type=error;]Failed to connect to the vSphere server"
exit 1
}
}
+89
View File
@@ -0,0 +1,89 @@
<#
.SYNOPSIS
This script migrates given VM to another datastore
.PARAMETER VMName
VM name to migrate (Example "macOS-10.15_20201012.4")
.PARAMETER TargetDataStore
Target datastore (Example "ds-image")
.PARAMETER VIServer
vCenter address (Example "10.0.1.16")
.PARAMETER VIUserName
vCenter username (Example "Administrator")
.PARAMETER VIPassword
vCenter password (Example "12345678")
#>
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$TargetDataStore,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIServer,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIUserName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIPassword,
[int32]$CpuCount,
[int32]$CoresPerSocketCount,
[int64]$Memory
)
# Import helpers module
Import-Module $PSScriptRoot\helpers.psm1 -DisableNameChecking
# Connection to a vCenter Server system
Connect-VCServer -VIServer $VIServer -VIUserName $VIUserName -VIPassword $VIPassword
# Clear previously assigned tag with VM Name
try {
Remove-Tag $VMName -Confirm:$false
} catch {
Write-Host "Tag with $VMName doesn't exist"
}
$vm = Get-VM $VMName
if ($env:AGENT_JOBSTATUS -eq 'Failed') {
try {
if($vm.PowerState -ne "PoweredOff") {
Stop-VM -VM $vm -Confirm:$false -ErrorAction Stop | Out-Null
}
Set-VM -VM $vm -Name "${VMName}_failed" -Confirm:$false -ErrorAction Stop | Out-Null
Write-Host "VM has been successfully powered off and renamed to [${VMName}_failed]"
} catch {
Write-Host "##vso[task.LogIssue type=error;]Failed to power off and rename VM '$VMName'"
}
}
try {
Move-VM -Vm $vm -Datastore $TargetDataStore -ErrorAction Stop | Out-Null
Write-Host "VM has been moved successfully to target datastore '$TargetDataStore'"
} catch {
Write-Host "##vso[task.LogIssue type=error;]Failed to move VM '$VMName' to target datastore '$TargetDataStore'"
}
try {
Write-Host "Change CPU count to $CpuCount, cores count to $CoresPerSocketCount, amount of RAM to $Memory"
$vm | Set-VM -NumCPU $CpuCount -CoresPerSocket $CoresPerSocketCount -MemoryMB $Memory -Confirm:$false -ErrorAction Stop | Out-Null
} catch {
Write-Host "##vso[task.LogIssue type=error;]Failed to change specs for VM '$VMName'"
}
+111
View File
@@ -0,0 +1,111 @@
<#
.SYNOPSIS
This script selects local datastore based on the following rules:
- Name starts with ds-local-Datastore
- Datastore FreespaceGB > 400 Gb
- VM count on the datastore < 2
.PARAMETER VIServer
vCenter address (Example "10.0.1.16")
.PARAMETER VIUserName
vCenter username (Example "Administrator")
.PARAMETER VIPassword
vCenter password (Example "12345678")
#>
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIServer,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIUserName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIPassword,
[string]$TagCategory = "Busy"
)
# Import helpers module
Import-Module $PSScriptRoot\helpers.psm1 -DisableNameChecking
function Select-DataStore {
param (
[string]$VMName,
[string]$TagCategory,
[string]$TemplateDatastore = "ds-local-Datastore-*",
[int]$ThresholdInGb = 400,
[int]$VMCount = 2,
[int]$Retries = 5
)
# 1. Name starts with ds-local-Datastore
# 2. FreespaceGB > 400 Gb
# 3. Choose a datastore with the minimal VM count < 2
Write-Host "Start Datastore selection process..."
$allDatastores = Get-Datastore -Name $templateDatastore | Where-Object { $_.State -eq "Available" }
$availableDatastores = $allDatastores `
| Where-Object { $_.FreeSpaceGB -ge $thresholdInGb } `
| Where-Object {
$vmOnDatastore = @((Get-ChildItem -Path $_.DatastoreBrowserPath).Name -notmatch "^\.").Count
$vmOnDatastore -lt $vmCount } `
| Group-Object -Property { $vmOnDatastore }
$datastore = $availableDatastores | Select-Object @{n="VmCount";e={$_.Name}},@{n="DatastoreName";e={$_.Group | Get-Random}} -First 1
$buildDatastore = $datastore.DatastoreName
$tag = Get-Tag -Category $TagCategory -Name $VMName -ErrorAction Ignore
if (-not $tag)
{
$tag = New-Tag -Name $VMName -Category $TagCategory
}
New-TagAssignment -Tag $tag -Entity $buildDatastore | Out-Null
# Wait for 60 seconds to check if any other tags are assigned to the same datastore
Start-Sleep -Seconds 60
# If there are no datastores with 0 VMs, take a datastore with 1 VM (index 1 if datastore has 0 VMs and 2 if 1 VM)
$index = 1 + [int]$datastore.VmCount
$tagAssignments = (Get-TagAssignment -Entity $buildDatastore).Tag.Name | Select-Object -First $index
$isAllow = $tagAssignments -contains $VMName
if ($isAllow)
{
Write-Host "Datastore selected successfully"
Write-Host "##vso[task.setvariable variable=buildDatastore;issecret=true]$buildDatastore"
return
}
# Remove the tag if datastore wasn't selected
Remove-Tag $tag -Confirm:$false
$retries--
if ($retries -le 0)
{
Write-Host "##vso[task.LogIssue type=error;]No datastores found for the condition"
exit 1
}
Write-Host "Datastore select failed, $retries left"
Select-DataStore -VMName $VMName -TagCategory $TagCategory -Retries $retries
}
# Connection to a vCenter Server system
Connect-VCServer -VIServer $VIServer -VIUserName $VIUserName -VIPassword $VIPassword
# Get a target datastore for current deployment
Select-DataStore -VMName $VMName -TagCategory $TagCategory
+63
View File
@@ -0,0 +1,63 @@
param(
[Parameter(Mandatory)] [string] $RepositoryName,
[Parameter(Mandatory)] [string] $AccessToken,
[Parameter(Mandatory)] [string] $SourceBranch,
[Parameter(Mandatory)] [string] $ContributorAllowList
)
function Build-AuthHeader {
param(
[Parameter(Mandatory)] [string] $AccessToken
)
$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("'':${AccessToken}"))
return "Basic ${base64AuthInfo}"
}
function Get-PullRequest {
param(
[Parameter(Mandatory)] [string] $RepositoryName,
[Parameter(Mandatory)] [string] $AccessToken,
[Parameter(Mandatory)] [UInt32] $PullRequestNumber
)
$requestUrl = "https://api.github.com/repos/$RepositoryName/pulls/$PullRequestNumber"
$authHeader = Build-AuthHeader -AccessToken $AccessToken
$params = @{
Method = "GET"
ContentType = "application/json"
Uri = $requestUrl
Headers = @{ Authorization = $authHeader }
}
return Invoke-RestMethod @params
}
function Validate-ContributorPermissions {
param(
[Parameter(Mandatory)] [string] $ContributorAllowList,
[Parameter(Mandatory)] [string] $ContributorName
)
$allowedContributors = $ContributorAllowList.Split(",").Trim()
$validСontributor = $allowedContributors | Where-Object { $_ -eq $ContributorName } `
| Select-Object -First 1
if (-not $validСontributor) {
Write-Host "Failed to start this build. '$ContributorName' is an unknown contributor"
Write-Host "Please add '$ContributorName' to the allowed list to run builds"
exit 1
}
}
$pullRequestNumber = $SourceBranch.Split("/")[2]
$pullRequestInfo = Get-PullRequest -RepositoryName $RepositoryName `
-AccessToken $AccessToken `
-PullRequestNumber $pullRequestNumber
$contributorName = $pullRequestInfo.user.login
Validate-ContributorPermissions -ContributorAllowList $ContributorAllowList `
-ContributorName $contributorName
+122
View File
@@ -0,0 +1,122 @@
param(
[Parameter(Mandatory=$true)]
[string]$PackerLogPath,
[string]$PrefixToPathTrim,
[int]$PrintTopNLongest = 25
)
$DateTimeRegex = "(\d+\/\d+\/\d+ \d+:\d+:\d+)"
$TelemetryLineRegex = "\[INFO\] \(telemetry\)"
$StartProvisionerRegex = "^${DateTimeRegex} ${TelemetryLineRegex} Starting provisioner (.+)$"
$EndProvisionerRegex = "^${DateTimeRegex} ${TelemetryLineRegex} ending (.+)$"
$ShellScriptSubItemRegex = "${DateTimeRegex} ui: ==> .+: Provisioning with \w+ script: (.+)"
$DownloadUploadSubItemRegex = "${DateTimeRegex} ui: ==> .+: (Downloading .+|Uploading .+)"
function Start-ProvisionerItem {
param([string]$ProvisionerType, [string]$StartTime)
return @{
ProvisionerType = $ProvisionerType
StartTime = [DateTime]::Parse($StartTime)
SubItems = @()
}
}
function End-ProvisionerItem {
param([object]$Provisioner, [string]$EndTime)
$Provisioner.EndTime = [DateTime]::Parse($EndTime)
$Provisioner.Duration = New-TimeSpan -Start $Provisioner.StartTime -End $Provisioner.EndTime
}
function Add-ProvisionerSubItem {
param([object]$Provisioner, [string]$Command, [string]$DateTime)
$lastItem = $Provisioner.SubItems | Select-Object -Last 1
if ($lastItem) {
$lastItem.EndTime = [DateTime]::Parse($DateTime)
$lastItem.Duration = New-TimeSpan -Start $lastItem.StartTime -End $lastItem.EndTime
}
if ($Command) {
if ($PrefixToPathTrim) { $Command = $Command.Replace($PrefixToPathTrim, ".") }
$Provisioner.SubItems += @{
Command = $Command
StartTime = [DateTime]::Parse($DateTime)
}
}
}
function Invoke-TryFindProvisionerSubItem {
param([object]$Provisioner, [string] $Line)
if ($Provisioner.ProvisionerType -in "powershell", "shell", "windows-shell") {
if ($Line -match $ShellScriptSubItemRegex) {
Add-ProvisionerSubItem -Provisioner $Provisioner -Command $Matches[2] -DateTime $Matches[1]
}
} elseif ($Provisioner.ProvisionerType -eq "file") {
if ($Line -match $DownloadUploadSubItemRegex) {
Add-ProvisionerSubItem -Provisioner $Provisioner -Command $Matches[2] -DateTime $Matches[1]
}
}
}
function Assert-StartProvisioner {
param([object]$Provisioner, [string]$ProvisionerType)
if ($null -ne $Provisioner) {
throw "New provisioner '$ProvisionerType' has been started but previous '$($Provisioner.ProvisionerType)' was not finished yet"
}
}
function Assert-EndProvisioner {
param([object]$Provisioner, [string]$ProvisionerType)
if (($null -ne $Provisioner) -and ($Provisioner.ProvisionerType -ne $ProvisionerType)) {
throw "Expected end of '$($Provisioner.ProvisionerType)' provisioner but found end of '$ProvisionerType'"
}
}
$provisionersList = @()
$currentProvisioner = $null
if ((Get-Content $PackerLogPath -Raw) -notmatch $TelemetryLineRegex) {
throw "Packer log doesn't contain diagnostic information. Env PACKER_LOG must be set to 1"
}
Get-Content $PackerLogPath | ForEach-Object {
if ($_ -match $StartProvisionerRegex) {
Assert-StartProvisioner -Provisioner $currentProvisioner -ProvisionerType $Matches[2]
$currentProvisioner = Start-ProvisionerItem -ProvisionerType $Matches[2] -StartTime $Matches[1]
} elseif (($_ -match $EndProvisionerRegex) -and $currentProvisioner) {
Assert-EndProvisioner -Provisioner $currentProvisioner -ProvisionerType $Matches[2]
End-ProvisionerItem -Provisioner $currentProvisioner -EndTime $Matches[1]
Add-ProvisionerSubItem -Provisioner $currentProvisioner -Command $null -DateTime $Matches[1]
$provisionersList += $currentProvisioner
$currentProvisioner = $null
} elseif ($currentProvisioner) {
Invoke-TryFindProvisionerSubItem -Provisioner $currentProvisioner -Line $_
}
}
$totalProvisionersTime = New-TimeSpan
$provisionersList | ForEach-Object { $totalProvisionersTime = $totalProvisionersTime.Add($_.Duration) }
# Print information about provisioners in order of execution
Write-Host "Build timeline:"
$provisionersList | ForEach-Object {
Write-Host "- $($_.Duration) | $($_.ProvisionerType)"
$_.SubItems | ForEach-Object {
Write-Host " $($_.Duration) | $($_.Command)"
}
Write-Host ""
}
Write-Host "Total provisioners time: $totalProvisionersTime"
if ($PrintTopNLongest -gt 0) {
Write-Host "`n`nTop longest provisioners:"
$provisionersList | ForEach-Object {
if ($_.SubItems.Length -gt 0) { $_.SubItems } else { @{ Command = $_.ProvisionerType; Duration = $_.Duration } }
} | Sort-Object { $_.Duration } | Select-Object -Last $PrintTopNLongest | ForEach-Object {
Write-Host "- $($_.Duration) | $($_.Command)"
}
}
+43
View File
@@ -0,0 +1,43 @@
$ErrorActionPreference = "Stop"
function Validate-Scripts {
Param (
[Parameter(Mandatory=$true)]
[string[]]$Path,
[Parameter(Mandatory=$true)]
[string]$ExpectedShebang
)
$ScriptWithoutShebangLine = @()
Get-ChildItem $path -Recurse -File -Filter "*.sh" | ForEach-Object {
$relativePath = Resolve-Path $_.FullName -Relative
$shebangLine = Get-Content -Path $_.FullName | Select-Object -First 1
if ($shebangLine -eq $ExpectedShebang) {
Write-Host "[+] '$relativePath'"
}
else {
Write-Host "[-] '$relativePath'"
$ScriptWithoutShebangLine += $relativePath
}
}
return $ScriptWithoutShebangLine
}
$PathUbuntu = "./images/linux/scripts"
$PathMacOS = "./images/macos/provision"
$PatternUbuntu = "#!/bin/bash -e"
$PatternMacOS = "#!/bin/bash -e -o pipefail"
$ScriptsWithBrokenShebang = @()
$ScriptsWithBrokenShebang += Validate-Scripts -Path $PathUbuntu -ExpectedShebang $PatternUbuntu
$ScriptsWithBrokenShebang += Validate-Scripts -Path $PathMacOS -ExpectedShebang $PatternMacOS
if ($ScriptsWithBrokenShebang.Length -gt 0) {
Write-Host "`n`n`n##[error] The following scripts have incorrect shebang:"
$ScriptsWithBrokenShebang | ForEach-Object {
Write-Host "##[error] '$_'"
}
Write-Host "`n`n##[error] Expected shebang for scripts in 'images/linux' folder is '$PatternUbuntu'"
Write-Host "##[error] Expected shebang for scripts in 'images/macos' folder is '$PatternMacOS'"
exit 1
else {
Write-Host "All scripts have correct shebang."
}
}
-359
View File
@@ -1,359 +0,0 @@
<!--- DO NOT EDIT - This markdown file is autogenerated. -->
# Ubuntu 16.04.6 LTS
The following software is installed on machines with the 20200717.1 update.
***
- 7-Zip 9.20
- Ansible (ansible 2.9.10)
- AzCopy7 (available by azcopy alias) 7.3.0
- AzCopy10 (available by azcopy10 alias) 10.5.0
- Azure CLI (azure-cli 2.9.1)
- Azure CLI (azure-devops 0.18.0)
- Basic packages:
- dnsutils
- iproute2
- iputils-ping
- libunwind8
- locales
- openssh-client
- tzdata
- upx
- zstd
- libxkbfile-dev
- pkg-config
- libsecret-1-dev
- libxss1
- libgconf-2-4
- dbus
- xvfb
- libgbm-dev
- libgtk-3-0
- tk
- fakeroot
- dpkg
- rpm
- xz-utils
- xorriso
- zsync
- gnupg2
- lib32z1
- texinfo
- libsqlite3-dev
- libc++-dev
- libc++abi-dev
- libicu55
- curl
- file
- ftp
- jq
- netcat
- ssh
- parallel
- rsync
- shellcheck
- sudo
- telnet
- time
- unzip
- zip
- wget
- m4
- bison
- flex
- patchelf
- bzip2
- sqlite3
- libcurl3
- Alibaba Cloud CLI (3.0.53)
- AWS CLI (aws-cli/1.18.99 Python/2.7.12 Linux/4.15.0-1091-azure botocore/1.17.22)
- AWS CLI Session manager plugin (1.1.61.0)
- build-essential
- nvm (0.35.3)
- Clang 6.0 (6.0.0)
- Clang 8 (8.0.0)
- Clang 9 (9.0.1)
- Swift version 5.2.4 (swift-5.2.4-RELEASE)
Target: x86_64-unknown-linux-gnu
- CMake (cmake version 3.17.0)
- Docker Compose (docker-compose version 1.26.2, build eefe0d31)
- Docker-Moby (Docker version 19.03.12+azure, build 0ed913b885c8919944a2e4c8d0b80a318a8dd48b)
- Docker-Buildx (0.4.1+azure)
- .NET Core SDK:
- 3.1.302
- 3.1.301
- 3.1.300
- 3.1.202
- 3.1.201
- 3.1.200
- 3.1.106
- 3.1.105
- 3.1.104
- 3.1.103
- 3.1.102
- 3.1.101
- 3.1.100
- 3.0.103
- 3.0.102
- 3.0.101
- 3.0.100
- 2.1.808
- 2.1.807
- 2.1.806
- 2.1.805
- 2.1.804
- 2.1.803
- 2.1.802
- 2.1.801
- 2.1.701
- 2.1.700
- 2.1.613
- 2.1.612
- 2.1.611
- 2.1.610
- 2.1.609
- 2.1.608
- 2.1.607
- 2.1.606
- 2.1.605
- 2.1.604
- 2.1.603
- 2.1.602
- 2.1.516
- 2.1.515
- 2.1.514
- 2.1.513
- 2.1.512
- 2.1.511
- 2.1.510
- 2.1.509
- 2.1.508
- 2.1.507
- 2.1.506
- 2.1.505
- 2.1.504
- 2.1.503
- 2.1.502
- 2.1.500
- 2.1.403
- 2.1.402
- 2.1.401
- 2.1.302
- 2.1.301
- 2.1.300
- Erlang (Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 11.0.2)
- Firefox (Mozilla Firefox 78.0.2)
- Geckodriver (0.26.0); Gecko Driver is available via GECKOWEBDRIVER environment variable
- GNU C++ 7.5.0
- GNU C++ 8.4.0
- GNU C++ 9.3.0
- GNU Fortran 8.4.0
- GNU Fortran 9.3.0
- Git (2.27.0)
- Git Large File Storage (LFS) (2.11.0)
- Git-ftp (1.0.2)
- Hub CLI (2.14.2)
- GitHub CLI 0.11.0
- Google Chrome (Google Chrome 84.0.4147.89 )
- ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}); Chrome Driver is available via CHROMEWEBDRIVER environment variable
- Google Cloud SDK (301.0.0)
- Haskell Cabal (cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library )
- GHC (The Glorious Glasgow Haskell Compilation System, version 8.6.5)
- 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.3.1, Git revision de2a7b694f07de7e6cf17f8c92338c16286b2878 (8103 commits) x86_64 hpack-0.33.0)
- Heroku (heroku/7.42.4 linux-x64 node-v12.16.2)
- HHVM (HipHop VM 4.56.1 (rel))
- ImageMagick
- Azul Zulu OpenJDK:
- 7 (openjdk version "1.7.0_272")
- Adopt OpenJDK:
- 8 (openjdk version "1.8.0_262") (default)
- 11 (openjdk version "11.0.8" 2020-07-14)
- 12 (openjdk version "12.0.2" 2019-07-16)
- Ant (Apache Ant(TM) version 1.9.6 compiled on July 20 2018)
- Gradle 6.5.1
- Maven (Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f))
- Kind (kind v0.8.1 go1.14.2 linux/amd64)
- kubectl (Client Version: v1.18.6)
- helm (v3.2.4+g0ad800e)
- minikube version: v1.12.0
- oc CLI Client Version: 4.5.0-202005291417-9933eb9
- Leiningen (Leiningen 2.9.4 on Java 1.8.0_262 OpenJDK 64-Bit Server VM)
- Mercurial (Mercurial Distributed SCM (version 4.4.1))
- Miniconda (conda 4.8.3)
- Mono (Mono JIT compiler version 6.10.0.104 (tarball Fri Jun 26 19:43:02 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'
- Node.js (v12.18.2)
- Grunt (grunt-cli v1.3.2)
- Gulp (CLI version: 2.3.0
Local version: Unknown)
- n (6.6.0)
- Parcel (1.12.4)
- TypeScript (Version 3.9.7)
- Webpack (4.43.0)
- Webpack CLI (3.3.12)
- Yarn (1.22.4)
- Newman (5.1.2)
- Bazel (bazel 3.4.1)
- Bazelisk (1.5.0)
- ORAS CLI 0.8.1
- PhantomJS (2.1.1)
- PHP 5.6 (PHP 5.6.40-29+ubuntu16.04.1+deb.sury.org+1 (cli) )
- PHP 7.0 (PHP 7.0.33-29+ubuntu16.04.1+deb.sury.org+1 (cli) (built: May 14 2020 09:08:44) ( NTS ))
- PHP 7.1 (PHP 7.1.33-16+ubuntu16.04.1+deb.sury.org+1 (cli) (built: May 14 2020 08:26:44) ( NTS ))
- PHP 7.2 (PHP 7.2.32-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 9 2020 16:33:33) ( NTS ))
- PHP 7.3 (PHP 7.3.19-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jun 12 2020 07:48:10) ( NTS ))
- PHP 7.4 (PHP 7.4.8 (cli) (built: Jul 13 2020 16:45:28) ( NTS ))
- Composer (Composer version 1.10.9 2020-07-16 12:57:00)
- PHPUnit (PHPUnit 7.5.20 by Sebastian Bergmann and contributors.)
- Pollinate
- psql (PostgreSQL) 12.3
- Powershell (PowerShell 7.0.3)
- ruby (2.3.1p112)
- gem (3.1.4)
- rustup (1.22.1)
- rust (1.45.0)
- cargo (1.45.0)
- rustfmt (1.4.15-stable)
- clippy (0.0.212)
- rustdoc (1.45.0)
- bindgen (0.54.1)
- cbindgen (0.14.3)
- cargo audit (0.12.0)
- cargo outdated (v0.9.10)
- Julia (julia version 1.4.2)
- sbt (1.3.13)
- Selenium server standalone (available via SELENIUM_JAR_PATH environment variable)
- Sphinx Open Source Search Server
- Subversion (svn, version 1.9.3 (r1718519))
- Terraform (Terraform v0.12.28)
- Packer (1.6.0)
- Vcpkg 2020.06.15-unknownhash
- Vercel CLI (19.1.2)
- MongoDB on Linux (2020-07-17T10:45:19.237+0000 I CONTROL [initandlisten] db version v4.2.8
2020-07-17T10:45:19.237+0000 I CONTROL [initandlisten] git version: 43d25964249164d76d5e04dd6cf38f6111e21f5f
2020-07-17T10:45:19.237+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016)
- Haveged 1.9.1-3
- Google Repository 58
- Google Play services 49
- Google APIs 24
- Google APIs 23
- Google APIs 22
- Google APIs 21
- CMake 3.10.2.4988404
3.6.4111459
- Android 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.3
- Android SDK Platform 30
- Android SDK Platform 29
- Android SDK Platform 28
- Android SDK Platform 27
- Android SDK Platform 26
- Android SDK Platform 25
- Android SDK Platform 24
- Android SDK Platform 23
- Android SDK Platform 22
- Android SDK Platform 21
- Android SDK Platform 19
- Android SDK Platform 17
- Android SDK Platform 15
- Android SDK Platform 10
- Android SDK Patch Applier v4
- Android SDK Build-Tools 30.0.0
- Android SDK Build-Tools 29.0.3
- Android SDK Build-Tools 29.0.2
- Android SDK Build-Tools 29.0.0
- Android SDK Build-Tools 28.0.3
- Android SDK Build-Tools 28.0.2
- Android SDK Build-Tools 28.0.1
- Android SDK Build-Tools 28.0.0
- Android SDK Build-Tools 27.0.3
- Android SDK Build-Tools 27.0.2
- Android SDK Build-Tools 27.0.1
- Android SDK Build-Tools 27.0.0
- Android SDK Build-Tools 26.0.3
- Android SDK Build-Tools 26.0.2
- Android SDK Build-Tools 26.0.1
- Android SDK Build-Tools 26.0.0
- Android SDK Build-Tools 25.0.3
- Android SDK Build-Tools 25.0.2
- Android SDK Build-Tools 25.0.1
- Android SDK Build-Tools 25.0.0
- Android SDK Build-Tools 24.0.3
- Android SDK Build-Tools 24.0.2
- Android SDK Build-Tools 24.0.1
- Android SDK Build-Tools 24.0.0
- Android SDK Build-Tools 23.0.3
- Android SDK Build-Tools 23.0.2
- Android SDK Build-Tools 23.0.1
- Android SDK Build-Tools 22.0.1
- Android SDK Build-Tools 21.1.2
- Android SDK Build-Tools 20.0.0
- Android SDK Build-Tools 19.1.0
- Android SDK Build-Tools 17.0.0
- Android NDK 21.3.6528147
- Android ConstraintLayout 1.0.2
- Android ConstraintLayout 1.0.1
- Az Module (1.0.0)
- Az Module (1.6.0)
- Az Module (2.3.2)
- Az Module (2.6.0)
- Az Module (2.8.0)
- Az Module (3.1.0)
- Az Module (3.5.0)
- Az Module (3.8.0)
- Az Module (4.3.0)
- Cached container images
- node:12-alpine (Digest: sha256:1660c1b9d3fd9711eb9936e66d4656954cd14b0d2b23a2185c39587dad0239b4)
- node:12 (Digest: sha256:1e17e0fdecf65b7b86e50875ad5f11ae181a8d0351806babd61b332bc32a2c15)
- jekyll/builder:latest (Digest: sha256:98cda359955f25f18c4bcc78536cdfd30e7ded689b1f52fcd513c75cbe4e751e)
- node:10 (Digest: sha256:f9e66964ec6e9a78693929b58b3d95aadf03cc70e47f6d276d1e0943853c2bb5)
- buildpack-deps:stretch (Digest: sha256:23c6d55a4d5ad7c9476638196920d67a97702433b5b48465496af6ab3214e7e4)
- debian:9 (Digest: sha256:c6c98a905e230d779a92e6a329ff7ecad13b8ee0d21da8b013cee0df7e91c170)
- debian:8 (Digest: sha256:38a0be899b925afb5524130771850d3d8dd00619a6b50171cab4fab7d7ae8108)
- node:10-alpine (Digest: sha256:177cdb2546eb321b7127aa1c45353c5b778959c9e30da29570ff85098786d776)
- alpine:3.9 (Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011)
- alpine:3.10 (Digest: sha256:f0e9534a598e501320957059cb2a23774b4d4072e37c7b2cf7e95b241f019e35)
- alpine:3.8 (Digest: sha256:2bb501e6173d9d006e56de5bce2720eb06396803300fe1687b58a7ff32bf4c14)
- ubuntu:14.04 (Digest: sha256:ffc76f71dd8be8c9e222d420dc96901a07b61616689a44c7b3ef6a10b7213de4)
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
- Ruby:
- Ruby 2.4.10
- Ruby 2.5.8
- Ruby 2.6.6
- Ruby 2.7.1
- Python (Python 2.7.12)
- pip (pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7))
- Python3 (Python 3.5.2)
- pip3 (pip 8.1.1 from /usr/lib/python3/dist-packages (python 3.5))
- Python:
- Python 2.7.18
- Python 3.5.9
- Python 3.6.11
- Python 3.7.8
- Python 3.8.3
- PyPy:
- PyPy 2.7.13 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- PyPy 3.6.9 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- node:
- node 8.17.0
- node 10.21.0
- node 12.18.2
- node 14.5.0
- go:
- go 1.11.13
- go 1.12.17
- go 1.13.12
- go 1.14.4
- boost:
- boost 1.69.0
- boost 1.72.0
- AWS SAM CLI, version 0.53.0
- Homebrew on Linux (Homebrew 2.4.7
Homebrew/linuxbrew-core (git revision 13cb0b; last commit 2020-07-17))
-351
View File
@@ -1,351 +0,0 @@
<!--- DO NOT EDIT - This markdown file is autogenerated. -->
# Ubuntu 18.04.4 LTS
The following software is installed on machines with the 20200717.1 update.
***
- 7-Zip 16.02
- Ansible (ansible 2.9.10)
- AzCopy7 (available by azcopy alias) 7.3.0
- AzCopy10 (available by azcopy10 alias) 10.5.0
- Azure CLI (azure-cli 2.9.1)
- Azure CLI (azure-devops 0.18.0)
- Basic packages:
- dnsutils
- iproute2
- iputils-ping
- libunwind8
- locales
- openssh-client
- tzdata
- upx
- zstd
- libxkbfile-dev
- pkg-config
- libsecret-1-dev
- libxss1
- libgconf-2-4
- dbus
- xvfb
- libgbm-dev
- libgtk-3-0
- tk
- fakeroot
- dpkg
- rpm
- xz-utils
- xorriso
- zsync
- gnupg2
- lib32z1
- texinfo
- libsqlite3-dev
- curl
- file
- ftp
- jq
- netcat
- ssh
- parallel
- rsync
- shellcheck
- sudo
- telnet
- time
- unzip
- zip
- wget
- m4
- bison
- flex
- patchelf
- bzip2
- sqlite3
- libcurl3
- Alibaba Cloud CLI (3.0.53)
- AWS CLI (aws-cli/1.18.99 Python/2.7.17 Linux/5.3.0-1032-azure botocore/1.17.22)
- AWS CLI Session manager plugin (1.1.61.0)
- build-essential
- Clang 6.0 (6.0.0)
- Clang 8 (8.0.0)
- Clang 9 (9.0.0)
- Swift version 5.2.4 (swift-5.2.4-RELEASE)
Target: x86_64-unknown-linux-gnu
- CMake (cmake version 3.17.0)
- Podman (2.0.2)
- Buildah (1.14.9)
- Skopeo (1.1.0)
- Docker Compose (docker-compose version 1.26.2, build eefe0d31)
- Docker-Moby (Docker version 19.03.12+azure, build 0ed913b885c8919944a2e4c8d0b80a318a8dd48b)
- Docker-Buildx (0.4.1+azure)
- .NET Core SDK:
- 3.1.302
- 3.1.301
- 3.1.300
- 3.1.202
- 3.1.201
- 3.1.200
- 3.1.106
- 3.1.105
- 3.1.104
- 3.1.103
- 3.1.102
- 3.1.101
- 3.1.100
- 3.0.103
- 3.0.102
- 3.0.101
- 3.0.100
- 2.1.808
- 2.1.807
- 2.1.806
- 2.1.805
- 2.1.804
- 2.1.803
- 2.1.802
- 2.1.801
- 2.1.701
- 2.1.700
- 2.1.613
- 2.1.612
- 2.1.611
- 2.1.610
- 2.1.609
- 2.1.608
- 2.1.607
- 2.1.606
- 2.1.605
- 2.1.604
- 2.1.603
- 2.1.602
- 2.1.516
- 2.1.515
- 2.1.514
- 2.1.513
- 2.1.512
- 2.1.511
- 2.1.510
- 2.1.509
- 2.1.508
- 2.1.507
- 2.1.506
- 2.1.505
- 2.1.504
- 2.1.503
- 2.1.502
- 2.1.500
- 2.1.403
- 2.1.402
- 2.1.401
- 2.1.302
- 2.1.301
- 2.1.300
- Erlang (Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 11.0.2)
- Firefox (Mozilla Firefox 78.0.2)
- Geckodriver (0.26.0); Gecko Driver is available via GECKOWEBDRIVER environment variable
- GNU C++ 7.5.0
- GNU C++ 8.4.0
- GNU C++ 9.3.0
- GNU Fortran 8.4.0
- GNU Fortran 9.3.0
- Git (2.27.0)
- Git Large File Storage (LFS) (2.11.0)
- Git-ftp (1.3.1)
- Hub CLI (2.14.2)
- GitHub CLI 0.11.0
- Google Chrome (Google Chrome 84.0.4147.89 )
- ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}); Chrome Driver is available via CHROMEWEBDRIVER environment variable
- Google Cloud SDK (301.0.0)
- Haskell Cabal (cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library )
- GHC (The Glorious Glasgow Haskell Compilation System, version 8.6.5)
- 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.3.1, Git revision de2a7b694f07de7e6cf17f8c92338c16286b2878 (8103 commits) x86_64 hpack-0.33.0)
- Heroku (heroku/7.42.4 linux-x64 node-v12.16.2)
- HHVM (HipHop VM 4.66.1 (rel))
- ImageMagick
- Azul Zulu OpenJDK:
- 7 (openjdk version "1.7.0_272")
- Adopt OpenJDK:
- 8 (openjdk version "1.8.0_262") (default)
- 11 (openjdk version "11.0.8" 2020-07-14)
- 12 (openjdk version "12.0.2" 2019-07-16)
- Ant (Apache Ant(TM) version 1.10.5 compiled on March 28 2019)
- Gradle 6.5.1
- Maven (Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f))
- Kind (kind v0.8.1 go1.14.2 linux/amd64)
- kubectl (Client Version: v1.18.6)
- helm (v3.2.4+g0ad800e)
- minikube version: v1.12.0
- oc CLI Client Version: 4.5.0-202005291417-9933eb9
- Leiningen (Leiningen 2.9.4 on Java 1.8.0_262 OpenJDK 64-Bit Server VM)
- Mercurial (Mercurial Distributed SCM (version 4.5.3))
- Miniconda (conda 4.8.3)
- Mono (Mono JIT compiler version 6.10.0.104 (tarball Fri Jun 26 19:38:24 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'
- nvm (0.35.3)
- Node.js (v12.18.2)
- Grunt (grunt-cli v1.3.2)
- Gulp (CLI version: 2.3.0
Local version: Unknown)
- n (6.6.0)
- Parcel (1.12.4)
- TypeScript (Version 3.9.7)
- Webpack (4.43.0)
- Webpack CLI (3.3.12)
- Yarn (1.22.4)
- Newman (5.1.2)
- Bazel (bazel 3.4.1)
- Bazelisk (1.5.0)
- ORAS CLI 0.8.1
- PhantomJS (2.1.1)
- PHP 7.1 (PHP 7.1.33-16+ubuntu18.04.1+deb.sury.org+1 (cli) (built: May 14 2020 08:27:11) ( NTS ))
- PHP 7.2 (PHP 7.2.32-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Jul 9 2020 16:33:55) ( NTS ))
- PHP 7.3 (PHP 7.3.20-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Jul 9 2020 16:34:09) ( NTS ))
- PHP 7.4 (PHP 7.4.8 (cli) (built: Jul 13 2020 16:45:47) ( NTS ))
- Composer (Composer version 1.10.9 2020-07-16 12:57:00)
- PHPUnit (PHPUnit 7.5.20 by Sebastian Bergmann and contributors.)
- Pollinate
- psql (PostgreSQL) 12.3
- Powershell (PowerShell 7.0.3)
- ruby (2.5.1p57)
- gem (3.1.4)
- rustup (1.22.1)
- rust (1.45.0)
- cargo (1.45.0)
- rustfmt (1.4.15-stable)
- clippy (0.0.212)
- rustdoc (1.45.0)
- bindgen (0.54.1)
- cbindgen (0.14.3)
- cargo audit (0.12.0)
- cargo outdated (v0.9.10)
- Julia (julia version 1.4.2)
- sbt (1.3.13)
- Selenium server standalone (available via SELENIUM_JAR_PATH environment variable)
- Sphinx Open Source Search Server
- Subversion (svn, version 1.9.7 (r1800392))
- Terraform (Terraform v0.12.28)
- Packer (1.6.0)
- Vcpkg 2020.06.15-unknownhash
- Vercel CLI (19.1.2)
- MongoDB on Linux (2020-07-17T10:52:50.926+0000 I CONTROL [initandlisten] db version v4.2.8
2020-07-17T10:52:50.926+0000 I CONTROL [initandlisten] git version: 43d25964249164d76d5e04dd6cf38f6111e21f5f
2020-07-17T10:52:50.926+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1g 21 Apr 2020)
- Haveged 1.9.1-6
- Google Repository 58
- Google Play services 49
- Google APIs 24
- Google APIs 23
- Google APIs 22
- Google APIs 21
- CMake 3.10.2.4988404
3.6.4111459
- Android Support Repository 47.0.0
- Android SDK Platform-Tools 30.0.3
- Android SDK Platform 30
- Android SDK Platform 29
- Android SDK Platform 28
- Android SDK Platform 27
- Android SDK Platform 26
- Android SDK Platform 25
- Android SDK Platform 24
- Android SDK Platform 23
- Android SDK Platform 22
- Android SDK Platform 21
- Android SDK Platform 19
- Android SDK Platform 17
- Android SDK Patch Applier v4
- Android SDK Build-Tools 30.0.0
- Android SDK Build-Tools 29.0.3
- Android SDK Build-Tools 29.0.2
- Android SDK Build-Tools 29.0.0
- Android SDK Build-Tools 28.0.3
- Android SDK Build-Tools 28.0.2
- Android SDK Build-Tools 28.0.1
- Android SDK Build-Tools 28.0.0
- Android SDK Build-Tools 27.0.3
- Android SDK Build-Tools 27.0.2
- Android SDK Build-Tools 27.0.1
- Android SDK Build-Tools 27.0.0
- Android SDK Build-Tools 26.0.3
- Android SDK Build-Tools 26.0.2
- Android SDK Build-Tools 26.0.1
- Android SDK Build-Tools 26.0.0
- Android SDK Build-Tools 25.0.3
- Android SDK Build-Tools 25.0.2
- Android SDK Build-Tools 25.0.1
- Android SDK Build-Tools 25.0.0
- Android SDK Build-Tools 24.0.3
- Android SDK Build-Tools 24.0.2
- Android SDK Build-Tools 24.0.1
- Android SDK Build-Tools 24.0.0
- Android SDK Build-Tools 23.0.3
- Android SDK Build-Tools 23.0.2
- Android SDK Build-Tools 23.0.1
- Android SDK Build-Tools 22.0.1
- Android SDK Build-Tools 21.1.2
- Android SDK Build-Tools 20.0.0
- Android SDK Build-Tools 19.1.0
- Android SDK Build-Tools 17.0.0
- Android NDK 21.3.6528147
- Az Module (1.0.0)
- Az Module (1.6.0)
- Az Module (2.3.2)
- Az Module (2.6.0)
- Az Module (2.8.0)
- Az Module (3.1.0)
- Az Module (3.5.0)
- Az Module (3.8.0)
- Az Module (4.3.0)
- Cached container images
- node:12-alpine (Digest: sha256:1660c1b9d3fd9711eb9936e66d4656954cd14b0d2b23a2185c39587dad0239b4)
- node:12 (Digest: sha256:1e17e0fdecf65b7b86e50875ad5f11ae181a8d0351806babd61b332bc32a2c15)
- jekyll/builder:latest (Digest: sha256:98cda359955f25f18c4bcc78536cdfd30e7ded689b1f52fcd513c75cbe4e751e)
- node:10 (Digest: sha256:f9e66964ec6e9a78693929b58b3d95aadf03cc70e47f6d276d1e0943853c2bb5)
- buildpack-deps:stretch (Digest: sha256:23c6d55a4d5ad7c9476638196920d67a97702433b5b48465496af6ab3214e7e4)
- debian:9 (Digest: sha256:c6c98a905e230d779a92e6a329ff7ecad13b8ee0d21da8b013cee0df7e91c170)
- debian:8 (Digest: sha256:38a0be899b925afb5524130771850d3d8dd00619a6b50171cab4fab7d7ae8108)
- node:10-alpine (Digest: sha256:177cdb2546eb321b7127aa1c45353c5b778959c9e30da29570ff85098786d776)
- alpine:3.9 (Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011)
- alpine:3.10 (Digest: sha256:f0e9534a598e501320957059cb2a23774b4d4072e37c7b2cf7e95b241f019e35)
- alpine:3.8 (Digest: sha256:2bb501e6173d9d006e56de5bce2720eb06396803300fe1687b58a7ff32bf4c14)
- ubuntu:14.04 (Digest: sha256:ffc76f71dd8be8c9e222d420dc96901a07b61616689a44c7b3ef6a10b7213de4)
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
- Ruby:
- Ruby 2.4.10
- Ruby 2.5.8
- Ruby 2.6.6
- Ruby 2.7.1
- Python (Python 2.7.17)
- pip (pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7))
- Python3 (Python 3.6.9)
- pip3 (pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6))
- Python:
- Python 2.7.18
- Python 3.5.9
- Python 3.6.11
- Python 3.7.8
- Python 3.8.3
- PyPy:
- PyPy 2.7.13 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- PyPy 3.6.9 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- node:
- node 8.17.0
- node 10.21.0
- node 12.18.2
- node 14.5.0
- go:
- go 1.11.13
- go 1.12.17
- go 1.13.12
- go 1.14.4
- boost:
- boost 1.69.0
- boost 1.72.0
- AWS SAM CLI, version 0.53.0
- Homebrew on Linux (Homebrew 2.4.7
Homebrew/linuxbrew-core (git revision 13cb0b; last commit 2020-07-17))
+372
View File
@@ -0,0 +1,372 @@
| 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-1065-azure
- Image Version: 20220111.1
## Installed Software
### Language and Runtime
- Bash 4.4.20(1)-release
- Clang 9.0.0
- Clang-format 9.0.0
- Erlang 24.1.7 (Eshell 12.1.5)
- 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.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.2
- Perl 5.26.1
- Python 2.7.17
- Python3 3.6.9
- Ruby 2.5.1p57
- Swift 5.5.2
### Package Management
- cpan 1.64
- Helm 3.7.2
- Homebrew 3.3.10
- Miniconda 4.10.3
- Npm 8.1.2
- Pip 9.0.1
- Pip3 9.0.1
- Pipx 1.0.0
- RubyGems 2.7.6
- Vcpkg (build from master \<b8b1217bd>)
- Yarn 1.22.17
#### Environment variables
| Name | Value |
| ----------------------- | ---------------------- |
| CONDA | /usr/share/miniconda |
| VCPKG_INSTALLATION_ROOT | /usr/local/share/vcpkg |
### Project Management
- Ant 1.10.5
- Gradle 7.3.3
- Maven 3.8.4
- Sbt 1.6.1
### Tools
- Ansible 2.11.7
- apt-fast 1.9.11
- AzCopy 10.13.0 (available by `azcopy` and `azcopy10` aliases)
- Bazel 4.2.2
- Bazelisk 1.11.0
- Bicep 0.4.1124
- Buildah 1.19.6 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- CMake 3.22.1
- CodeQL Action Bundle 2.7.3
- Docker Compose v1 1.29.2
- Docker Compose v2 2.2.2+azure-1
- Docker-Buildx 0.7.1
- Docker-Moby Client 20.10.11+azure-3
- Docker-Moby Server 20.10.11+azure-3
- Git 2.34.1 (apt source repository: ppa:git-core/ppa)
- Git LFS 3.0.2 (apt source repository: https://packagecloud.io/install/repositories/github/git-lfs)
- Git-ftp 1.3.1
- Haveged 1.9.1
- Heroku 7.59.2
- HHVM (HipHop VM) 4.143.0
- jq 1.5
- Kind 0.11.1
- Kubectl 1.23.1
- Kustomize 4.4.1
- Leiningen 2.9.8
- MediaInfo 17.12
- Mercurial 4.5.3
- Minikube 1.24.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.1.1
- PhantomJS 2.1.1
- Podman 3.0.1 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- 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.3
- yamllint 1.26.3
- yq 4.16.2
- zstd 1.5.1 (homebrew)
### CLI Tools
- Alibaba Cloud CLI 3.0.102
- 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.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.6.21
- OpenShift CLI 4.9.13
- ORAS CLI 0.12.0
- Vercel CLI 23.1.2
### Java
| Version | Vendor | Environment Variable |
| ------------------- | ------------- | -------------------- |
| 8.0.292+1 (default) | Adopt OpenJDK | JAVA_HOME_8_X64 |
| 11.0.11+9 | Adopt OpenJDK | JAVA_HOME_11_X64 |
| 12.0.2+10 | Adopt OpenJDK | JAVA_HOME_12_X64 |
### PHP
| Tool | Version |
| -------- | ---------------------------------------- |
| 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.
```
### Haskell
- Cabal 3.6.2.0
- GHC 9.2.1
- GHCup 0.1.17.4
- Stack 2.7.3
### Rust Tools
- Cargo 1.57.0
- Rust 1.57.0
- Rustdoc 1.57.0
- Rustup 1.24.3
#### Packages
- Bindgen 0.59.2
- Cargo audit 0.16.0
- Cargo clippy 0.1.57
- Cargo outdated 0.10.2
- Cbindgen 0.20.0
- Rustfmt 1.4.37
### Browsers and Drivers
- Google Chrome 97.0.4692.71
- ChromeDriver 97.0.4692.71
- Mozilla Firefox 95.0.1
- Geckodriver 0.30.0
- Chromium 97.0.4692.0
- Selenium server 4.1.0
#### Environment variables
| Name | Value |
| ----------------- | ----------------------------------- |
| CHROMEWEBDRIVER | /usr/local/share/chrome_driver |
| GECKOWEBDRIVER | /usr/local/share/gecko_driver |
| SELENIUM_JAR_PATH | /usr/share/java/selenium-server.jar |
### .NET Core SDK
- 2.1.302 2.1.403 2.1.526 2.1.617 2.1.701 2.1.818 3.1.120 3.1.202 3.1.302 3.1.416 5.0.104 5.0.210 5.0.303 5.0.404
### Databases
- MongoDB 5.0.5 (apt source repository: https://repo.mongodb.org/apt/ubuntu)
- PostgreSQL 14.1 (apt source repository: https://apt.postgresql.org/pub/repos/apt/)
- sqlite3 3.22.0
#### MySQL
- MySQL 5.7.36
- MySQL Server (user:root password:root)
```
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'
```
#### MS SQL Server Client Tools
- sqlcmd 17.8.0001.1
- SqlPackage 15.0.5282.3
### Cached Tools
#### Go
- 1.15.15
- 1.16.13
- 1.17.6
#### Node.js
- 12.22.9
- 14.18.3
- 16.13.2
#### PyPy
- 2.7.18 [PyPy 7.3.6]
- 3.6.12 [PyPy 7.3.3]
#### Python
- 2.7.18
- 3.5.10
- 3.6.15
- 3.7.12
- 3.8.12
- 3.9.9
- 3.10.1
#### Ruby
- 2.4.10
- 2.5.9
- 2.6.9
- 2.7.5
- 3.0.3
#### Environment variables
| Name | Value | Architecture |
| --------------- | ----------------------------------- | ------------ |
| GOROOT_1_15_X64 | /opt/hostedtoolcache/go/1.15.15/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
#### PowerShell Modules
| Module | Version |
| ---------- | ------- |
| MarkdownPS | 1.9 |
| Pester | 5.3.1 |
#### Az PowerShell Modules
- 6.4.0 3.1.0.zip 4.4.0.zip 5.9.0.zip
### Web Servers
| Name | Version | ConfigFile | ServiceStatus | ListenPort |
| ------- | ------- | ------------------------- | ------------- | ---------- |
| apache2 | 2.4.29 | /etc/apache2/apache2.conf | inactive | 80 |
| nginx | 1.14.0 | /etc/nginx/nginx.conf | inactive | 80 |
### Android
| Package Name | Version |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Android Command Line Tools | 4.0 |
| Android Emulator | 31.1.4 |
| Android SDK Build-tools | 32.0.0<br>31.0.0<br>30.0.0 30.0.1 30.0.2 30.0.3<br>29.0.0 29.0.1 29.0.2 29.0.3<br>28.0.0 28.0.1 28.0.2 28.0.3<br>27.0.0 27.0.1 27.0.2 27.0.3<br>26.0.0 26.0.1 26.0.2 26.0.3<br>25.0.0 25.0.1 25.0.2 25.0.3<br>24.0.0 24.0.1 24.0.2 24.0.3<br>23.0.1 23.0.2 23.0.3 |
| Android SDK Platform-Tools | 31.0.3 |
| Android SDK Platforms | android-32 (rev 1)<br>android-31 (rev 1)<br>android-30 (rev 3)<br>android-29 (rev 5)<br>android-28 (rev 6)<br>android-27 (rev 3)<br>android-26 (rev 2)<br>android-25 (rev 3)<br>android-24 (rev 2)<br>android-23 (rev 3) |
| Android SDK Tools | 26.1.1 |
| Android Support Repository | 47.0.0 |
| CMake | 3.10.2<br>3.18.1 |
| Google APIs | addon-google_apis-google-21<br>addon-google_apis-google-22<br>addon-google_apis-google-23<br>addon-google_apis-google-24 |
| Google Play services | 49 |
| Google Repository | 58 |
| NDK | 21.4.7075529 (default)<br>23.1.7779620 |
| SDK Patch Applier v4 | 1 |
#### Environment variables
| Name | Value |
| ----------------------- | ------------------------------------------------------------------------------------ |
| ANDROID_HOME | /usr/local/lib/android/sdk |
| ANDROID_NDK_HOME | /usr/local/lib/android/sdk/ndk-bundle -> /usr/local/lib/android/sdk/ndk/21.4.7075529 |
| ANDROID_NDK_LATEST_HOME | /usr/local/lib/android/sdk/ndk/23.1.7779620 |
| ANDROID_NDK_ROOT | /usr/local/lib/android/sdk/ndk-bundle -> /usr/local/lib/android/sdk/ndk/21.4.7075529 |
| ANDROID_SDK_ROOT | /usr/local/lib/android/sdk |
### Cached Docker images
| Repository:Tag | Digest | Created |
| ----------------------- | ------------------------------------------------------------------------ | ---------- |
| 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: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: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:37b7471c1945a2a12e5a57488ee4e3e216a8369d0b9ee1ec2e41db9c2c1e3d22 | 2022-01-07 |
| ubuntu:20.04 | sha256:b5a61709a9a44284d88fb12e5c48db0409cfad5b69d4ff8224077c57302df9cf | 2022-01-07 |
### Installed apt packages
| Name | Version |
| ----------------- | --------------------------------- |
| aria2 | 1.33.1-1 |
| binutils | 2.30-21ubuntu1\~18.04.7 |
| bison | 2:3.0.4.dfsg-1build1 |
| brotli | 1.0.3-1ubuntu1.3 |
| build-essential | 12.4ubuntu1 |
| bzip2 | 1.0.6-8.1ubuntu0.2 |
| coreutils | 8.28-1ubuntu1 |
| curl | 7.58.0-2ubuntu3.16 |
| dbus | 1.12.2-1ubuntu1.2 |
| dnsutils | 1:9.11.3+dfsg-1ubuntu1.16 |
| dpkg | 1.19.0.5ubuntu2.3 |
| fakeroot | 1.22-2ubuntu1 |
| file | 1:5.32-2ubuntu0.4 |
| flex | 2.6.4-6 |
| ftp | 0.17-34 |
| gnupg2 | 2.2.4-1ubuntu1.4 |
| haveged | 1.9.1-6 |
| imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.12 |
| iproute2 | 4.15.0-2ubuntu1.3 |
| iputils-ping | 3:20161105-1ubuntu3 |
| jq | 1.5+dfsg-2 |
| lib32z1 | 1:1.2.11.dfsg-0ubuntu2 |
| libc++-dev | 6.0-2 |
| libc++abi-dev | 6.0-2 |
| libcurl3 | 7.58.0-2ubuntu3.16 |
| libgbm-dev | 20.0.8-0ubuntu1\~18.04.1 |
| libgconf-2-4 | 3.2.6-4ubuntu1 |
| libgsl-dev | 2.4+dfsg-6 |
| libgtk-3-0 | 3.22.30-1ubuntu4 |
| libmagic-dev | 1:5.32-2ubuntu0.4 |
| libmagickcore-dev | 8:6.9.7.4+dfsg-16ubuntu6.12 |
| libmagickwand-dev | 8:6.9.7.4+dfsg-16ubuntu6.12 |
| libsecret-1-dev | 0.18.6-1 |
| libsqlite3-dev | 3.22.0-1ubuntu0.4 |
| libunwind8 | 1.2.1-8 |
| libxkbfile-dev | 1:1.0.9-2 |
| libxss1 | 1:1.2.2-1 |
| locales | 2.27-3ubuntu1.4 |
| m4 | 1.4.18-1 |
| mediainfo | 17.12-1 |
| mercurial | 4.5.3-1ubuntu2.2 |
| net-tools | 1.60+git20161116.90da8a0-1ubuntu1 |
| netcat | 1.10-41.1 |
| openssh-client | 1:7.6p1-4ubuntu0.5 |
| p7zip-full | 16.02+dfsg-6 |
| p7zip-rar | 16.02-2 |
| parallel | 20161222-1 |
| pass | 1.7.1-3 |
| patchelf | 0.9-1 |
| pkg-config | 0.29.1-0ubuntu2 |
| pollinate | 4.33-0ubuntu1\~18.04.2 |
| python-setuptools | 39.0.1-2 |
| rpm | 4.14.1+dfsg1-2 |
| rsync | 3.1.2-2.1ubuntu1.2 |
| shellcheck | 0.4.6-1 |
| sphinxsearch | 2.2.11-2 |
| sqlite3 | 3.22.0-1ubuntu0.4 |
| ssh | 1:7.6p1-4ubuntu0.5 |
| sshpass | 1.06-1 |
| subversion | 1.9.7-4ubuntu1 |
| sudo | 1.8.21p2-3ubuntu1.4 |
| swig | 3.0.12-1 |
| telnet | 0.17-41 |
| texinfo | 6.5.0.dfsg.1-2 |
| time | 1.7-25.1build1 |
| tk | 8.6.0+9 |
| tzdata | 2021e-0ubuntu0.18.04 |
| unzip | 6.0-21ubuntu1.1 |
| upx | 3.94-4 |
| wget | 1.19.4-1ubuntu2.2 |
| xorriso | 1.4.8-3 |
| xvfb | 2:1.19.6-1ubuntu4.10 |
| xz-utils | 5.2.2-1.3 |
| zip | 3.0-11build1 |
| zsync | 0.6.2-3ubuntu1 |
-296
View File
@@ -1,296 +0,0 @@
<!--- DO NOT EDIT - This markdown file is autogenerated. -->
# Ubuntu 20.04 LTS
The following software is installed on machines with the 20200717.1 update.
***
- 7-Zip 16.02
- Ansible (ansible 2.9.6)
- AzCopy7 (available by azcopy alias) 7.3.0
- AzCopy10 (available by azcopy10 alias) 10.5.0
- Azure CLI (azure-cli 2.9.1)
- Azure CLI (azure-devops 0.18.0)
- Basic packages:
- dnsutils
- iproute2
- iputils-ping
- libunwind8
- locales
- openssh-client
- tzdata
- upx
- zstd
- libxkbfile-dev
- pkg-config
- libsecret-1-dev
- libxss1
- libgconf-2-4
- dbus
- xvfb
- libgbm-dev
- libgtk-3-0
- tk
- fakeroot
- dpkg
- rpm
- xz-utils
- xorriso
- zsync
- gnupg2
- lib32z1
- texinfo
- libsqlite3-dev
- curl
- file
- ftp
- jq
- netcat
- ssh
- parallel
- rsync
- shellcheck
- sudo
- telnet
- time
- unzip
- zip
- wget
- m4
- bison
- flex
- patchelf
- bzip2
- sqlite3
- libcurl4
- Alibaba Cloud CLI (3.0.53)
- AWS CLI (aws-cli/2.0.31 Python/3.7.3 Linux/5.4.0-1020-azure botocore/2.0.0dev35)
- AWS CLI Session manager plugin (1.1.61.0)
- build-essential
- Clang 6.0 (6.0.1)
- Clang 8 (8.0.1)
- Clang 9 (9.0.1)
- Swift version 5.2.4 (swift-5.2.4-RELEASE)
Target: x86_64-unknown-linux-gnu
- CMake (cmake version 3.17.0)
- Podman (2.0.2)
- Buildah (1.15.0)
- Skopeo (1.1.0)
- Docker Compose (docker-compose version 1.26.2, build eefe0d31)
- Docker-Moby (Docker version 19.03.12+azure, build 0ed913b885c8919944a2e4c8d0b80a318a8dd48b)
- Docker-Buildx (0.4.1+azure)
- .NET Core SDK:
- 3.1.302
- 3.1.301
- 3.1.300
- 3.1.202
- 3.1.201
- 3.1.200
- 3.1.106
- 3.1.105
- 3.1.104
- 3.1.103
- 3.1.102
- 3.1.101
- 3.1.100
- 2.1.808
- 2.1.807
- 2.1.806
- 2.1.805
- 2.1.804
- 2.1.803
- 2.1.802
- 2.1.801
- 2.1.701
- 2.1.700
- 2.1.613
- 2.1.612
- 2.1.611
- 2.1.610
- 2.1.609
- 2.1.608
- 2.1.607
- 2.1.606
- 2.1.605
- 2.1.604
- 2.1.603
- 2.1.602
- 2.1.516
- 2.1.515
- 2.1.514
- 2.1.513
- 2.1.512
- 2.1.511
- 2.1.510
- 2.1.509
- 2.1.508
- 2.1.507
- 2.1.506
- 2.1.505
- 2.1.504
- 2.1.503
- 2.1.502
- 2.1.500
- 2.1.403
- 2.1.402
- 2.1.401
- 2.1.302
- 2.1.301
- 2.1.300
- Erlang (Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 11.0.2)
- Firefox (Mozilla Firefox 78.0.2)
- Geckodriver (0.26.0); Gecko Driver is available via GECKOWEBDRIVER environment variable
- GNU C++ 7.5.0
- GNU C++ 8.4.0
- GNU C++ 9.3.0
- GNU Fortran 8.4.0
- GNU Fortran 9.3.0
- Git (2.27.0)
- Git Large File Storage (LFS) (2.11.0)
- Git-ftp (1.6.0)
- Hub CLI (2.14.2)
- GitHub CLI 0.11.0
- Google Chrome (Google Chrome 84.0.4147.89 )
- ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}); Chrome Driver is available via CHROMEWEBDRIVER environment variable
- Google Cloud SDK (301.0.0)
- Haskell Cabal (cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library )
- GHC (The Glorious Glasgow Haskell Compilation System, version 8.6.5)
- 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.3.1, Git revision de2a7b694f07de7e6cf17f8c92338c16286b2878 (8103 commits) x86_64 hpack-0.33.0)
- Heroku (heroku/7.42.4 linux-x64 node-v12.16.2)
- HHVM (HipHop VM 4.66.1 (rel))
- ImageMagick
- Adopt OpenJDK:
- 8 (openjdk version "1.8.0_262")
- 11 (openjdk version "11.0.8" 2020-07-14) (default)
- Ant (Apache Ant(TM) version 1.10.7 compiled on October 24 2019)
- Gradle 6.5.1
- Maven (Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f))
- Kind (kind v0.8.1 go1.14.2 linux/amd64)
- kubectl (Client Version: v1.18.6)
- helm (v3.2.4+g0ad800e)
- minikube version: v1.12.0
- oc CLI Client Version: 4.5.0-202005291417-9933eb9
- Leiningen (Leiningen 2.9.4 on Java 11.0.8 OpenJDK 64-Bit Server VM)
- Mercurial (Mercurial Distributed SCM (version 5.3.1))
- Miniconda (conda 4.8.3)
- Mono (Mono JIT compiler version 6.10.0.104 (tarball Fri Jun 26 19:38:44 UTC 2020))
- MySQL (mysql Ver 8.0.20-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)))
- MySQL Server (user:root password:root)
- MS SQL Server Client Tools
- MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
- nvm (0.35.3)
- Node.js (v12.18.2)
- Grunt (grunt-cli v1.3.2)
- Gulp (CLI version: 2.3.0
Local version: Unknown)
- n (6.6.0)
- Parcel (1.12.4)
- TypeScript (Version 3.9.7)
- Webpack (4.43.0)
- Webpack CLI (3.3.12)
- Yarn (1.22.4)
- Newman (5.1.2)
- Bazel (bazel 3.4.1)
- Bazelisk (1.5.0)
- ORAS CLI 0.8.1
- PhantomJS (2.1.1)
- PHP 7.4 (PHP 7.4.8 (cli) (built: Jul 13 2020 16:46:22) ( NTS ))
> To use ppa:ondrej/php APT repository On Ubuntu 20.04 it is necessary to add it to the APT sources
```
apt-add-repository ppa:ondrej/php -y
apt-get update
```
- Composer (Composer version 1.10.9 2020-07-16 12:57:00)
- PHPUnit (PHPUnit 7.5.20 by Sebastian Bergmann and contributors.)
- Pollinate
- psql (PostgreSQL) 12.3
- Powershell (PowerShell 7.0.3)
- ruby (2.7.0p0)
- gem (3.1.2)
- rustup (1.22.1)
- rust (1.45.0)
- cargo (1.45.0)
- rustfmt (1.4.15-stable)
- clippy (0.0.212)
- rustdoc (1.45.0)
- bindgen (0.54.1)
- cbindgen (0.14.3)
- cargo audit (0.12.0)
- cargo outdated (v0.9.10)
- Julia (julia version 1.4.2)
- sbt (copying runtime jar...
1.3.13)
- Selenium server standalone (available via SELENIUM_JAR_PATH environment variable)
- Sphinx Open Source Search Server
- Subversion (svn, version 1.13.0 (r1867053))
- Terraform (Terraform v0.12.28)
- Packer (1.6.0)
- Vcpkg 2020.06.15-unknownhash
- Vercel CLI (19.1.2)
- Haveged 1.9.1-6ubuntu1
- Google Repository 58
- Google Play services 49
- CMake 3.10.2.4988404
- Android Support Repository 47.0.0
- Android SDK Platform-Tools 30.0.3
- Android SDK Platform 30
- Android SDK Platform 29
- Android SDK Platform 28
- Android SDK Platform 27
- Android SDK Patch Applier v4
- Android SDK Build-Tools 30.0.0
- Android SDK Build-Tools 29.0.3
- Android SDK Build-Tools 29.0.2
- Android SDK Build-Tools 29.0.0
- Android SDK Build-Tools 28.0.3
- Android SDK Build-Tools 28.0.2
- Android SDK Build-Tools 28.0.1
- Android SDK Build-Tools 28.0.0
- Android SDK Build-Tools 27.0.3
- Android SDK Build-Tools 27.0.2
- Android SDK Build-Tools 27.0.1
- Android SDK Build-Tools 27.0.0
- Android NDK 21.3.6528147
- Az Module (4.4.0)
- Cached container images
- node:12-alpine (Digest: sha256:1660c1b9d3fd9711eb9936e66d4656954cd14b0d2b23a2185c39587dad0239b4)
- node:12 (Digest: sha256:1e17e0fdecf65b7b86e50875ad5f11ae181a8d0351806babd61b332bc32a2c15)
- jekyll/builder:latest (Digest: sha256:98cda359955f25f18c4bcc78536cdfd30e7ded689b1f52fcd513c75cbe4e751e)
- node:10 (Digest: sha256:f9e66964ec6e9a78693929b58b3d95aadf03cc70e47f6d276d1e0943853c2bb5)
- buildpack-deps:stretch (Digest: sha256:23c6d55a4d5ad7c9476638196920d67a97702433b5b48465496af6ab3214e7e4)
- debian:9 (Digest: sha256:c6c98a905e230d779a92e6a329ff7ecad13b8ee0d21da8b013cee0df7e91c170)
- debian:8 (Digest: sha256:38a0be899b925afb5524130771850d3d8dd00619a6b50171cab4fab7d7ae8108)
- node:10-alpine (Digest: sha256:177cdb2546eb321b7127aa1c45353c5b778959c9e30da29570ff85098786d776)
- alpine:3.9 (Digest: sha256:414e0518bb9228d35e4cd5165567fb91d26c6a214e9c95899e1e056fcd349011)
- alpine:3.10 (Digest: sha256:f0e9534a598e501320957059cb2a23774b4d4072e37c7b2cf7e95b241f019e35)
- alpine:3.8 (Digest: sha256:2bb501e6173d9d006e56de5bce2720eb06396803300fe1687b58a7ff32bf4c14)
- ubuntu:14.04 (Digest: sha256:ffc76f71dd8be8c9e222d420dc96901a07b61616689a44c7b3ef6a10b7213de4)
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
- Ruby:
- Ruby 2.5.8
- Ruby 2.6.6
- Ruby 2.7.1
- Python (Python 2.7.18rc1)
- pip (pip 20.1.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7))
- Python3 (Python 3.8.2)
- pip3 (pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8))
- Python:
- Python 2.7.18
- Python 3.5.9
- Python 3.6.11
- Python 3.7.8
- Python 3.8.3
- PyPy:
- PyPy 2.7.13 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- PyPy 3.6.9 [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
- node:
- node 8.17.0
- node 10.21.0
- node 12.18.2
- node 14.5.0
- go:
- go 1.14.4
- AWS SAM CLI, version 0.53.0
- Homebrew on Linux (Homebrew 2.4.7
Homebrew/linuxbrew-core (git revision e31d440; last commit 2020-07-17))
+382
View File
@@ -0,0 +1,382 @@
| 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-1025-azure
- Image Version: 20220111.1
## Installed Software
### Language and Runtime
- Bash 5.0.17(1)-release
- 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.18.0
- GNU C++ 9.3.0, 10.3.0
- GNU Fortran 9.3.0, 10.3.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.2
- Perl 5.30.0
- Python 3.8.10
- Python3 3.8.10
- Ruby 2.7.0p0
- Swift 5.5.2
### Package Management
- cpan 1.64
- Helm 3.7.2
- Homebrew 3.3.10
- Miniconda 4.10.3
- Npm 8.1.2
- Pip 20.0.2
- Pip3 20.0.2
- Pipx 1.0.0
- RubyGems 3.1.2
- Vcpkg (build from master \<b8b1217bd>)
- Yarn 1.22.17
#### Environment variables
| Name | Value |
| ----------------------- | ---------------------- |
| CONDA | /usr/share/miniconda |
| VCPKG_INSTALLATION_ROOT | /usr/local/share/vcpkg |
### Project Management
- Ant 1.10.7
- Gradle 7.3.3
- Lerna 4.0.0
- Maven 3.8.4
- Sbt 1.6.1
### Tools
- Ansible 2.12.1
- apt-fast 1.9.11
- AzCopy 10.13.0 (available by `azcopy` and `azcopy10` aliases)
- Bazel 4.2.2
- Bazelisk 1.11.0
- Bicep 0.4.1124
- Buildah 1.21.3 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- CMake 3.22.1
- CodeQL Action Bundle 2.7.3
- Docker Compose v1 1.29.2
- Docker Compose v2 2.2.2+azure-1
- Docker-Buildx 0.7.1
- Docker-Moby Client 20.10.11+azure-3
- Docker-Moby Server 20.10.11+azure-3
- Fastlane 2.199.0
- Git 2.34.1 (apt source repository: ppa:git-core/ppa)
- Git LFS 3.0.2 (apt source repository: https://packagecloud.io/install/repositories/github/git-lfs)
- Git-ftp 1.6.0
- Haveged 1.9.1
- Heroku 7.59.2
- HHVM (HipHop VM) 4.143.0
- jq 1.6
- Kind 0.11.1
- Kubectl 1.23.1
- Kustomize 4.4.1
- Leiningen 2.9.8
- MediaInfo 19.09
- Mercurial 5.3.1
- Minikube 1.24.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.1.1
- PhantomJS 2.1.1
- Podman 3.4.2 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- 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.3
- yamllint 1.26.3
- yq 4.16.2
- zstd 1.5.1 (homebrew)
### CLI Tools
- Alibaba Cloud CLI 3.0.102
- 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.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.6.21
- OpenShift CLI 4.9.13
- ORAS CLI 0.12.0
- Vercel CLI 23.1.2
### Java
| Version | Vendor | Environment Variable |
| ------------------- | ------------- | -------------------- |
| 8.0.292+1 | Adopt OpenJDK | JAVA_HOME_8_X64 |
| 11.0.11+9 (default) | Adopt OpenJDK | JAVA_HOME_11_X64 |
### GraalVM
| Version | Environment variables |
| --------- | --------------------- |
| CE 21.3.0 | GRAALVM_11_ROOT |
### PHP
| Tool | Version |
| -------- | ------------------- |
| 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.
```
### Haskell
- Cabal 3.6.2.0
- GHC 9.2.1
- GHCup 0.1.17.4
- Stack 2.7.3
### Rust Tools
- Cargo 1.57.0
- Rust 1.57.0
- Rustdoc 1.57.0
- Rustup 1.24.3
#### Packages
- Bindgen 0.59.2
- Cargo audit 0.16.0
- Cargo clippy 0.1.57
- Cargo outdated 0.10.2
- Cbindgen 0.20.0
- Rustfmt 1.4.37
### Browsers and Drivers
- Google Chrome 97.0.4692.71
- ChromeDriver 97.0.4692.71
- Mozilla Firefox 95.0.1
- Geckodriver 0.30.0
- Chromium 97.0.4692.0
- Selenium server 4.1.0
#### Environment variables
| Name | Value |
| ----------------- | ----------------------------------- |
| CHROMEWEBDRIVER | /usr/local/share/chrome_driver |
| GECKOWEBDRIVER | /usr/local/share/gecko_driver |
| SELENIUM_JAR_PATH | /usr/share/java/selenium-server.jar |
### .NET Core SDK
- 2.1.302 2.1.403 2.1.526 2.1.617 2.1.701 2.1.818 3.1.120 3.1.202 3.1.302 3.1.416 5.0.104 5.0.210 5.0.303 5.0.404
### Databases
- MongoDB 5.0.5 (apt source repository: https://repo.mongodb.org/apt/ubuntu)
- PostgreSQL 14.1 (apt source repository: https://apt.postgresql.org/pub/repos/apt/)
- sqlite3 3.31.1
#### MySQL
- MySQL 8.0.26
- MySQL Server (user:root password:root)
```
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'
```
#### MS SQL Server Client Tools
- sqlcmd 17.8.0001.1
- SqlPackage 15.0.5282.3
### Cached Tools
#### Go
- 1.15.15
- 1.16.13
- 1.17.6
#### Node.js
- 12.22.9
- 14.18.3
- 16.13.2
#### PyPy
- 2.7.18 [PyPy 7.3.6]
- 3.6.12 [PyPy 7.3.3]
- 3.7.12 [PyPy 7.3.7]
- 3.8.12 [PyPy 7.3.7]
#### Python
- 2.7.18
- 3.5.10
- 3.6.15
- 3.7.12
- 3.8.12
- 3.9.9
- 3.10.1
#### Ruby
- 2.5.9
- 2.6.9
- 2.7.5
- 3.0.3
#### Environment variables
| Name | Value | Architecture |
| --------------- | ----------------------------------- | ------------ |
| GOROOT_1_15_X64 | /opt/hostedtoolcache/go/1.15.15/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
#### PowerShell Modules
| Module | Version |
| ---------------- | ------- |
| MarkdownPS | 1.9 |
| Pester | 5.3.1 |
| PSScriptAnalyzer | 1.20.0 |
#### Az PowerShell Modules
- 6.4.0 3.1.0.zip 4.4.0.zip 5.9.0.zip
### Web Servers
| Name | Version | ConfigFile | ServiceStatus | ListenPort |
| --------- | ------- | ------------------------- | ------------- | ---------- |
| apache2 | 2.4.41 | /etc/apache2/apache2.conf | inactive | 80 |
| mono-xsp4 | 4.7.1 | /etc/default/mono-xsp4 | active | 8084 |
| nginx | 1.18.0 | /etc/nginx/nginx.conf | inactive | 80 |
### Android
| Package Name | Version |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Android Command Line Tools | 4.0 |
| Android Emulator | 31.1.4 |
| Android SDK Build-tools | 32.0.0<br>31.0.0<br>30.0.0 30.0.1 30.0.2 30.0.3<br>29.0.0 29.0.1 29.0.2 29.0.3<br>28.0.0 28.0.1 28.0.2 28.0.3<br>27.0.0 27.0.1 27.0.2 27.0.3 |
| Android SDK Platform-Tools | 31.0.3 |
| Android SDK Platforms | android-32 (rev 1)<br>android-31 (rev 1)<br>android-30 (rev 3)<br>android-29 (rev 5)<br>android-28 (rev 6)<br>android-27 (rev 3) |
| Android SDK Tools | 26.1.1 |
| Android Support Repository | 47.0.0 |
| CMake | 3.10.2<br>3.18.1 |
| Google Play services | 49 |
| Google Repository | 58 |
| NDK | 21.4.7075529 (default)<br>22.1.7171670<br>23.1.7779620 |
| SDK Patch Applier v4 | 1 |
#### Environment variables
| Name | Value |
| ----------------------- | ------------------------------------------------------------------------------------ |
| ANDROID_HOME | /usr/local/lib/android/sdk |
| ANDROID_NDK_HOME | /usr/local/lib/android/sdk/ndk-bundle -> /usr/local/lib/android/sdk/ndk/21.4.7075529 |
| ANDROID_NDK_LATEST_HOME | /usr/local/lib/android/sdk/ndk/23.1.7779620 |
| ANDROID_NDK_ROOT | /usr/local/lib/android/sdk/ndk-bundle -> /usr/local/lib/android/sdk/ndk/21.4.7075529 |
| ANDROID_SDK_ROOT | /usr/local/lib/android/sdk |
### Cached Docker images
| Repository:Tag | Digest | Created |
| ----------------------- | ------------------------------------------------------------------------ | ---------- |
| 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: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: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:37b7471c1945a2a12e5a57488ee4e3e216a8369d0b9ee1ec2e41db9c2c1e3d22 | 2022-01-07 |
| ubuntu:20.04 | sha256:b5a61709a9a44284d88fb12e5c48db0409cfad5b69d4ff8224077c57302df9cf | 2022-01-07 |
### Installed apt packages
| Name | Version |
| ---------------------- | --------------------------------- |
| acl | 2.2.53-6 |
| aria2 | 1.35.0-1build1 |
| binutils | 2.34-6ubuntu1.3 |
| bison | 2:3.5.1+dfsg-1 |
| brotli | 1.0.7-6ubuntu0.1 |
| build-essential | 12.8ubuntu1.1 |
| bzip2 | 1.0.8-2 |
| coreutils | 8.30-3ubuntu2 |
| curl | 7.68.0-1ubuntu2.7 |
| dbus | 1.12.16-2ubuntu2.1 |
| dnsutils | 1:9.16.1-0ubuntu2.9 |
| dpkg | 1.19.7ubuntu3 |
| fakeroot | 1.24-1 |
| file | 1:5.38-4 |
| flex | 2.6.4-6.2 |
| fonts-noto-color-emoji | 0\~20200916-1\~ubuntu20.04.1 |
| ftp | 0.17-34.1 |
| gnupg2 | 2.2.19-3ubuntu2.1 |
| haveged | 1.9.1-6ubuntu1 |
| imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.4 |
| iproute2 | 5.5.0-1ubuntu1 |
| iputils-ping | 3:20190709-3 |
| jq | 1.6-1ubuntu0.20.04.1 |
| lib32z1 | 1:1.2.11.dfsg-2ubuntu1.2 |
| libc++-dev | 1:10.0-50\~exp1 |
| libc++abi-dev | 1:10.0-50\~exp1 |
| libcurl4 | 7.68.0-1ubuntu2.7 |
| libgbm-dev | 21.0.3-0ubuntu0.3\~20.04.5 |
| libgconf-2-4 | 3.2.6-6ubuntu1 |
| libgsl-dev | 2.5+dfsg-6build1 |
| libgtk-3-0 | 3.24.20-0ubuntu1 |
| libmagic-dev | 1:5.38-4 |
| libmagickcore-dev | 8:6.9.10.23+dfsg-2.1ubuntu11.4 |
| libmagickwand-dev | 8:6.9.10.23+dfsg-2.1ubuntu11.4 |
| libsecret-1-dev | 0.20.4-0ubuntu1 |
| libsqlite3-dev | 3.31.1-4ubuntu0.2 |
| libunwind8 | 1.2.1-9build1 |
| libxkbfile-dev | 1:1.1.0-1 |
| libxss1 | 1:1.2.3-1 |
| locales | 2.31-0ubuntu9.2 |
| m4 | 1.4.18-4 |
| mediainfo | 19.09-1build1 |
| mercurial | 5.3.1-1ubuntu1 |
| net-tools | 1.60+git20180626.aebd88e-1ubuntu1 |
| netcat | 1.206-1ubuntu1 |
| openssh-client | 1:8.2p1-4ubuntu0.4 |
| p7zip-full | 16.02+dfsg-7build1 |
| p7zip-rar | 16.02-3build1 |
| parallel | 20161222-1.1 |
| pass | 1.7.3-2 |
| patchelf | 0.10-2build1 |
| pkg-config | 0.29.1-0ubuntu4 |
| pollinate | 4.33-3ubuntu1.20.04.1 |
| python-is-python3 | 3.8.2-4 |
| rpm | 4.14.2.1+dfsg1-1build2 |
| rsync | 3.1.3-8ubuntu0.1 |
| shellcheck | 0.7.0-2build2 |
| sphinxsearch | 2.2.11-2ubuntu2 |
| sqlite3 | 3.31.1-4ubuntu0.2 |
| ssh | 1:8.2p1-4ubuntu0.4 |
| sshpass | 1.06-1 |
| subversion | 1.13.0-3 |
| sudo | 1.8.31-1ubuntu1.2 |
| swig | 4.0.1-5build1 |
| telnet | 0.17-41.2build1 |
| texinfo | 6.7.0.dfsg.2-5 |
| time | 1.7-25.1build1 |
| tk | 8.6.9+1 |
| tzdata | 2021e-0ubuntu0.20.04 |
| unzip | 6.0-25ubuntu1 |
| upx | 3.95-2build1 |
| wget | 1.20.3-1ubuntu2 |
| xorriso | 1.5.2-1 |
| xvfb | 2:1.20.13-1ubuntu1\~20.04.2 |
| xz-utils | 5.2.4-1ubuntu1 |
| zip | 3.0-11build1 |
| zsync | 0.6.2-3ubuntu1 |
-2
View File
@@ -1,2 +0,0 @@
# Name of the pool supported by this image
POOL_NAME="Ubuntu 1604"
@@ -0,0 +1,14 @@
#!/bin/bash
# journalctl
if command -v journalctl; then
journalctl --rotate
journalctl --vacuum-time=1s
fi
# delete all .gz and rotated file
find /var/log -type f -regex ".*\.gz$" -delete
find /var/log -type f -regex ".*\.[0-9]$" -delete
# wipe log files
find /var/log/ -type f -exec cp /dev/null {} \;
@@ -0,0 +1,6 @@
#!/bin/bash
# Replace $HOME with the default user's home directory for environmental variables related to the default user home directory
homeDir=$(cut -d: -f6 /etc/passwd | tail -1)
sed -i "s|\$HOME|$homeDir|g" /etc/environment
@@ -0,0 +1,178 @@
function Split-TableRowByColumns {
param(
[string] $Row
)
return $Row.Split("|") | ForEach-Object { $_.trim() }
}
function Get-AndroidSDKRoot {
return "/usr/local/lib/android/sdk"
}
function Get-AndroidSDKManagerPath {
$androidSDKDir = Get-AndroidSDKRoot
return Join-Path $androidSDKDir "cmdline-tools" "latest" "bin" "sdkmanager"
}
function Get-AndroidInstalledPackages {
$androidSDKManagerPath = Get-AndroidSDKManagerPath
$androidSDKManagerList = Invoke-Expression "$androidSDKManagerPath --list_installed --include_obsolete"
return $androidSDKManagerList
}
function Build-AndroidTable {
$packageInfo = Get-AndroidInstalledPackages
return @(
@{
"Package" = "Android Command Line Tools"
"Version" = Get-AndroidCommandLineToolsVersion
},
@{
"Package" = "Android Emulator"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Android Emulator"
},
@{
"Package" = "Android SDK Build-tools"
"Version" = Get-AndroidBuildToolVersions -PackageInfo $packageInfo
},
@{
"Package" = "Android SDK Platform-Tools"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Android SDK Platform-Tools"
},
@{
"Package" = "Android SDK Platforms"
"Version" = Get-AndroidPlatformVersions -PackageInfo $packageInfo
},
@{
"Package" = "Android SDK Tools"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Android SDK Tools"
},
@{
"Package" = "Android Support Repository"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Android Support Repository"
},
@{
"Package" = "CMake"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "cmake"
},
@{
"Package" = "Google APIs"
"Version" = Get-AndroidGoogleAPIsVersions -PackageInfo $packageInfo
},
@{
"Package" = "Google Play services"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Google Play services"
},
@{
"Package" = "Google Repository"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Google Repository"
},
@{
"Package" = "NDK"
"Version" = Get-AndroidNDKVersions
},
@{
"Package" = "SDK Patch Applier v4"
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "SDK Patch Applier v4"
}
) | Where-Object { $_.Version } | ForEach-Object {
[PSCustomObject] @{
"Package Name" = $_.Package
"Version" = $_.Version
}
}
}
function Get-AndroidPackageVersions {
param (
[Parameter(Mandatory)]
[object] $PackageInfo,
[Parameter(Mandatory)]
[object] $MatchedString
)
$versions = $packageInfo | Where-Object { $_ -Match $MatchedString } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
return $packageInfoParts[1]
}
return ($versions -Join "<br>")
}
function Get-AndroidPlatformVersions {
param (
[Parameter(Mandatory)]
[object] $PackageInfo
)
$versions = $packageInfo | Where-Object { $_ -Match "Android SDK Platform " } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
$revision = $packageInfoParts[1]
$version = $packageInfoParts[0].split(";")[1]
return "$version (rev $revision)"
}
[array]::Reverse($versions)
return ($versions -Join "<br>")
}
function Get-AndroidCommandLineToolsVersion {
$commandLineTools = Get-AndroidSDKManagerPath
(& $commandLineTools --version | Out-String).Trim() -match "(?<version>^(\d+\.){1,}\d+$)" | Out-Null
$commandLineToolsVersion = $Matches.Version
return $commandLineToolsVersion
}
function Get-AndroidBuildToolVersions {
param (
[Parameter(Mandatory)]
[object] $PackageInfo
)
$versions = $packageInfo | Where-Object { $_ -Match "Android SDK Build-Tools" } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
return $packageInfoParts[1]
}
$groupVersions = @()
$versions | ForEach-Object {
$majorVersion = $_.Split(".")[0]
$groupVersions += $versions | Where-Object { $_.StartsWith($majorVersion) } | Join-String -Separator " "
}
return ($groupVersions | Sort-Object -Descending -Unique | Join-String -Separator "<br>")
}
function Get-AndroidGoogleAPIsVersions {
param (
[Parameter(Mandatory)]
[object] $PackageInfo
)
$versions = $packageInfo | Where-Object { $_ -Match "Google APIs" } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
return $packageInfoParts[0].split(";")[1]
}
return ($versions -Join "<br>")
}
function Get-AndroidNDKVersions {
$ndkFolderPath = Join-Path (Get-AndroidSDKRoot) "ndk"
$versions = Get-ChildItem -Path $ndkFolderPath -Name
$ndkDefaultVersion = Get-ToolsetValue "android.ndk.default"
$ndkDefaultFullVersion = Get-ChildItem "$env:ANDROID_HOME/ndk/$ndkDefaultVersion.*" -Name | Select-Object -Last 1
return ($versions | ForEach-Object {
$defaultPostfix = ( $_ -eq $ndkDefaultFullVersion ) ? " (default)" : ""
$_ + $defaultPostfix
} | Join-String -Separator "<br>")
}
function Build-AndroidEnvironmentTable {
$androidVersions = Get-Item env:ANDROID_*
$shouldResolveLink = 'ANDROID_NDK_PATH', 'ANDROID_NDK_HOME', 'ANDROID_NDK_ROOT', 'ANDROID_NDK_LATEST_HOME'
return $androidVersions | Sort-Object -Property Name | ForEach-Object {
[PSCustomObject] @{
"Name" = $_.Name
"Value" = if ($shouldResolveLink.Contains($_.Name )) { Get-PathWithLink($_.Value) } else {$_.Value}
}
}
}
@@ -0,0 +1,52 @@
function Get-ChromeVersion {
$googleChromeVersion = google-chrome --version | Take-OutputPart -Part 2
return "Google Chrome $googleChromeVersion"
}
function Get-ChromeDriverVersion {
$chromeDriverVersion = chromedriver --version | Take-OutputPart -Part 1
return "ChromeDriver $chromeDriverVersion"
}
function Get-FirefoxVersion {
$firefoxVersion = firefox --version
return $firefoxVersion
}
function Get-GeckodriverVersion {
$geckodriverVersion = geckodriver --version | Select-Object -First 1 | Take-OutputPart -Part 1
return "Geckodriver $geckodriverVersion"
}
function Get-ChromiumVersion {
$chromiumVersion = chromium-browser --version | Take-OutputPart -Part 0,1
return $chromiumVersion
}
function Get-SeleniumVersion {
$seleniumBinaryName = Get-ToolsetValue "selenium.binary_name"
$fullSeleniumVersion = (Get-ChildItem "/usr/share/java/${seleniumBinaryName}-*").Name -replace "${seleniumBinaryName}-"
return "Selenium server $fullSeleniumVersion"
}
function Build-BrowserWebdriversEnvironmentTable {
return @(
@{
"Name" = "CHROMEWEBDRIVER"
"Value" = $env:CHROMEWEBDRIVER
},
@{
"Name" = "GECKOWEBDRIVER"
"Value" = $env:GECKOWEBDRIVER
},
@{
"Name" = "SELENIUM_JAR_PATH"
"Value" = $env:SELENIUM_JAR_PATH
}
) | ForEach-Object {
[PSCustomObject] @{
"Name" = $_.Name
"Value" = $_.Value
}
}
}
@@ -0,0 +1,63 @@
function Get-ToolcacheRubyVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "Ruby"
return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version]$_ }
}
function Get-ToolcachePythonVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "Python"
return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version]$_ }
}
function Get-ToolcachePyPyVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "PyPy"
Get-ChildItem -Path $toolcachePath -Name | Sort-Object { [Version] $_ } | ForEach-Object {
$pypyRootPath = Join-Path $toolcachePath $_ "x64"
[string]$pypyVersionOutput = & "$pypyRootPath/bin/python" -c "import sys;print(sys.version)"
$pypyVersionOutput -match "^([\d\.]+) \(.+\) \[PyPy ([\d\.]+\S*) .+]$" | Out-Null
return "{0} [PyPy {1}]" -f $Matches[1], $Matches[2]
}
}
function Get-ToolcacheNodeVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "node"
return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version]$_ }
}
function Get-ToolcacheGoVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "go"
return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version]$_ }
}
function Build-GoEnvironmentTable {
return Get-CachedToolInstances -Name "go" -VersionCommand "version" | ForEach-Object {
$Version = [System.Version]($_.Version -Split(" "))[0]
$Name = "GOROOT_$($Version.major)_$($Version.minor)_X64"
$Value = (Get-Item env:\$Name).Value
[PSCustomObject] @{
"Name" = $Name
"Value" = (Get-Item env:\$Name).Value
"Architecture" = $_. Architecture
}
}
}
function Build-CachedToolsSection {
$output = ""
$output += New-MDHeader "Go" -Level 4
$output += New-MDList -Lines (Get-ToolcacheGoVersions) -Style Unordered
$output += New-MDHeader "Node.js" -Level 4
$output += New-MDList -Lines (Get-ToolcacheNodeVersions) -Style Unordered
$output += New-MDHeader "PyPy" -Level 4
$output += New-MDList -Lines (Get-ToolcachePyPyVersions) -Style Unordered
$output += New-MDHeader "Python" -Level 4
$output += New-MDList -Lines (Get-ToolcachePythonVersions) -Style Unordered
$output += New-MDHeader "Ruby" -Level 4
$output += New-MDList -Lines (Get-ToolcacheRubyVersions) -Style Unordered
return $output
}
@@ -0,0 +1,423 @@
function Get-BashVersion {
$version = bash -c 'echo ${BASH_VERSION}'
return "Bash $version"
}
function Get-CPPVersions {
$result = Get-CommandResult "apt list --installed" -Multiline
$cppVersions = $result.Output | Where-Object { $_ -match "g\+\+-\d+"} | ForEach-Object {
& $_.Split("/")[0] --version | Select-Object -First 1 | Take-OutputPart -Part 3
} | Sort-Object {[Version]$_}
return "GNU C++ " + ($cppVersions -Join ", ")
}
function Get-FortranVersions {
$result = Get-CommandResult "apt list --installed" -Multiline
$fortranVersions = $result.Output | Where-Object { $_ -match "^gfortran-\d+"} | ForEach-Object {
$_ -match "now (?<version>\d+\.\d+\.\d+)-" | Out-Null
$Matches.version
} | Sort-Object {[Version]$_}
return "GNU Fortran " + ($fortranVersions -Join ", ")
}
function Get-ClangToolVersions {
param (
[Parameter(Mandatory = $true)]
[string] $ToolName,
[string] $VersionPattern = "\d+\.\d+\.\d+)-"
)
$result = Get-CommandResult "apt list --installed" -Multiline
$toolVersions = $result.Output | Where-Object { $_ -match "^${ToolName}-\d+"} | ForEach-Object {
$clangCommand = ($_ -Split "/")[0]
Invoke-Expression "$clangCommand --version" | Where-Object { $_ -match "${ToolName} version" } | ForEach-Object {
$_ -match "${ToolName} version (?<version>${VersionPattern}" | Out-Null
$Matches.version
}
} | Sort-Object {[Version]$_}
return $toolVersions -Join ", "
}
function Get-ClangVersions {
$clangVersions = Get-ClangToolVersions -ToolName "clang"
return "Clang " + $clangVersions
}
function Get-ClangFormatVersions {
$clangFormatVersions = Get-ClangToolVersions -ToolName "clang-format"
return "Clang-format " + $clangFormatVersions
}
function Get-ErlangVersion {
$erlangVersion = (erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), ''OTP_VERSION''])), io:fwrite(Version), halt().' -noshell)
$shellVersion = (erl -eval 'erlang:display(erlang:system_info(version)), halt().' -noshell).Trim('"')
return "Erlang $erlangVersion (Eshell $shellVersion)"
}
function Get-ErlangRebar3Version {
$result = Get-CommandResult "rebar3 --version"
$result.Output -match "rebar (?<version>(\d+.){2}\d+)" | Out-Null
$rebarVersion = $Matches.version
return "Erlang rebar3 $rebarVersion"
}
function Get-MonoVersion {
$monoVersion = mono --version | Out-String | Take-OutputPart -Part 4
$aptSourceRepo = Get-AptSourceRepository -PackageName "mono"
return "Mono $monoVersion (apt source repository: $aptSourceRepo)"
}
function Get-MsbuildVersion {
$msbuildVersion = msbuild -version | Select-Object -Last 1
$result = Select-String -Path (Get-Command msbuild).Source -Pattern "msbuild"
$result -match "(?<path>\/\S*\.dll)" | Out-Null
$msbuildPath = $Matches.path
return "MSBuild $msbuildVersion (from $msbuildPath)"
}
function Get-NodeVersion {
$nodeVersion = $(node --version).Substring(1)
return "Node $nodeVersion"
}
function Get-OpensslVersion {
return $(openssl version)
}
function Get-PerlVersion {
$version = $(perl -e 'print substr($^V,1)')
return "Perl $version"
}
function Get-PythonVersion {
$result = Get-CommandResult "python --version"
$version = $result.Output | Take-OutputPart -Part 1
return "Python $version"
}
function Get-Python3Version {
$result = Get-CommandResult "python3 --version"
$version = $result.Output | Take-OutputPart -Part 1
return "Python3 $version"
}
function Get-PowershellVersion {
return $(pwsh --version)
}
function Get-RubyVersion {
$rubyVersion = ruby --version | Out-String | Take-OutputPart -Part 1
return "Ruby $rubyVersion"
}
function Get-SwiftVersion {
$swiftVersion = swift --version | Out-String | Take-OutputPart -Part 2
return "Swift $swiftVersion"
}
function Get-KotlinVersion {
$kotlinVersion = kotlin -version | Out-String | Take-OutputPart -Part 2
return "Kotlin $kotlinVersion"
}
function Get-JuliaVersion {
$juliaVersion = julia --version | Take-OutputPart -Part 2
return "Julia $juliaVersion"
}
function Get-LernaVersion {
$version = lerna -v
return "Lerna $version"
}
function Get-HomebrewVersion {
$result = Get-CommandResult "brew -v"
$result.Output -match "Homebrew (?<version>\d+\.\d+\.\d+)" | Out-Null
$version = $Matches.version
return "Homebrew $version"
}
function Get-CpanVersion {
$result = Get-CommandResult "cpan --version" -ExpectExitCode @(25, 255)
$result.Output -match "version (?<version>\d+\.\d+) " | Out-Null
$cpanVersion = $Matches.version
return "cpan $cpanVersion"
}
function Get-GemVersion {
$result = Get-CommandResult "gem --version"
$result.Output -match "(?<version>\d+\.\d+\.\d+)" | Out-Null
$gemVersion = $Matches.version
return "RubyGems $gemVersion"
}
function Get-MinicondaVersion {
$condaVersion = conda --version
return "Mini$condaVersion"
}
function Get-HelmVersion {
$(helm version) -match 'Version:"v(?<version>\d+\.\d+\.\d+)"' | Out-Null
$helmVersion = $Matches.version
return "Helm $helmVersion"
}
function Get-NpmVersion {
$npmVersion = npm --version
return "Npm $npmVersion"
}
function Get-YarnVersion {
$yarnVersion = yarn --version
return "Yarn $yarnVersion"
}
function Get-ParcelVersion {
$parcelVersion = parcel --version
return "Parcel $parcelVersion"
}
function Get-PipVersion {
$result = Get-CommandResult "pip --version"
$result.Output -match "pip (?<version>\d+\.\d+\.\d+)" | Out-Null
$pipVersion = $Matches.version
return "Pip $pipVersion"
}
function Get-Pip3Version {
$result = Get-CommandResult "pip3 --version"
$result.Output -match "pip (?<version>\d+\.\d+\.\d+)" | Out-Null
$pipVersion = $Matches.version
return "Pip3 $pipVersion"
}
function Get-VcpkgVersion {
$result = Get-CommandResult "vcpkg version"
$result.Output -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
$vcpkgVersion = $Matches.version
$commitId = git -C "/usr/local/share/vcpkg" rev-parse --short HEAD
return "Vcpkg $vcpkgVersion (build from master \<$commitId>)"
}
function Get-AntVersion {
$result = ant -version | Out-String
$result -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
$antVersion = $Matches.version
return "Ant $antVersion"
}
function Get-GradleVersion {
$gradleVersion = (gradle -v) -match "^Gradle \d" | Take-OutputPart -Part 1
return "Gradle $gradleVersion"
}
function Get-MavenVersion {
$result = mvn -version | Out-String
$result -match "Apache Maven (?<version>\d+\.\d+\.\d+)" | Out-Null
$mavenVersion = $Matches.version
return "Maven $mavenVersion"
}
function Get-SbtVersion {
$result = Get-CommandResult "sbt -version"
$result.Output -match "sbt script version: (?<version>\d+\.\d+\.\d+)" | Out-Null
$sbtVersion = $Matches.version
return "Sbt $sbtVersion"
}
function Get-PHPVersions {
$result = Get-CommandResult "apt list --installed" -Multiline
return $result.Output | Where-Object { $_ -match "^php\d+\.\d+/"} | ForEach-Object {
$_ -match "now (?<version>\d+\.\d+\.\d+)-" | Out-Null
$Matches.version
}
}
function Get-ComposerVersion {
$(composer --version) -match "Composer version (?<version>\d+\.\d+\.\d+)\s" | Out-Null
return $Matches.version
}
function Get-PHPUnitVersion {
$(phpunit --version | Out-String) -match "PHPUnit (?<version>\d+\.\d+\.\d+)\s" | Out-Null
return $Matches.version
}
function Build-PHPTable {
$php = @{
"Tool" = "PHP"
"Version" = "$(Get-PHPVersions -Join '<br>')"
}
$composer = @{
"Tool" = "Composer"
"Version" = Get-ComposerVersion
}
$phpunit = @{
"Tool" = "PHPUnit"
"Version" = Get-PHPUnitVersion
}
return @($php, $composer, $phpunit) | ForEach-Object {
[PSCustomObject] @{
"Tool" = $_.Tool
"Version" = $_.Version
}
}
}
function Build-PHPSection {
$output = ""
$output += New-MDHeader "PHP" -Level 3
$output += Build-PHPTable | New-MDTable
$output += New-MDCode -Lines @(
"Both Xdebug and PCOV extensions are installed, but only Xdebug is enabled."
)
return $output
}
function Get-GHCVersion {
$(ghc --version) -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
$ghcVersion = $Matches.version
return "GHC $ghcVersion"
}
function Get-GHCupVersion {
$(ghcup --version) -match "version v(?<version>\d+(\.\d+){2,})" | Out-Null
$ghcVersion = $Matches.version
return "GHCup $ghcVersion"
}
function Get-CabalVersion {
$(cabal --version | Out-String) -match "cabal-install version (?<version>\d+\.\d+\.\d+\.\d+)" | Out-Null
$cabalVersion = $Matches.version
return "Cabal $cabalVersion"
}
function Get-StackVersion {
$(stack --version | Out-String) -match "Version (?<version>\d+\.\d+\.\d+)" | Out-Null
$stackVersion = $Matches.version
return "Stack $stackVersion"
}
function Get-AzModuleVersions {
$azModuleVersions = Get-ChildItem /usr/share | Where-Object { $_ -match "az_\d+" } | Foreach-Object {
$_.Name.Split("_")[1]
}
$azModuleVersions = $azModuleVersions -join " "
return $azModuleVersions
}
function Get-PowerShellModules {
$modules = (Get-ToolsetContent).powershellModules.name
$psModules = Get-Module -Name $modules -ListAvailable | Sort-Object Name | Group-Object Name
$psModules | ForEach-Object {
$moduleName = $_.Name
$moduleVersions = ($_.group.Version | Sort-Object -Unique) -join '<br>'
[PSCustomObject]@{
Module = $moduleName
Version = $moduleVersions
}
}
}
function Get-DotNetCoreSdkVersions {
$unsortedDotNetCoreSdkVersion = dotnet --list-sdks list | ForEach-Object { $_ | Take-OutputPart -Part 0 }
$dotNetCoreSdkVersion = $unsortedDotNetCoreSdkVersion -join " "
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
return $images
}
function Get-CachedDockerImagesTableData {
$allImages = sudo docker images --digests --format "*{{.Repository}}:{{.Tag}}|{{.Digest}} |{{.CreatedAt}}"
$allImages.Split("*") | Where-Object { $_ } | ForEach-Object {
$parts = $_.Split("|")
[PSCustomObject] @{
"Repository:Tag" = $parts[0]
"Digest" = $parts[1]
"Created" = $parts[2].split(' ')[0]
}
} | Sort-Object -Property "Repository:Tag"
}
function Get-AptPackages {
$apt = (Get-ToolsetContent).Apt
$output = @()
ForEach ($pkg in ($apt.common_packages + $apt.cmd_packages)) {
$version = $(dpkg-query -W -f '${Version}' $pkg)
if ($Null -eq $version) {
$version = $(dpkg-query -W -f '${Version}' "$pkg*")
}
$version = $version -replace '~','\~'
$output += [PSCustomObject] @{
Name = $pkg
Version = $version
}
}
return ($output | Sort-Object Name)
}
function Get-PipxVersion {
$result = (Get-CommandResult "pipx --version").Output
$result -match "(?<version>\d+\.\d+\.\d+\.?\d*)" | Out-Null
$pipxVersion = $Matches.Version
return "Pipx $pipxVersion"
}
function Get-GraalVMVersion {
$version = & "$env:GRAALVM_11_ROOT\bin\java" --version | Select-String -Pattern "GraalVM" | Take-OutputPart -Part 5,6
return $version
}
function Build-GraalVMTable {
$version = Get-GraalVMVersion
$envVariables = "GRAALVM_11_ROOT"
return [PSCustomObject] @{
"Version" = $version
"Environment variables" = $envVariables
}
}
function Build-PackageManagementEnvironmentTable {
return @(
@{
"Name" = "CONDA"
"Value" = $env:CONDA
},
@{
"Name" = "VCPKG_INSTALLATION_ROOT"
"Value" = $env:VCPKG_INSTALLATION_ROOT
}
) | ForEach-Object {
[PSCustomObject] @{
"Name" = $_.Name
"Value" = $_.Value
}
}
}
@@ -0,0 +1,61 @@
function Get-PostgreSqlVersion {
$postgreSQLVersion = psql --version | Take-OutputPart -Part 2
$aptSourceRepo = Get-AptSourceRepository -PackageName "postgresql"
return "PostgreSQL $postgreSQLVersion (apt source repository: $aptSourceRepo)"
}
function Get-MongoDbVersion {
$mongoDBVersion = mongod --version | Select-Object -First 1 | Take-OutputPart -Part 2 -Delimiter "v"
$aptSourceRepo = Get-AptSourceRepository -PackageName "mongodb"
return "MongoDB $mongoDBVersion (apt source repository: $aptSourceRepo)"
}
function Get-SqliteVersion {
$sqliteVersion = sqlite3 --version | Take-OutputPart -Part 0
return "sqlite3 $sqliteVersion"
}
function Get-MySQLVersion {
$mySQLVersion = mysqld --version | Take-OutputPart -Part 2
if (-not (Test-IsUbuntu20)) {
$mySQLVersion = $mySQLVersion | Take-OutputPart -Part 0 -Delimiter "-"
}
return "MySQL $mySQLVersion"
}
function Get-SQLCmdVersion {
$sqlcmdVersion = sqlcmd -? | Select-String -Pattern "Version" | Take-OutputPart -Part 1
return "sqlcmd $sqlcmdVersion"
}
function Get-SqlPackageVersion {
$sqlPackageVersion = sqlpackage /version
return "SqlPackage $sqlPackageVersion"
}
function Build-MySQLSection {
$output = ""
$output += New-MDHeader "MySQL" -Level 4
$output += New-MDList -Style Unordered -Lines @(
(Get-MySQLVersion ),
"MySQL Server (user:root password:root)"
)
$output += New-MDCode -Lines @(
"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'"
)
return $output
}
function Build-MSSQLToolsSection {
$output = ""
$output += New-MDHeader "MS SQL Server Client Tools" -Level 4
$output += New-MDList -Style Unordered -Lines @(
(Get-SQLCmdVersion),
(Get-SqlPackageVersion)
)
return $output
}
@@ -0,0 +1,283 @@
param (
[Parameter(Mandatory)][string]
$OutputDirectory
)
$global:ErrorActionPreference = "Stop"
$global:ErrorView = "NormalView"
Set-StrictMode -Version Latest
Import-Module MarkdownPS
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Android.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Browsers.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.CachedTools.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Common.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Databases.psm1") -DisableNameChecking
Import-Module "$PSScriptRoot/../helpers/SoftwareReport.Helpers.psm1" -DisableNameChecking
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Java.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Rust.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Tools.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.WebServers.psm1") -DisableNameChecking
# Restore file owner in user profile
Restore-UserOwner
$markdown = ""
$OSName = Get-OSName
$markdown += New-MDHeader "$OSName" -Level 1
$kernelVersion = Get-KernelVersion
$markdown += New-MDList -Style Unordered -Lines @(
"$kernelVersion"
"Image Version: $env:IMAGE_VERSION"
)
$markdown += New-MDHeader "Installed Software" -Level 2
$markdown += New-MDHeader "Language and Runtime" -Level 3
$runtimesList = @(
(Get-BashVersion),
(Get-CPPVersions),
(Get-FortranVersions),
(Get-ErlangVersion),
(Get-ErlangRebar3Version),
(Get-MonoVersion),
(Get-MsbuildVersion),
(Get-NodeVersion),
(Get-PerlVersion),
(Get-PythonVersion),
(Get-Python3Version),
(Get-RubyVersion),
(Get-SwiftVersion),
(Get-JuliaVersion),
(Get-KotlinVersion),
(Get-ClangVersions),
(Get-ClangFormatVersions)
)
$markdown += New-MDList -Style Unordered -Lines ($runtimesList | Sort-Object)
$markdown += New-MDHeader "Package Management" -Level 3
$packageManagementList = @(
(Get-HomebrewVersion),
(Get-CpanVersion),
(Get-GemVersion),
(Get-MinicondaVersion),
(Get-HelmVersion),
(Get-NpmVersion),
(Get-YarnVersion),
(Get-PipxVersion),
(Get-PipVersion),
(Get-Pip3Version),
(Get-VcpkgVersion)
)
$markdown += New-MDList -Style Unordered -Lines ($packageManagementList | Sort-Object)
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-PackageManagementEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Project Management" -Level 3
$projectManagementList = @(
(Get-AntVersion),
(Get-GradleVersion),
(Get-MavenVersion),
(Get-SbtVersion)
)
if (Test-IsUbuntu20) {
$projectManagementList += @(
(Get-LernaVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines ($projectManagementList | Sort-Object)
$markdown += New-MDHeader "Tools" -Level 3
$toolsList = @(
(Get-AnsibleVersion),
(Get-AptFastVersion),
(Get-AzCopyVersion),
(Get-BazelVersion),
(Get-BazeliskVersion),
(Get-BicepVersion),
(Get-BuildahVersion),
(Get-CodeQLBundleVersion),
(Get-CMakeVersion),
(Get-DockerMobyClientVersion),
(Get-DockerMobyServerVersion),
(Get-DockerComposeV1Version),
(Get-DockerComposeV2Version),
(Get-DockerBuildxVersion),
(Get-GitVersion),
(Get-GitLFSVersion),
(Get-GitFTPVersion),
(Get-HavegedVersion),
(Get-HerokuVersion),
(Get-HHVMVersion),
(Get-SVNVersion),
(Get-JqVersion),
(Get-YqVersion),
(Get-KindVersion),
(Get-KubectlVersion),
(Get-KustomizeVersion),
(Get-LeiningenVersion),
(Get-MediainfoVersion),
(Get-HGVersion),
(Get-MinikubeVersion),
(Get-NewmanVersion),
(Get-NVersion),
(Get-NvmVersion),
(Get-OpensslVersion),
(Get-PackerVersion),
(Get-ParcelVersion),
(Get-PhantomJSVersion),
(Get-PodManVersion),
(Get-PulumiVersion),
(Get-RVersion),
(Get-SkopeoVersion),
(Get-SphinxVersion),
(Get-TerraformVersion),
(Get-YamllintVersion),
(Get-ZstdVersion)
)
if (Test-IsUbuntu20) {
$toolsList += (Get-FastlaneVersion)
}
$markdown += New-MDList -Style Unordered -Lines ($toolsList | Sort-Object)
$markdown += New-MDHeader "CLI Tools" -Level 3
$markdown += New-MDList -Style Unordered -Lines (@(
(Get-AlibabaCloudCliVersion),
(Get-AWSCliVersion),
(Get-AWSCliSessionManagerPluginVersion),
(Get-AWSSAMVersion),
(Get-AzureCliVersion),
(Get-AzureDevopsVersion),
(Get-GitHubCliVersion),
(Get-GoogleCloudSDKVersion),
(Get-HubCliVersion),
(Get-NetlifyCliVersion),
(Get-OCCliVersion),
(Get-ORASCliVersion),
(Get-VerselCliversion)
) | Sort-Object
)
$markdown += New-MDHeader "Java" -Level 3
$markdown += Get-JavaVersions | New-MDTable
$markdown += New-MDNewLine
if (Test-IsUbuntu20) {
$markdown += New-MDHeader "GraalVM" -Level 3
$markdown += Build-GraalVMTable | New-MDTable
$markdown += New-MDNewLine
}
$markdown += Build-PHPSection
$markdown += New-MDHeader "Haskell" -Level 3
$markdown += New-MDList -Style Unordered -Lines (@(
(Get-GHCVersion),
(Get-GHCupVersion),
(Get-CabalVersion),
(Get-StackVersion)
) | Sort-Object
)
$markdown += New-MDHeader "Rust Tools" -Level 3
$markdown += New-MDList -Style Unordered -Lines (@(
(Get-RustVersion),
(Get-RustupVersion),
(Get-RustdocVersion),
(Get-CargoVersion)
) | Sort-Object
)
$markdown += New-MDHeader "Packages" -Level 4
$markdown += New-MDList -Style Unordered -Lines (@(
(Get-BindgenVersion),
(Get-CargoAuditVersion),
(Get-CargoOutdatedVersion),
(Get-CargoClippyVersion),
(Get-CbindgenVersion),
(Get-RustfmtVersion)
) | Sort-Object
)
$markdown += New-MDHeader "Browsers and Drivers" -Level 3
$browsersAndDriversList = @(
(Get-ChromeVersion),
(Get-ChromeDriverVersion),
(Get-FirefoxVersion),
(Get-GeckodriverVersion),
(Get-ChromiumVersion),
(Get-SeleniumVersion)
)
$markdown += New-MDList -Style Unordered -Lines $browsersAndDriversList
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-BrowserWebdriversEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader ".NET Core SDK" -Level 3
$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),
(Get-MongoDbVersion),
(Get-SqliteVersion)
) | Sort-Object
)
$markdown += Build-MySQLSection
$markdown += Build-MSSQLToolsSection
$markdown += New-MDHeader "Cached Tools" -Level 3
$markdown += Build-CachedToolsSection
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-GoEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "PowerShell Tools" -Level 3
$markdown += New-MDList -Lines (Get-PowershellVersion) -Style Unordered
$markdown += New-MDHeader "PowerShell Modules" -Level 4
$markdown += Get-PowerShellModules | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Az PowerShell Modules" -Level 4
$markdown += New-MDList -Style Unordered -Lines @(
(Get-AzModuleVersions)
)
$markdown += Build-WebServersSection
$markdown += New-MDHeader "Android" -Level 3
$markdown += Build-AndroidTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-AndroidEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Cached Docker images" -Level 3
$markdown += Get-CachedDockerImagesTableData | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Installed apt packages" -Level 3
$markdown += Get-AptPackages | New-MDTable
Test-BlankElement
$markdown | Out-File -FilePath "${OutputDirectory}/Ubuntu-Readme.md"
@@ -0,0 +1,22 @@
function Get-JavaVersions {
$javaToolcacheVersions = Get-ChildItem $env:AGENT_TOOLSDIRECTORY/Java*/* -Directory | Sort-Object { [int]$_.Name.Split(".")[0] }
$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" = $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
}
@@ -0,0 +1,56 @@
function Initialize-RustEnvironment {
$env:PATH = "/etc/skel/.cargo/bin:/etc/skel/.rustup/bin:$($env:PATH)"
$env:RUSTUP_HOME = "/etc/skel/.rustup"
$env:CARGO_HOME = "/etc/skel/.cargo"
}
function Get-RustVersion {
Initialize-RustEnvironment
$rustVersion = $(rustc --version) | Take-OutputPart -Part 1
return "Rust $rustVersion"
}
function Get-BindgenVersion {
$bindgenVersion = $(bindgen --version) | Take-OutputPart -Part 1
return "Bindgen $bindgenVersion"
}
function Get-CargoVersion {
$cargoVersion = $(cargo --version) | Take-OutputPart -Part 1
return "Cargo $cargoVersion"
}
function Get-CargoAuditVersion {
$cargoAuditVersion = $(cargo audit --version) | Take-OutputPart -Part 1
return "Cargo audit $cargoAuditVersion"
}
function Get-CargoOutdatedVersion {
$cargoOutdatedVersion = $(cargo outdated --version) | Take-OutputPart -Part 1 -Delimiter "v"
return "Cargo outdated $cargoOutdatedVersion"
}
function Get-CargoClippyVersion {
$cargoClippyVersion = $(cargo-clippy --version) | Take-OutputPart -Part 1
return "Cargo clippy $cargoClippyVersion"
}
function Get-CbindgenVersion {
$cbindgenVersion = $(cbindgen --version) | Take-OutputPart -Part 1
return "Cbindgen $cbindgenVersion"
}
function Get-RustupVersion {
$rustupVersion = $(rustup --version) | Take-OutputPart -Part 1
return "Rustup $rustupVersion"
}
function Get-RustdocVersion {
$rustdocVersion = $(rustdoc --version) | Take-OutputPart -Part 1
return "Rustdoc $rustdocVersion"
}
function Get-RustfmtVersion {
$rustfmtVersion = $(rustfmt --version) | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
return "Rustfmt $rustfmtVersion"
}
@@ -0,0 +1,295 @@
function Get-AnsibleVersion {
$ansibleVersion = (ansible --version)[0] -replace "[^\d.]"
return "Ansible $ansibleVersion"
}
function Get-AptFastVersion {
$versionFileContent = Get-Content (which apt-fast) -Raw
$match = [Regex]::Match($versionFileContent, '# apt-fast v(.+)\n')
$aptFastVersion = $match.Groups[1].Value
return "apt-fast $aptFastVersion"
}
function Get-AzCopyVersion {
$azcopyVersion = azcopy --version | Take-OutputPart -Part 2
return "AzCopy $azcopyVersion (available by ``azcopy`` and ``azcopy10`` aliases)"
}
function Get-BazelVersion {
$bazelVersion = bazel --version | Select-String "bazel" | Take-OutputPart -Part 1
return "Bazel $bazelVersion"
}
function Get-BazeliskVersion {
$result = Get-CommandResult "bazelisk version" -Multiline
$bazeliskVersion = $result.Output | Select-String "Bazelisk version:" | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "v"
return "Bazelisk $bazeliskVersion"
}
function Get-BicepVersion {
(bicep --version | Out-String) -match "bicep cli version (?<version>\d+\.\d+\.\d+)" | Out-Null
$bicepVersion = $Matches.Version
return "Bicep $bicepVersion"
}
function Get-CodeQLBundleVersion {
$CodeQLVersionsWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath "*"
$CodeQLVersionPath = Get-ChildItem $CodeQLVersionsWildcard | Select-Object -First 1 -Expand FullName
$CodeQLPath = Join-Path $CodeQLVersionPath -ChildPath "x64" | Join-Path -ChildPath "codeql" | Join-Path -ChildPath "codeql"
$CodeQLVersion = & $CodeQLPath version --quiet
return "CodeQL Action Bundle $CodeQLVersion"
}
function Get-PodManVersion {
$podmanVersion = podman --version | Take-OutputPart -Part 2
$aptSourceRepo = Get-AptSourceRepository -PackageName "containers"
return "Podman $podmanVersion (apt source repository: $aptSourceRepo)"
}
function Get-BuildahVersion {
$buildahVersion = buildah --version | Take-OutputPart -Part 2
$aptSourceRepo = Get-AptSourceRepository -PackageName "containers"
return "Buildah $buildahVersion (apt source repository: $aptSourceRepo)"
}
function Get-SkopeoVersion {
$skopeoVersion = skopeo --version | Take-OutputPart -Part 2
$aptSourceRepo = Get-AptSourceRepository -PackageName "containers"
return "Skopeo $skopeoVersion (apt source repository: $aptSourceRepo)"
}
function Get-CMakeVersion {
$cmakeVersion = cmake --version | Select-Object -First 1 | Take-OutputPart -Part 2
return "CMake $cmakeVersion"
}
function Get-DockerComposeV1Version {
$composeVersion = docker-compose -v | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter ","
return "Docker Compose v1 $composeVersion"
}
function Get-DockerComposeV2Version {
$composeVersion = docker compose version | Take-OutputPart -Part 3
return "Docker Compose v2 $composeVersion"
}
function Get-DockerMobyClientVersion {
$dockerClientVersion = sudo docker version --format '{{.Client.Version}}'
return "Docker-Moby Client $dockerClientVersion"
}
function Get-DockerMobyServerVersion {
$dockerServerVersion = sudo docker version --format '{{.Server.Version}}'
return "Docker-Moby Server $dockerServerVersion"
}
function Get-DockerBuildxVersion {
$buildxVersion = docker buildx version | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "+"
return "Docker-Buildx $buildxVersion"
}
function Get-GitVersion {
$result = Get-CommandResult "git --version"
$gitVersion = $result.Output | Take-OutputPart -Part 2
$aptSourceRepo = Get-AptSourceRepository -PackageName "git-core"
return "Git $gitVersion (apt source repository: $aptSourceRepo)"
}
function Get-GitLFSVersion {
$result = Get-CommandResult "git-lfs --version"
$gitlfsversion = $result.Output | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "/"
$aptSourceRepo = Get-AptSourceRepository -PackageName "git-lfs"
return "Git LFS $gitlfsversion (apt source repository: $aptSourceRepo)"
}
function Get-GitFTPVersion {
$gitftpVersion = git-ftp --version | Take-OutputPart -Part 2
return "Git-ftp $gitftpVersion"
}
function Get-GoogleCloudSDKVersion {
$aptSourceRepo = Get-AptSourceRepository -PackageName "google-cloud-sdk"
return "$(gcloud --version | Select-Object -First 1) (apt source repository: $aptSourceRepo)"
}
function Get-HavegedVersion {
$havegedVersion = dpkg-query --showformat='${Version}' --show haveged | Take-OutputPart -Part 0 -Delimiter "-"
return "Haveged $havegedVersion"
}
function Get-HerokuVersion {
$herokuVersion = heroku version | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "/"
return "Heroku $herokuVersion"
}
function Get-HHVMVersion {
$hhvmVersion = hhvm --version | Select-Object -First 1 | Take-OutputPart -Part 2
return "HHVM (HipHop VM) $hhvmVersion"
}
function Get-SVNVersion {
$svnVersion = svn --version | Select-Object -First 1 | Take-OutputPart -Part 2
return "SVN $svnVersion"
}
function Get-KustomizeVersion {
$kustomizeVersion = kustomize version --short | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "v"
return "Kustomize $kustomizeVersion"
}
function Get-KindVersion {
$kindVersion = kind version | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "v"
return "Kind $kindVersion"
}
function Get-KubectlVersion {
$kubectlVersion = kubectl version --client --short | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "v"
return "Kubectl $kubectlVersion"
}
function Get-MinikubeVersion {
$minikubeVersion = minikube version --short | Take-OutputPart -Part 0 -Delimiter "v"
return "Minikube $minikubeVersion"
}
function Get-HGVersion {
$hgVersion = hg --version | Select-Object -First 1 | Take-OutputPart -Part -1 | Take-OutputPart -Part 0 -Delimiter ")"
return "Mercurial $hgVersion"
}
function Get-LeiningenVersion {
return "$(lein -v | Take-OutputPart -Part 0,1)"
}
function Get-MediainfoVersion {
$mediainfoVersion = (mediainfo --version | Select-Object -Index 1 | Take-OutputPart -Part 2).Replace('v', '')
return "MediaInfo $mediainfoVersion"
}
function Get-NewmanVersion {
return "Newman $(newman --version)"
}
function Get-NVersion {
$nVersion = (n --version).Replace('v', '')
return "n $nVersion"
}
function Get-NvmVersion {
$nvmVersion = bash -c "source /etc/skel/.nvm/nvm.sh && nvm --version"
return "nvm $nvmVersion"
}
function Get-PackerVersion {
# Packer 1.7.1 has a bug and outputs version to stderr instead of stdout https://github.com/hashicorp/packer/issues/10855
$result = (Get-CommandResult "packer --version").Output
$packerVersion = [regex]::matches($result, "(\d+.){2}\d+").Value
return "Packer $packerVersion"
}
function Get-PhantomJSVersion {
return "PhantomJS $(phantomjs --version)"
}
function Get-TerraformVersion {
return (terraform version | Select-String "^Terraform").Line.Replace('v','')
}
function Get-JqVersion {
$jqVersion = jq --version | Take-OutputPart -Part 1 -Delimiter "-"
return "jq $jqVersion"
}
function Get-AzureCliVersion {
$azcliVersion = (az version | ConvertFrom-Json).'azure-cli'
$aptSourceRepo = Get-AptSourceRepository -PackageName "azure-cli"
return "Azure CLI (azure-cli) $azcliVersion (installation method: $aptSourceRepo)"
}
function Get-AzureDevopsVersion {
$azdevopsVersion = (az version | ConvertFrom-Json).extensions.'azure-devops'
return "Azure CLI (azure-devops) $azdevopsVersion"
}
function Get-AlibabaCloudCliVersion {
return "Alibaba Cloud CLI $(aliyun version)"
}
function Get-AWSCliVersion {
$result = Get-CommandResult "aws --version"
$awsVersion = $result.Output | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "/"
return "AWS CLI $awsVersion"
}
function Get-AWSCliSessionManagerPluginVersion {
$result = (Get-CommandResult "session-manager-plugin --version").Output
return "AWS CLI Session manager plugin $result"
}
function Get-AWSSAMVersion {
return "AWS SAM CLI $(sam --version | Take-OutputPart -Part -1)"
}
function Get-FastlaneVersion {
$fastlaneVersion = fastlane --version | Select-String "^fastlane [0-9]" | Take-OutputPart -Part 1
return "Fastlane $fastlaneVersion"
}
function Get-HubCliVersion {
$hubVersion = hub --version | Select-String "hub version" | Take-OutputPart -Part 2
return "Hub CLI $hubVersion"
}
function Get-GitHubCliVersion {
$ghVersion = gh --version | Select-String "gh version" | Take-OutputPart -Part 2
return "GitHub CLI $ghVersion"
}
function Get-NetlifyCliVersion {
$netlifyVersion = netlify --version | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "/"
return "Netlify CLI $netlifyVersion"
}
function Get-OCCliVersion {
$ocVersion = oc version | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "-"
return "OpenShift CLI $ocVersion"
}
function Get-ORASCliVersion {
$orasVersion = oras version | Select-String "^Version:" | Take-OutputPart -Part 1
return "ORAS CLI $orasVersion"
}
function Get-VerselCliversion {
$result = Get-CommandResult "vercel --version" -Multiline
return $result.Output | Select-Object -First 1
}
function Get-PulumiVersion {
$pulumiVersion = pulumi version | Take-OutputPart -Part 0 -Delimiter "v"
return "Pulumi $pulumiVersion"
}
function Get-RVersion {
$rVersion = (Get-CommandResult "R --version | grep 'R version'").Output | Take-OutputPart -Part 2
return "R $rVersion"
}
function Get-SphinxVersion {
$sphinxVersion = searchd -h | Select-Object -First 1 | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
return "Sphinx Open Source Search Server $sphinxVersion"
}
function Get-YamllintVersion {
return "$(yamllint --version)"
}
function Get-ZstdVersion {
$zstdVersion = zstd --version | Take-OutputPart -Part 1 -Delimiter "v" | Take-OutputPart -Part 0 -Delimiter ","
return "zstd $zstdVersion (homebrew)"
}
function Get-YqVersion {
$yqVersion = ($(yq -V) -Split " ")[-1]
return "yq $yqVersion"
}
@@ -0,0 +1,61 @@
function Get-ApacheVersion {
$name = "apache2"
$port = 80
$version = bash -c "apache2 -v | grep -Po 'Apache/(\d+.){2}\d+'" | Take-OutputPart -Part 1 -Delimiter "/"
$serviceStatus = systemctl status apache2 | grep "Active:" | Take-OutputPart -Part 1
$configFile = "/etc/apache2/apache2.conf"
return [PsCustomObject]@{
"Name" = $name
"Version" = $version
"ConfigFile" = $configFile
"ServiceStatus" = $serviceStatus
"ListenPort" = $port
}
}
function Get-NginxVersion {
$name = "nginx"
$port = 80
$version = (dpkg-query --showformat='${Version}' --show nginx).Split('-')[0]
$serviceStatus = systemctl status nginx | grep "Active:" | Take-OutputPart -Part 1
$configFile = "/etc/nginx/nginx.conf"
return [PsCustomObject]@{
"Name" = $name
"Version" = $version
"ConfigFile" = $configFile
"ServiceStatus" = $serviceStatus
"ListenPort" = $port
}
}
function Get-Xsp4Version {
$name = "mono-xsp4"
$port = (grep '^port=' /etc/default/mono-xsp4).Split('=')[1]
$version = (dpkg-query --showformat='${Version}' --show mono-xsp4).Split('-')[0]
$serviceStatus = systemctl show -p ActiveState --value mono-xsp4
$configFile = "/etc/default/mono-xsp4"
return [PsCustomObject]@{
"Name" = $name
"Version" = $version
"ConfigFile" = $configFile
"ServiceStatus" = $serviceStatus
"ListenPort" = $port
}
}
function Build-WebServersSection {
$servers = @(
(Get-ApacheVersion),
(Get-NginxVersion)
)
if (Test-IsUbuntu20) {
$servers += (Get-Xsp4Version)
}
$output = ""
$output += New-MDHeader "Web Servers" -Level 3
$output += $servers | Sort-Object Name | New-MDTable
$output += New-MDNewLine
return $output
}
@@ -0,0 +1,7 @@
#!/bin/bash -e
prefix=/usr/local/bin
for tool in apt apt-get apt-fast apt-key;do
sudo rm -f $prefix/$tool
done
+51
View File
@@ -0,0 +1,51 @@
#!/bin/bash -e
# A temporary workaround for https://github.com/Azure/azure-linux-extensions/issues/1238
prefix=/usr/local/bin
for real_tool in /usr/bin/apt /usr/bin/apt-get /usr/bin/apt-fast /usr/bin/apt-key;do
tool=`basename $real_tool`
cat >$prefix/$tool <<EOT
#!/bin/sh
i=1
while [ \$i -le 30 ];do
err=\$(mktemp)
$real_tool "\$@" 2>\$err
# no errors, break the loop and continue normal flow
test -f \$err || break
cat \$err >&2
retry=false
if grep -q 'Could not get lock' \$err;then
# apt db locked needs retry
retry=true
elif grep -q 'Could not open file /var/lib/apt/lists' \$err;then
# apt update is not completed, needs retry
retry=true
elif grep -q 'IPC connect call failed' \$err;then
# the delay should help with gpg-agent not ready
retry=true
elif grep -q 'Temporary failure in name resolution' \$err;then
# It looks like DNS is not updated with random generated hostname yet
retry=true
elif grep -q 'dpkg frontend is locked by another process' \$err;then
# dpkg process is busy by another process
retry=true
fi
rm \$err
if [ \$retry = false ]; then
break
fi
sleep 5
echo "...retry \$i"
i=\$((i + 1))
done
EOT
chmod +x $prefix/$tool
done
+31 -9
View File
@@ -1,18 +1,40 @@
#!/bin/bash
#!/bin/bash -e
export DEBIAN_FRONTEND=noninteractive
apt-get -yq update
apt-get -yq dist-upgrade
systemctl disable apt-daily.service
# Stop and disable apt-daily upgrade services;
systemctl stop apt-daily.timer
systemctl disable apt-daily.timer
systemctl disable apt-daily.service
systemctl stop apt-daily-upgrade.timer
systemctl disable apt-daily-upgrade.timer
systemctl disable apt-daily-upgrade.service
# Enable retry logic for apt up to 10 times
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
# Use apt-fast for parallel downloads
apt-get install aria2
add-apt-repository -y ppa:apt-fast/stable
# Fix bad proxy and http headers settings
cat <<EOF >> /etc/apt/apt.conf.d/99bad_proxy
Acquire::http::Pipeline-Depth 0;
Acquire::http::No-Cache true;
Acquire::BrokenProxy true;
EOF
# Uninstall unattended-upgrades
apt-get purge unattended-upgrades
# Need to limit arch for default apt repos due to
# https://github.com/actions/virtual-environments/issues/1961
sed -i'' -E 's/^deb http:\/\/(azure.archive|security).ubuntu.com/deb [arch=amd64,i386] http:\/\/\1.ubuntu.com/' /etc/apt/sources.list
echo 'APT sources limited to the actual architectures'
cat /etc/apt/sources.list
apt-get update
apt-get -y install apt-fast
# Install jq
apt-get install jq
# Install apt-fast using quick-install.sh
# https://github.com/ilikenwf/apt-fast
bash -c "$(curl -sL https://raw.githubusercontent.com/ilikenwf/apt-fast/master/quick-install.sh)"
+10 -3
View File
@@ -1,7 +1,14 @@
#!/bin/bash
#!/bin/bash -e
echo '* soft nofile 65536' >> /etc/security/limits.conf
echo '* hard nofile 65536' >> /etc/security/limits.conf
echo 'session required pam_limits.so' >> /etc/pam.d/common-session
echo 'session required pam_limits.so' >> /etc/pam.d/common-session-noninteractive
echo 'DefaultLimitNOFILE=65536' >> /etc/systemd/system.conf
echo 'DefaultLimitSTACK=16M:infinity' >> /etc/systemd/system.conf
# Raise Number of File Descriptors
echo '* soft nofile 65536' >> /etc/security/limits.conf
echo '* hard nofile 65536' >> /etc/security/limits.conf
# Double stack size from default 8192KB
echo '* soft stack 16384' >> /etc/security/limits.conf
echo '* hard stack 16384' >> /etc/security/limits.conf
+2 -2
View File
@@ -1,8 +1,8 @@
#!/bin/bash
#!/bin/bash -e
################################################################################
## File: reboot.sh
## Desc: Reboot VM
################################################################################
echo "Reboot VM"
sudo reboot
sudo reboot
+5 -2
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
################################################################################
## File: repos.sh
## Desc: Installs official Microsoft package repos for the distribution
@@ -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
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash -e
# Put snapd auto refresh on hold
# as it may generate too much traffic on Canonical's snap server
# when they are rolling a new major update out.
# Hold is calculated as today's date + 60 days
# snapd is started automatically, but during image generation
# a unix socket may die, restart snapd.service (and therefore snapd.socket)
# to make sure the socket is alive.
systemctl restart snapd.socket
systemctl restart snapd
snap set system refresh.hold="$(date --date='today+60 days' +%Y-%m-%dT%H:%M:%S%:z)"
@@ -0,0 +1,78 @@
function Get-CommandResult {
param (
[Parameter(Mandatory=$true)]
[string] $Command,
[int[]] $ExpectExitCode = 0,
[switch] $Multiline,
[bool] $ValidateExitCode = $true
)
# Bash trick to suppress and show error output because some commands write to stderr (for example, "python --version")
$stdout = & bash -c "$Command 2>&1"
$exitCode = $LASTEXITCODE
if ($ValidateExitCode) {
if ($ExpectExitCode -notcontains $exitCode) {
try {
throw "StdOut: '$stdout' ExitCode: '$exitCode'"
} catch {
Write-Host $_.Exception.Message
Write-Host $_.ScriptStackTrace
exit $LASTEXITCODE
}
}
}
return @{
Output = If ($Multiline -eq $true) { $stdout } else { [string]$stdout }
ExitCode = $exitCode
}
}
function Get-OSName {
lsb_release -ds
}
function Get-KernelVersion {
$kernelVersion = uname -r
return "Linux kernel version: $kernelVersion"
}
function Test-IsUbuntu18 {
return (lsb_release -rs) -eq "18.04"
}
function Test-IsUbuntu20 {
return (lsb_release -rs) -eq "20.04"
}
function Get-ToolsetContent {
$toolset = Join-Path $env:INSTALLER_SCRIPT_FOLDER "toolset.json"
Get-Content $toolset -Raw | ConvertFrom-Json
}
function Get-ToolsetValue {
param (
[Parameter(Mandatory = $true)]
[string] $KeyPath
)
$jsonNode = Get-ToolsetContent
$pathParts = $KeyPath.Split(".")
# try to walk through all arguments consequentially to resolve specific json node
$pathParts | ForEach-Object {
$jsonNode = $jsonNode.$_
}
return $jsonNode
}
function Get-AndroidPackages {
$androidSDKManagerPath = "/usr/local/lib/android/sdk/cmdline-tools/latest/bin/sdkmanager"
$androidPackages = & $androidSDKManagerPath --list --verbose
return $androidPackages
}
function Get-EnvironmentVariable($variable) {
return [System.Environment]::GetEnvironmentVariable($variable)
}
@@ -0,0 +1,158 @@
function Take-OutputPart {
param (
[Parameter(ValueFromPipeline)]
[string] $toolOutput,
[string] $Delimiter = " ",
[int[]] $Part
)
$parts = $toolOutput.Split($Delimiter, [System.StringSplitOptions]::RemoveEmptyEntries)
$selectedParts = $parts[$Part]
return [string]::Join($Delimiter, $selectedParts)
}
function New-MDNewLine {
param (
[int] $Count = 1
)
$newLineSymbol = [System.Environment]::NewLine
return $newLineSymbol * $Count
}
function Restore-UserOwner {
sudo chown -R ${env:USER}: $env:HOME
}
function Get-LinkTarget {
param (
[string] $inputPath
)
$link = Get-Item $inputPath | Select-Object -ExpandProperty Target
if ($link) {
return " -> $link"
}
return ""
}
function Get-PathWithLink {
param (
[string] $inputPath
)
$link = Get-LinkTarget($inputPath)
return "${inputPath}${link}"
}
function Get-CachedToolInstances
{
<#
.SYNOPSIS
Returns hastable of installed cached tools.
.DESCRIPTION
Return hastable that contains versions and architectures for selected cached tool.
.PARAMETER Name
Name of cached tool.
.PARAMETER VersionCommand
Optional parameter. Command to return version of system default tool.
.EXAMPLE
Get-CachedToolInstances -Name "Python" -VersionCommand "--version"
#>
param
(
[String] $Name,
[String] $VersionCommand
)
$toolInstances = @()
$toolPath = Join-Path -Path $env:AGENT_TOOLSDIRECTORY -ChildPath $Name
# Get all installed versions from TOOLSDIRECTORY folder
$versions = Get-ChildItem $toolPath | Sort-Object { [System.Version]$_.Name }
foreach ($version in $versions)
{
$instanceInfo = @{}
# Create instance hashtable
[string]$instanceInfo.Path = Join-Path -Path $toolPath -ChildPath $version.Name
[string]$instanceInfo.Version = $version.Name
# Get all architectures for current version
[array]$instanceInfo.Architecture_Array = Get-ChildItem $version.FullName -Name -Directory | Where-Object { $_ -match "^x[0-9]{2}$" }
[string]$instanceInfo.Architecture = $instanceInfo.Architecture_Array -Join ", "
# Add (default) postfix to version name, in case if current version is in environment path
if (-not ([string]::IsNullOrEmpty($VersionCommand)))
{
$defaultVersion = $(& ($Name.ToLower()) $VersionCommand 2>&1)
$defaultToolVersion = $defaultVersion | Select-String -Pattern "\d+\.\d+\.\d+" -AllMatches `
| ForEach-Object { $_.Matches.Value }
if ([version]$version.Name -eq [version]$defaultToolVersion)
{
$instanceInfo.Version += " (Default)"
}
}
$toolInstances += $instanceInfo
}
return $toolInstances
}
function Get-AptSourceRepository {
param([String] $PackageName)
$sourceUrl = Get-Content "$PSScriptRoot/../helpers/apt-sources.txt" | Select-String -Pattern $PackageName | Take-OutputPart -Part (1..3)
return $sourceUrl
}
function Test-BlankElement {
param(
[string] $Markdown
)
$splitByLines = $Markdown.Split("`n")
# Validate entry without version
$blankVersions = $splitByLines -match "^-" -notmatch "Image Version|MySQL Server|Vcpkg|\d\." | Out-String
# Validate tables with blank rows
$blankRows = ""
for($i = 0; $i -lt $splitByLines.Length; $i++) {
$addRows= $false
$table = @()
if ($splitByLines[$i].StartsWith("#") -and $splitByLines[$i+1].StartsWith("|")) {
$table += $splitByLines[$i,($i+1),($i+2)]
$i += 3
$current = $splitByLines[$i]
while ($current.StartsWith("|")) {
$isBlankRow = $current.Substring(1, $current.LastIndexOf("|") - 2).Split("|").Trim() -contains ""
if ($isBlankRow) {
$table += $current
$addRows = $true
}
$current = $splitByLines[++$i]
}
if ($addRows) {
$blankRows += $table | Out-String
}
}
}
# Display report
$isReport = $false
if ($blankVersions) {
Write-Host "Software list with blank version:`n${blankVersions}"
$isReport = $true
}
if ($blankRows) {
Write-Host "Tables with blank rows:`n${blankRows}"
$isReport = $true
}
if ($isReport) {
exit 1
}
}
@@ -0,0 +1,104 @@
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" -DisableNameChecking
# Validates that tool is installed and in PATH
function Validate-ToolExist($tool) {
Get-Command $tool -ErrorAction SilentlyContinue | Should -BeTrue
}
function Invoke-PesterTests {
Param(
[Parameter(Mandatory)][string] $TestFile,
[string] $TestName
)
$testPath = "/imagegeneration/tests/${TestFile}.Tests.ps1"
if (-not (Test-Path $testPath)) {
throw "Unable to find test file '$TestFile' on '$testPath'."
}
# Check that Pester module is imported
if (!(Get-Module "Pester")) {
Import-Module Pester
}
$configuration = [PesterConfiguration] @{
Run = @{ Path = $testPath; PassThru = $true }
Output = @{ Verbosity = "Detailed" }
}
if ($TestName) {
$configuration.Filter.FullName = $TestName
}
# Switch ErrorActionPreference to Stop temporary to make sure that tests will fail on silent errors too
$backupErrorActionPreference = $ErrorActionPreference
$ErrorActionPreference = "Stop"
$results = Invoke-Pester -Configuration $configuration
$ErrorActionPreference = $backupErrorActionPreference
# Fail in case if no tests are run
if (-not ($results -and ($results.FailedCount -eq 0) -and (($results.PassedCount + $results.SkippedCount) -gt 0))) {
$results
throw "Test run has failed"
}
}
function ShouldReturnZeroExitCode {
Param(
[string] $ActualValue,
[switch] $Negate,
[string] $Because # This parameter is unused but we need it to match Pester asserts signature
)
$result = Get-CommandResult $ActualValue -ValidateExitCode $false
[bool]$succeeded = $result.ExitCode -eq 0
if ($Negate) { $succeeded = -not $succeeded }
if (-not $succeeded)
{
$commandOutputIndent = " " * 4
$commandOutput = ($result.Output | ForEach-Object { "${commandOutputIndent}${_}" }) -join "`n"
$failureMessage = "Command '${ActualValue}' has finished with exit code`n${commandOutput}"
}
return [PSCustomObject] @{
Succeeded = $succeeded
FailureMessage = $failureMessage
}
}
function ShouldMatchCommandOutput {
Param(
[string] $ActualValue,
[string] $RegularExpression,
[switch] $Negate
)
$output = (Get-CommandResult $ActualValue -ValidateExitCode $false).Output | Out-String
[bool] $succeeded = $output -cmatch $RegularExpression
if ($Negate) {
$succeeded = -not $succeeded
}
$failureMessage = ''
if (-not $succeeded) {
if ($Negate) {
$failureMessage = "Expected regular expression '$RegularExpression' for '$ActualValue' command to not match '$output', but it did match."
}
else {
$failureMessage = "Expected regular expression '$RegularExpression' for '$ActualValue' command to match '$output', but it did not match."
}
}
return [PSCustomObject] @{
Succeeded = $succeeded
FailureMessage = $failureMessage
}
}
If (Get-Command -Name Add-ShouldOperator -ErrorAction SilentlyContinue) {
Add-ShouldOperator -Name ReturnZeroExitCode -InternalName ShouldReturnZeroExitCode -Test ${function:ShouldReturnZeroExitCode}
Add-ShouldOperator -Name MatchCommandOutput -InternalName ShouldMatchCommandOutput -Test ${function:ShouldMatchCommandOutput}
}
@@ -1,34 +0,0 @@
#!/bin/bash
################################################################################
## File: containercache.sh
## Desc: Prepulls Docker images used in build tasks and templates
################################################################################
source $HELPER_SCRIPTS/document.sh
# Check prereqs
echo "Checking prereqs for image pulls"
if ! command -v docker; then
echo "Docker is not installed, cant pull images"
exit 1
fi
# Information output
systemctl status docker --no-pager
# Pull images
images=(
docker.io/jekyll/builder
mcr.microsoft.com/azure-pipelines/node8-typescript
)
for image in "${images[@]}"; do
docker pull "$image"
done
## Add container information to the metadata file
DocumentInstalledItem "Cached container images"
while read -r line; do
DocumentInstalledItemIndent "$line"
done <<< "$(docker images --digests --format '{{.Repository}}:{{.Tag}} (Digest: {{.Digest}})')"
-42
View File
@@ -1,42 +0,0 @@
#!/bin/bash
################################################################################
## File: document.sh
## Desc: Helper functions for writing information to the metadata document
################################################################################
function WriteItem {
if [ -z "$METADATA_FILE" ]; then
echo "METADATA_FILE environment variable must be set to output to Metadata Document!"
return 1;
else
echo -e "$1" | sudo tee -a "$METADATA_FILE"
fi
}
function AddTitle {
WriteItem "# $1"
}
function AddSubTitle {
WriteItem "## $1"
}
function DocumentInstalledItem {
WriteItem "- $1"
}
function DocumentInstalledItemIndent {
WriteItem " - $1"
}
function AddBlockquote {
WriteItem "> $1"
}
function StartCode {
WriteItem '```'
}
function EndCode {
WriteItem '```'
}
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
################################################################################
## File: etc-environment.sh
## Desc: Helper functions for source and modify /etc/environment
@@ -18,7 +18,7 @@ function addEtcEnvironmentVariable {
variable_name="$1"
variable_value="$2"
echo "$variable_name=\"$variable_value\"" | sudo tee -a /etc/environment
echo "$variable_name=$variable_value" | sudo tee -a /etc/environment
}
function replaceEtcEnvironmentVariable {
+37 -14
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
################################################################################
## File: install.sh
## Desc: Helper functions for installing tools
@@ -13,22 +13,30 @@ download_with_retries() {
local NAME="${3:-${URL##*/}}"
local COMPRESSED="$4"
if [ $COMPRESSED == "compressed" ]; then
COMMAND="curl $URL -4 -sL --compressed -o '$DEST/$NAME'"
if [[ $COMPRESSED == "compressed" ]]; then
local COMMAND="curl $URL -4 -sL --compressed -o '$DEST/$NAME' -w '%{http_code}'"
else
COMMAND="curl $URL -4 -sL -o '$DEST/$NAME'"
local COMMAND="curl $URL -4 -sL -o '$DEST/$NAME' -w '%{http_code}'"
fi
echo "Downloading $URL..."
i=20
while [ $i -gt 0 ]; do
((i--))
eval $COMMAND
if [ $? != 0 ]; then
sleep 30
else
echo "Downloading '$URL' to '${DEST}/${NAME}'..."
retries=20
interval=30
while [ $retries -gt 0 ]; do
((retries--))
# Temporary disable exit on error to retry on non-zero exit code
set +e
http_code=$(eval $COMMAND)
exit_code=$?
if [ $http_code -eq 200 ] && [ $exit_code -eq 0 ]; then
echo "Download completed"
return 0
else
echo "Error — Either HTTP response code for '$URL' is wrong - '$http_code' or exit code is not 0 - '$exit_code'. Waiting $interval seconds before the next attempt, $retries attempts left"
sleep 30
fi
# Enable exit on error back
set -e
done
echo "Could not download $URL"
@@ -40,6 +48,21 @@ download_with_retries() {
## if ! IsPackageInstalled packageName; then
## echo "packageName is not installed!"
## fi
function IsPackageInstalled {
IsPackageInstalled() {
dpkg -S $1 &> /dev/null
}
}
verlte() {
sortedVersion=$(echo -e "$1\n$2" | sort -V | head -n1)
[ "$1" = "$sortedVersion" ]
}
get_toolset_path() {
echo "/imagegeneration/installers/toolset.json"
}
get_toolset_value() {
local toolset_path=$(get_toolset_path)
local query=$1
echo "$(jq -r "$query" $toolset_path)"
}
@@ -0,0 +1,8 @@
#!/bin/bash -e
################################################################################
## File: invoke-tests.sh
## Desc: Helper function for invoking tests
################################################################################
pwsh -Command "Import-Module '$HELPER_SCRIPTS/Tests.Helpers.psm1' -DisableNameChecking
Invoke-PesterTests -TestFile \"$1\" -TestName \"$2\""
@@ -0,0 +1,193 @@
#!/bin/bash -e
#
# Temporary fix for the https://github.com/actions/virtual-environments/issues/4732 issue
# Taken from the official ubuntu:20.04 docker container
### BEGIN INIT INFO
# Provides: mysql
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: $network $time
# Should-Stop: $network $time
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and stop the mysql database server daemon
# Description: Controls the main MySQL database server daemon "mysqld"
# and its wrapper script "mysqld_safe".
### END INIT INFO
#
set -e
set -u
${DEBIAN_SCRIPT_DEBUG:+ set -v -x}
test -x /usr/bin/mysqld_safe || exit 0
. /lib/lsb/init-functions
SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
CONF=/etc/mysql/my.cnf
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
# priority can be overriden and "-s" adds output to stderr
ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mysql -i"
# Safeguard (relative paths, core dumps..)
cd /
umask 077
# mysqladmin likes to read /root/.my.cnf. This is usually not what I want
# as many admins e.g. only store a password without a username there and
# so break my scripts.
export HOME=/etc/mysql/
## Fetch a particular option from mysql's invocation.
#
# Usage: void mysqld_get_param option
mysqld_get_param() {
/usr/sbin/mysqld --print-defaults \
| tr " " "\n" \
| grep -- "--$1" \
| tail -n 1 \
| cut -d= -f2
}
## Do some sanity checks before even trying to start mysqld.
sanity_checks() {
# check for config file
if [ ! -r /etc/mysql/my.cnf ]; then
log_warning_msg "$0: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz"
echo "WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz" | $ERR_LOGGER
fi
# check for diskspace shortage
datadir=`mysqld_get_param datadir`
if LC_ALL=C BLOCKSIZE= df --portability $datadir/. | tail -n 1 | awk '{ exit ($4>4096) }'; then
log_failure_msg "$0: ERROR: The partition with $datadir is too full!"
echo "ERROR: The partition with $datadir is too full!" | $ERR_LOGGER
exit 1
fi
}
## Checks if there is a server running and if so if it is accessible.
#
# check_alive insists on a pingable server
# check_dead also fails if there is a lost mysqld in the process list
#
# Usage: boolean mysqld_status [check_alive|check_dead] [warn|nowarn]
mysqld_status () {
ping_output=`$MYADMIN ping 2>&1`; ping_alive=$(( ! $? ))
ps_alive=0
pidfile=`mysqld_get_param pid-file`
if [ -f "$pidfile" ] && ps `cat $pidfile` >/dev/null 2>&1; then ps_alive=1; fi
if [ "$1" = "check_alive" -a $ping_alive = 1 ] ||
[ "$1" = "check_dead" -a $ping_alive = 0 -a $ps_alive = 0 ]; then
return 0 # EXIT_SUCCESS
else
if [ "$2" = "warn" ]; then
echo -e "$ps_alive processes alive and '$MYADMIN ping' resulted in\n$ping_output\n" | $ERR_LOGGER -p daemon.debug
fi
return 1 # EXIT_FAILURE
fi
}
#
# main()
#
case "${1:-''}" in
'start')
sanity_checks;
# Start daemon
log_daemon_msg "Starting MySQL database server" "mysqld"
if mysqld_status check_alive nowarn; then
log_progress_msg "already running"
log_end_msg 0
else
# Could be removed during boot
test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld
# Start MySQL!
su - mysql -s /bin/sh -c "/usr/bin/mysqld_safe > /dev/null 2>&1 &"
# 6s was reported in #352070 to be too few when using ndbcluster
# 14s was reported in #736452 to be too few with large installs
for i in $(seq 1 30); do
sleep 1
if mysqld_status check_alive nowarn ; then break; fi
log_progress_msg "."
done
if mysqld_status check_alive warn; then
log_end_msg 0
# Now start mysqlcheck or whatever the admin wants.
output=$(/etc/mysql/debian-start)
[ -n "$output" ] && log_action_msg "$output"
else
log_end_msg 1
log_failure_msg "Please take a look at the syslog"
fi
fi
;;
'stop')
# * As a passwordless mysqladmin (e.g. via ~/.my.cnf) must be possible
# at least for cron, we can rely on it here, too. (although we have
# to specify it explicit as e.g. sudo environments points to the normal
# users home and not /root)
log_daemon_msg "Stopping MySQL database server" "mysqld"
if ! mysqld_status check_dead nowarn; then
set +e
shutdown_out=`$MYADMIN shutdown 2>&1`; r=$?
set -e
if [ "$r" -ne 0 ]; then
log_end_msg 1
[ "$VERBOSE" != "no" ] && log_failure_msg "Error: $shutdown_out"
log_daemon_msg "Killing MySQL database server by signal" "mysqld"
killall -15 mysqld
server_down=
for i in 1 2 3 4 5 6 7 8 9 10; do
sleep 1
if mysqld_status check_dead nowarn; then server_down=1; break; fi
done
if test -z "$server_down"; then killall -9 mysqld; fi
fi
fi
if ! mysqld_status check_dead warn; then
log_end_msg 1
log_failure_msg "Please stop MySQL manually and read /usr/share/doc/mysql-server-5.7/README.Debian.gz!"
exit -1
else
log_end_msg 0
fi
;;
'restart')
set +e; $SELF stop; set -e
$SELF start
;;
'reload'|'force-reload')
log_daemon_msg "Reloading MySQL database server" "mysqld"
$MYADMIN reload
log_end_msg 0
;;
'status')
if mysqld_status check_alive nowarn; then
log_action_msg "$($MYADMIN version)"
else
log_action_msg "MySQL is stopped."
exit 3
fi
;;
*)
echo "Usage: $SELF start|stop|restart|reload|force-reload|status"
exit 1
;;
esac
# Some success paths end up returning non-zero so exit 0 explicitly. See
# bug #739846.
exit 0
+1 -6
View File
@@ -1,14 +1,9 @@
#!/bin/bash
#!/bin/bash -e
################################################################################
## File: install-helpers.sh
## Desc: Helper functions for installing tools
################################################################################
function isUbuntu16
{
lsb_release -d | grep -q 'Ubuntu 16'
}
function isUbuntu18
{
lsb_release -d | grep -q 'Ubuntu 18'
@@ -1,171 +0,0 @@
#!/bin/bash
################################################################################
## File: android.sh
## Desc: Installs Android SDK
################################################################################
set -e
# Source the helpers for use with the script
source $HELPER_SCRIPTS/document.sh
# Set env variable for SDK Root (https://developer.android.com/studio/command-line/variables)
ANDROID_ROOT=/usr/local/lib/android
ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk
echo "ANDROID_SDK_ROOT=${ANDROID_SDK_ROOT}" | tee -a /etc/environment
# ANDROID_HOME is deprecated, but older versions of Gradle rely on it
echo "ANDROID_HOME=${ANDROID_SDK_ROOT}" | tee -a /etc/environment
# Create android sdk directory
mkdir -p ${ANDROID_SDK_ROOT}
# Download the latest command line tools so that we can accept all of the licenses.
# See https://developer.android.com/studio/#command-tools
wget -O android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip android-sdk.zip -d ${ANDROID_SDK_ROOT}
rm -f android-sdk.zip
# Check sdk manager installation
/usr/local/lib/android/sdk/tools/bin/sdkmanager --list 1>/dev/null
if [ $? -eq 0 ]
then
echo "Android SDK manager was installed"
else
echo "Android SDK manager was not installed"
exit 1
fi
# Add required permissions
chmod -R a+X ${ANDROID_SDK_ROOT}
# Install the following SDKs and build tools, passing in "y" to accept licenses.
echo "y" | ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager \
"ndk-bundle" \
"platform-tools" \
"platforms;android-30" \
"platforms;android-29" \
"platforms;android-28" \
"platforms;android-27" \
"platforms;android-26" \
"platforms;android-25" \
"platforms;android-24" \
"platforms;android-23" \
"platforms;android-22" \
"platforms;android-21" \
"platforms;android-19" \
"platforms;android-17" \
"platforms;android-15" \
"platforms;android-10" \
"build-tools;30.0.1" \
"build-tools;30.0.0" \
"build-tools;29.0.3" \
"build-tools;29.0.2" \
"build-tools;29.0.0" \
"build-tools;28.0.3" \
"build-tools;28.0.2" \
"build-tools;28.0.1" \
"build-tools;28.0.0" \
"build-tools;27.0.3" \
"build-tools;27.0.2" \
"build-tools;27.0.1" \
"build-tools;27.0.0" \
"build-tools;26.0.3" \
"build-tools;26.0.2" \
"build-tools;26.0.1" \
"build-tools;26.0.0" \
"build-tools;25.0.3" \
"build-tools;25.0.2" \
"build-tools;25.0.1" \
"build-tools;25.0.0" \
"build-tools;24.0.3" \
"build-tools;24.0.2" \
"build-tools;24.0.1" \
"build-tools;24.0.0" \
"build-tools;23.0.3" \
"build-tools;23.0.2" \
"build-tools;23.0.1" \
"build-tools;22.0.1" \
"build-tools;21.1.2" \
"build-tools;20.0.0" \
"build-tools;19.1.0" \
"build-tools;17.0.0" \
"extras;android;m2repository" \
"extras;google;m2repository" \
"extras;google;google_play_services" \
"extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2" \
"extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.1" \
"extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2" \
"extras;m2repository;com;android;support;constraint;constraint-layout;1.0.1" \
"add-ons;addon-google_apis-google-24" \
"add-ons;addon-google_apis-google-23" \
"add-ons;addon-google_apis-google-22" \
"add-ons;addon-google_apis-google-21" \
"cmake;3.6.4111459" \
"cmake;3.10.2.4988404" \
"patcher;v4"
# Document what was added to the image
echo "Lastly, document what was added to the metadata file"
DocumentInstalledItem "Google Repository $(cat ${ANDROID_SDK_ROOT}/extras/google/m2repository/source.properties 2>&1 | grep Pkg.Revision | cut -d '=' -f 2)"
DocumentInstalledItem "Google Play services $(cat ${ANDROID_SDK_ROOT}/extras/google/google_play_services/source.properties 2>&1 | grep Pkg.Revision | cut -d '=' -f 2)"
DocumentInstalledItem "Google APIs 24"
DocumentInstalledItem "Google APIs 23"
DocumentInstalledItem "Google APIs 22"
DocumentInstalledItem "Google APIs 21"
DocumentInstalledItem "CMake $(ls ${ANDROID_SDK_ROOT}/cmake 2>&1)"
DocumentInstalledItem "Android Support Repository 47.0.0"
DocumentInstalledItem "Android Solver for ConstraintLayout 1.0.2"
DocumentInstalledItem "Android Solver for ConstraintLayout 1.0.1"
DocumentInstalledItem "Android SDK Platform-Tools $(cat ${ANDROID_SDK_ROOT}/platform-tools/source.properties 2>&1 | grep Pkg.Revision | cut -d '=' -f 2)"
DocumentInstalledItem "Android SDK Platform 30"
DocumentInstalledItem "Android SDK Platform 29"
DocumentInstalledItem "Android SDK Platform 28"
DocumentInstalledItem "Android SDK Platform 27"
DocumentInstalledItem "Android SDK Platform 26"
DocumentInstalledItem "Android SDK Platform 25"
DocumentInstalledItem "Android SDK Platform 24"
DocumentInstalledItem "Android SDK Platform 23"
DocumentInstalledItem "Android SDK Platform 22"
DocumentInstalledItem "Android SDK Platform 21"
DocumentInstalledItem "Android SDK Platform 19"
DocumentInstalledItem "Android SDK Platform 17"
DocumentInstalledItem "Android SDK Platform 15"
DocumentInstalledItem "Android SDK Platform 10"
DocumentInstalledItem "Android SDK Patch Applier v4"
DocumentInstalledItem "Android SDK Build-Tools 30.0.1"
DocumentInstalledItem "Android SDK Build-Tools 30.0.0"
DocumentInstalledItem "Android SDK Build-Tools 29.0.3"
DocumentInstalledItem "Android SDK Build-Tools 29.0.2"
DocumentInstalledItem "Android SDK Build-Tools 29.0.0"
DocumentInstalledItem "Android SDK Build-Tools 28.0.3"
DocumentInstalledItem "Android SDK Build-Tools 28.0.2"
DocumentInstalledItem "Android SDK Build-Tools 28.0.1"
DocumentInstalledItem "Android SDK Build-Tools 28.0.0"
DocumentInstalledItem "Android SDK Build-Tools 27.0.3"
DocumentInstalledItem "Android SDK Build-Tools 27.0.2"
DocumentInstalledItem "Android SDK Build-Tools 27.0.1"
DocumentInstalledItem "Android SDK Build-Tools 27.0.0"
DocumentInstalledItem "Android SDK Build-Tools 26.0.3"
DocumentInstalledItem "Android SDK Build-Tools 26.0.2"
DocumentInstalledItem "Android SDK Build-Tools 26.0.1"
DocumentInstalledItem "Android SDK Build-Tools 26.0.0"
DocumentInstalledItem "Android SDK Build-Tools 25.0.3"
DocumentInstalledItem "Android SDK Build-Tools 25.0.2"
DocumentInstalledItem "Android SDK Build-Tools 25.0.1"
DocumentInstalledItem "Android SDK Build-Tools 25.0.0"
DocumentInstalledItem "Android SDK Build-Tools 24.0.3"
DocumentInstalledItem "Android SDK Build-Tools 24.0.2"
DocumentInstalledItem "Android SDK Build-Tools 24.0.1"
DocumentInstalledItem "Android SDK Build-Tools 24.0.0"
DocumentInstalledItem "Android SDK Build-Tools 23.0.3"
DocumentInstalledItem "Android SDK Build-Tools 23.0.2"
DocumentInstalledItem "Android SDK Build-Tools 23.0.1"
DocumentInstalledItem "Android SDK Build-Tools 22.0.1"
DocumentInstalledItem "Android SDK Build-Tools 21.1.2"
DocumentInstalledItem "Android SDK Build-Tools 20.0.0"
DocumentInstalledItem "Android SDK Build-Tools 19.1.0"
DocumentInstalledItem "Android SDK Build-Tools 17.0.0"
DocumentInstalledItem "Android NDK $(cat ${ANDROID_SDK_ROOT}/ndk-bundle/source.properties 2>&1 | grep Pkg.Revision | cut -d ' ' -f 3)"
DocumentInstalledItem "Android ConstraintLayout 1.0.2"
DocumentInstalledItem "Android ConstraintLayout 1.0.1"
@@ -1,159 +0,0 @@
#!/bin/bash
################################################################################
## File: android.sh
## Desc: Installs Android SDK
################################################################################
set -e
# Source the helpers for use with the script
source $HELPER_SCRIPTS/document.sh
# Set env variable for SDK Root (https://developer.android.com/studio/command-line/variables)
ANDROID_ROOT=/usr/local/lib/android
ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk
echo "ANDROID_SDK_ROOT=${ANDROID_SDK_ROOT}" | tee -a /etc/environment
# ANDROID_HOME is deprecated, but older versions of Gradle rely on it
echo "ANDROID_HOME=${ANDROID_SDK_ROOT}" | tee -a /etc/environment
# Create android sdk directory
mkdir -p ${ANDROID_SDK_ROOT}
# Download the latest command line tools so that we can accept all of the licenses.
# See https://developer.android.com/studio/#command-tools
wget -O android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip android-sdk.zip -d ${ANDROID_SDK_ROOT}
rm -f android-sdk.zip
# Add required permissions
chmod -R a+X ${ANDROID_SDK_ROOT}
# Check sdk manager installation
/usr/local/lib/android/sdk/tools/bin/sdkmanager --list 1>/dev/null
if [ $? -eq 0 ]
then
echo "Android SDK manager was installed"
else
echo "Android SDK manager was not installed"
exit 1
fi
# Install the following SDKs and build tools, passing in "y" to accept licenses.
echo "y" | ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager \
"ndk-bundle" \
"platform-tools" \
"platforms;android-30" \
"platforms;android-29" \
"platforms;android-28" \
"platforms;android-27" \
"platforms;android-26" \
"platforms;android-25" \
"platforms;android-24" \
"platforms;android-23" \
"platforms;android-22" \
"platforms;android-21" \
"platforms;android-19" \
"platforms;android-17" \
"build-tools;30.0.1" \
"build-tools;30.0.0" \
"build-tools;29.0.3" \
"build-tools;29.0.2" \
"build-tools;29.0.0" \
"build-tools;28.0.3" \
"build-tools;28.0.2" \
"build-tools;28.0.1" \
"build-tools;28.0.0" \
"build-tools;27.0.3" \
"build-tools;27.0.2" \
"build-tools;27.0.1" \
"build-tools;27.0.0" \
"build-tools;26.0.3" \
"build-tools;26.0.2" \
"build-tools;26.0.1" \
"build-tools;26.0.0" \
"build-tools;25.0.3" \
"build-tools;25.0.2" \
"build-tools;25.0.1" \
"build-tools;25.0.0" \
"build-tools;24.0.3" \
"build-tools;24.0.2" \
"build-tools;24.0.1" \
"build-tools;24.0.0" \
"build-tools;23.0.3" \
"build-tools;23.0.2" \
"build-tools;23.0.1" \
"build-tools;22.0.1" \
"build-tools;21.1.2" \
"build-tools;20.0.0" \
"build-tools;19.1.0" \
"build-tools;17.0.0" \
"extras;android;m2repository" \
"extras;google;m2repository" \
"extras;google;google_play_services" \
"add-ons;addon-google_apis-google-24" \
"add-ons;addon-google_apis-google-23" \
"add-ons;addon-google_apis-google-22" \
"add-ons;addon-google_apis-google-21" \
"cmake;3.6.4111459" \
"cmake;3.10.2.4988404" \
"patcher;v4"
# Document what was added to the image
echo "Lastly, document what was added to the metadata file"
DocumentInstalledItem "Google Repository $(cat ${ANDROID_SDK_ROOT}/extras/google/m2repository/source.properties 2>&1 | grep Pkg.Revision | cut -d '=' -f 2)"
DocumentInstalledItem "Google Play services $(cat ${ANDROID_SDK_ROOT}/extras/google/google_play_services/source.properties 2>&1 | grep Pkg.Revision | cut -d '=' -f 2)"
DocumentInstalledItem "Google APIs 24"
DocumentInstalledItem "Google APIs 23"
DocumentInstalledItem "Google APIs 22"
DocumentInstalledItem "Google APIs 21"
DocumentInstalledItem "CMake $(ls ${ANDROID_SDK_ROOT}/cmake 2>&1)"
DocumentInstalledItem "Android Support Repository 47.0.0"
DocumentInstalledItem "Android SDK Platform-Tools $(cat ${ANDROID_SDK_ROOT}/platform-tools/source.properties 2>&1 | grep Pkg.Revision | cut -d '=' -f 2)"
DocumentInstalledItem "Android SDK Platform 30"
DocumentInstalledItem "Android SDK Platform 29"
DocumentInstalledItem "Android SDK Platform 28"
DocumentInstalledItem "Android SDK Platform 27"
DocumentInstalledItem "Android SDK Platform 26"
DocumentInstalledItem "Android SDK Platform 25"
DocumentInstalledItem "Android SDK Platform 24"
DocumentInstalledItem "Android SDK Platform 23"
DocumentInstalledItem "Android SDK Platform 22"
DocumentInstalledItem "Android SDK Platform 21"
DocumentInstalledItem "Android SDK Platform 19"
DocumentInstalledItem "Android SDK Platform 17"
DocumentInstalledItem "Android SDK Patch Applier v4"
DocumentInstalledItem "Android SDK Build-Tools 30.0.1"
DocumentInstalledItem "Android SDK Build-Tools 30.0.0"
DocumentInstalledItem "Android SDK Build-Tools 29.0.3"
DocumentInstalledItem "Android SDK Build-Tools 29.0.2"
DocumentInstalledItem "Android SDK Build-Tools 29.0.0"
DocumentInstalledItem "Android SDK Build-Tools 28.0.3"
DocumentInstalledItem "Android SDK Build-Tools 28.0.2"
DocumentInstalledItem "Android SDK Build-Tools 28.0.1"
DocumentInstalledItem "Android SDK Build-Tools 28.0.0"
DocumentInstalledItem "Android SDK Build-Tools 27.0.3"
DocumentInstalledItem "Android SDK Build-Tools 27.0.2"
DocumentInstalledItem "Android SDK Build-Tools 27.0.1"
DocumentInstalledItem "Android SDK Build-Tools 27.0.0"
DocumentInstalledItem "Android SDK Build-Tools 26.0.3"
DocumentInstalledItem "Android SDK Build-Tools 26.0.2"
DocumentInstalledItem "Android SDK Build-Tools 26.0.1"
DocumentInstalledItem "Android SDK Build-Tools 26.0.0"
DocumentInstalledItem "Android SDK Build-Tools 25.0.3"
DocumentInstalledItem "Android SDK Build-Tools 25.0.2"
DocumentInstalledItem "Android SDK Build-Tools 25.0.1"
DocumentInstalledItem "Android SDK Build-Tools 25.0.0"
DocumentInstalledItem "Android SDK Build-Tools 24.0.3"
DocumentInstalledItem "Android SDK Build-Tools 24.0.2"
DocumentInstalledItem "Android SDK Build-Tools 24.0.1"
DocumentInstalledItem "Android SDK Build-Tools 24.0.0"
DocumentInstalledItem "Android SDK Build-Tools 23.0.3"
DocumentInstalledItem "Android SDK Build-Tools 23.0.2"
DocumentInstalledItem "Android SDK Build-Tools 23.0.1"
DocumentInstalledItem "Android SDK Build-Tools 22.0.1"
DocumentInstalledItem "Android SDK Build-Tools 21.1.2"
DocumentInstalledItem "Android SDK Build-Tools 20.0.0"
DocumentInstalledItem "Android SDK Build-Tools 19.1.0"
DocumentInstalledItem "Android SDK Build-Tools 17.0.0"
DocumentInstalledItem "Android NDK $(cat ${ANDROID_SDK_ROOT}/ndk-bundle/source.properties 2>&1 | grep Pkg.Revision | cut -d ' ' -f 3)"
@@ -1,100 +0,0 @@
#!/bin/bash
################################################################################
## File: android.sh
## Desc: Installs Android SDK
################################################################################
set -e
# Source the helpers for use with the script
source $HELPER_SCRIPTS/document.sh
source $HELPER_SCRIPTS/os.sh
# Set env variable for SDK Root (https://developer.android.com/studio/command-line/variables)
ANDROID_ROOT=/usr/local/lib/android
ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk
echo "ANDROID_SDK_ROOT=${ANDROID_SDK_ROOT}" | tee -a /etc/environment
# ANDROID_HOME is deprecated, but older versions of Gradle rely on it
echo "ANDROID_HOME=${ANDROID_SDK_ROOT}" | tee -a /etc/environment
# Create android sdk directory
mkdir -p ${ANDROID_SDK_ROOT}
# Download the latest command line tools so that we can accept all of the licenses.
# See https://developer.android.com/studio/#command-tools
wget -O android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip android-sdk.zip -d ${ANDROID_SDK_ROOT}
rm -f android-sdk.zip
# Add required permissions
chmod -R a+X ${ANDROID_SDK_ROOT}
if isUbuntu20 ; then
# Sdk manager doesn't work with Java > 8, set version 8 explicitly
sed -i "2i export JAVA_HOME=${JAVA_HOME_8_X64}" /usr/local/lib/android/sdk/tools/bin/sdkmanager
fi
# Check sdk manager installation
/usr/local/lib/android/sdk/tools/bin/sdkmanager --list 1>/dev/null
if [ $? -eq 0 ]
then
echo "Android SDK manager was installed"
else
echo "Android SDK manager was not installed"
exit 1
fi
# Install the following SDKs and build tools, passing in "y" to accept licenses.
echo "y" | ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager \
"ndk-bundle" \
"platform-tools" \
"platforms;android-30" \
"platforms;android-29" \
"platforms;android-28" \
"platforms;android-27" \
"build-tools;30.0.1" \
"build-tools;30.0.0" \
"build-tools;29.0.3" \
"build-tools;29.0.2" \
"build-tools;29.0.0" \
"build-tools;28.0.3" \
"build-tools;28.0.2" \
"build-tools;28.0.1" \
"build-tools;28.0.0" \
"build-tools;27.0.3" \
"build-tools;27.0.2" \
"build-tools;27.0.1" \
"build-tools;27.0.0" \
"extras;android;m2repository" \
"extras;google;m2repository" \
"extras;google;google_play_services" \
"cmake;3.10.2.4988404" \
"patcher;v4"
# Document what was added to the image
echo "Lastly, document what was added to the metadata file"
DocumentInstalledItem "Google Repository $(cat ${ANDROID_SDK_ROOT}/extras/google/m2repository/source.properties 2>&1 | grep Pkg.Revision | cut -d '=' -f 2)"
DocumentInstalledItem "Google Play services $(cat ${ANDROID_SDK_ROOT}/extras/google/google_play_services/source.properties 2>&1 | grep Pkg.Revision | cut -d '=' -f 2)"
DocumentInstalledItem "CMake $(ls ${ANDROID_SDK_ROOT}/cmake 2>&1)"
DocumentInstalledItem "Android Support Repository 47.0.0"
DocumentInstalledItem "Android SDK Platform-Tools $(cat ${ANDROID_SDK_ROOT}/platform-tools/source.properties 2>&1 | grep Pkg.Revision | cut -d '=' -f 2)"
DocumentInstalledItem "Android SDK Platform 30"
DocumentInstalledItem "Android SDK Platform 29"
DocumentInstalledItem "Android SDK Platform 28"
DocumentInstalledItem "Android SDK Platform 27"
DocumentInstalledItem "Android SDK Patch Applier v4"
DocumentInstalledItem "Android SDK Build-Tools 30.0.1"
DocumentInstalledItem "Android SDK Build-Tools 30.0.0"
DocumentInstalledItem "Android SDK Build-Tools 29.0.3"
DocumentInstalledItem "Android SDK Build-Tools 29.0.2"
DocumentInstalledItem "Android SDK Build-Tools 29.0.0"
DocumentInstalledItem "Android SDK Build-Tools 28.0.3"
DocumentInstalledItem "Android SDK Build-Tools 28.0.2"
DocumentInstalledItem "Android SDK Build-Tools 28.0.1"
DocumentInstalledItem "Android SDK Build-Tools 28.0.0"
DocumentInstalledItem "Android SDK Build-Tools 27.0.3"
DocumentInstalledItem "Android SDK Build-Tools 27.0.2"
DocumentInstalledItem "Android SDK Build-Tools 27.0.1"
DocumentInstalledItem "Android SDK Build-Tools 27.0.0"
DocumentInstalledItem "Android NDK $(cat ${ANDROID_SDK_ROOT}/ndk-bundle/source.properties 2>&1 | grep Pkg.Revision | cut -d ' ' -f 3)"
-23
View File
@@ -1,23 +0,0 @@
#!/bin/bash
################################################################################
## File: 7-zip.sh
## Desc: Installs 7-zip
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/document.sh
# Install 7-Zip
apt-get update -y
apt-get install -y p7zip p7zip-full p7zip-rar
# Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"
if ! command -v 7z; then
echo "7-Zip was not installed"
exit 1
fi
# Document what was added to the image
echo "Lastly, documenting what we added to the metadata file"
DocumentInstalledItem "7-Zip $(7z i | head --lines=2 | cut -d ' ' -f 3 | tr -d '\n')"
@@ -4,6 +4,8 @@
## Desc: Configure toolset
################################################################################
Import-Module "$env:HELPER_SCRIPTS/Tests.Helpers.psm1" -DisableNameChecking
function Get-ToolsetToolFullPath
{
param
@@ -37,12 +39,8 @@ $ErrorActionPreference = "Stop"
Write-Host "Configure toolset tools environment..."
$toolsEnvironment = @{
boost = @{
variableTemplate = "BOOST_ROOT_{0}_{1}_{2}"
}
go = @{
command = "ln -s {0}/bin/* /usr/bin/"
defaultVariable = "GOROOT"
variableTemplate = "GOROOT_{0}_{1}_X64"
}
}
@@ -93,3 +91,5 @@ foreach ($tool in $toolset.toolcache)
Invoke-Expression -Command $command
}
}
Invoke-PesterTests -TestFile "Toolset" -TestName "Toolset"
@@ -0,0 +1,40 @@
$ErrorActionPreference = "Stop"
$ProgressPreference = "SilentlyContinue"
Import-Module "$env:HELPER_SCRIPTS/Tests.Helpers.psm1" -DisableNameChecking
# Get modules content from toolset
$modules = (Get-ToolsetContent).azureModules
$installPSModulePath = "/usr/share"
foreach ($module in $modules)
{
$moduleName = $module.name
Write-Host "Installing ${moduleName} to the ${installPSModulePath} path..."
foreach ($version in $module.versions)
{
$modulePath = Join-Path -Path $installPSModulePath -ChildPath "${moduleName}_${version}"
Write-Host " - $version [$modulePath]"
Save-Module -Path $modulePath -Name $moduleName -RequiredVersion $version -Force
}
$assets = Invoke-RestMethod $module.url
# Get github release asset for each version
foreach ($toolVersion in $module.zip_versions) {
$asset = $assets | Where-Object version -eq $toolVersion `
| Select-Object -ExpandProperty files `
| Select-Object -First 1
Write-Host "Installing $($module.name) $toolVersion ..."
if ($null -ne $asset) {
Write-Host "Download $($asset.filename)"
wget $asset.download_url -nv --retry-connrefused --tries=10 -P $installPSModulePath
} else {
Write-Host "Asset was not found in versions manifest"
exit 1
}
}
}
Invoke-PesterTests -TestFile "PowerShellModules" -TestName "AzureModules"
@@ -0,0 +1,34 @@
$ErrorActionPreference = "Stop"
$ProgressPreference = "SilentlyContinue"
Import-Module "$env:HELPER_SCRIPTS/Tests.Helpers.psm1" -DisableNameChecking
# Specifies the installation policy
Set-PSRepository -InstallationPolicy Trusted -Name PSGallery
# Try to update PowerShellGet before the actual installation
Install-Module -Name PowerShellGet -Force
Update-Module -Name PowerShellGet -Force
# Install PowerShell modules
$modules = (Get-ToolsetContent).powershellModules
foreach($module in $modules)
{
$moduleName = $module.name
Write-Host "Installing ${moduleName} module"
if ($module.versions)
{
foreach ($version in $module.versions)
{
Write-Host " - $version"
Install-Module -Name $moduleName -RequiredVersion $version -Scope AllUsers -SkipPublisherCheck -Force
}
continue
}
Install-Module -Name $moduleName -Scope AllUsers -SkipPublisherCheck -Force
}
Invoke-PesterTests -TestFile "PowerShellModules" -TestName "PowerShellModules"
@@ -27,10 +27,9 @@ Function Install-Asset {
$ErrorActionPreference = "Stop"
# Get toolset content
$toolsetJson = Get-Content -Path "$env:INSTALLER_SCRIPT_FOLDER/toolset.json" -Raw
$toolsToInstall = @("Python", "Node", "Boost", "Go")
$toolset = Get-Content -Path "$env:INSTALLER_SCRIPT_FOLDER/toolset.json" -Raw
$tools = ConvertFrom-Json -InputObject $toolsetJson | Select-Object -ExpandProperty toolcache | Where-Object {$ToolsToInstall -contains $_.Name}
$tools = ConvertFrom-Json -InputObject $toolset | Select-Object -ExpandProperty toolcache | Where-Object {$_.url -ne $null }
foreach ($tool in $tools) {
# Get versions manifest for current tool
@@ -51,8 +50,5 @@ foreach ($tool in $tools) {
exit 1
}
}
chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" "/opt/hostedtoolcache/$($tool.name)"
}
chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" /opt/hostedtoolcache/Python
chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" /opt/hostedtoolcache/node
chown -R "$($env:SUDO_USER):$($env:SUDO_USER)" /opt/hostedtoolcache/go
@@ -1,92 +0,0 @@
################################################################################
## File: Validate-Toolset.ps1
## Team: CI-Build
## Desc: Validate Toolset
################################################################################
function Run-ExecutableTests {
param (
[Parameter(Mandatory)] [string[]] $Executables,
[Parameter(Mandatory)] [string] $ToolPath
)
$versionCommand = $Executables["command"]
foreach ($executable in $Executables["tools"]) {
$executablePath = Join-Path $ToolPath $executable
Write-Host "Check $executable..."
if (Test-Path $executablePath) {
Write-Host "$executable is successfully installed: $(& $executablePath $versionCommand)"
} else {
Write-Host "$executablePath is not installed!"
exit 1
}
}
}
$ErrorActionPreference = "Stop"
# Define executables for cached tools
$toolsExecutables = @{
Python = @{
tools = @("python", "bin/pip")
command = "--version"
}
node = @{
tools = @("bin/node", "bin/npm")
command = "--version"
}
PyPy = @{
tools = @("bin/python", "bin/pip")
command = "--version"
}
go = @{
tools = @("bin/go")
command = "version"
}
}
# Get toolset content
$toolsetJson = Get-Content -Path "$env:INSTALLER_SCRIPT_FOLDER/toolset.json" -Raw
$tools = ConvertFrom-Json -InputObject $toolsetJson | Select-Object -ExpandProperty toolcache
foreach($tool in $tools) {
Invoke-Expression "bash -c `"source $env:HELPER_SCRIPTS/document.sh; DocumentInstalledItem '$($tool.name):'`""
$toolPath = Join-Path $env:AGENT_TOOLSDIRECTORY $tool.name
# Get executables for current tool
$toolExecs = $toolsExecutables[$tool.name]
foreach ($version in $tool.versions) {
# Add wildcard if missing
if ($version.Split(".").Length -lt 3) {
$version += ".*"
}
# Check if version folder exists
$expectedVersionPath = Join-Path $toolPath $version
if (-not (Test-Path $expectedVersionPath)) {
Write-Host "Expected $($tool.name) $version folder is not found!"
exit 1
}
# Take latest installed version in case if toolset version contains wildcards
$foundVersion = Get-Item $expectedVersionPath `
| Sort-Object -Property {[version]$_.name} -Descending `
| Select-Object -First 1
$foundVersionPath = Join-Path $foundVersion $tool.arch
if ($toolExecs) {
Write-Host "Run validation test for $($tool.name)($($tool.arch)) $($foundVersion.name) executables..."
Run-ExecutableTests -Executables $toolExecs -ToolPath $foundVersionPath
}
$foundVersionName = $foundVersion.name
if ($tool.name -eq 'PyPy')
{
$pypyVersion = & "$foundVersionPath/bin/python" -c "import sys;print(sys.version.split('\n')[1])"
$foundVersionName = "{0} {1}" -f $foundVersionName, $pypyVersion
}
# Add tool version to documentation
Invoke-Expression "bash -c `"source $env:HELPER_SCRIPTS/document.sh; DocumentInstalledItemIndent '$($tool.name) $foundVersionName'`""
}
}
+6 -16
View File
@@ -1,26 +1,16 @@
#!/bin/bash
#!/bin/bash -e
################################################################################
## File: aliyun-cli.sh
## Desc: Installs Alibaba Cloud CLI
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/document.sh
source $HELPER_SCRIPTS/install.sh
# Install Alibaba Cloud CLI
URL=$(curl -s https://api.github.com/repos/aliyun/aliyun-cli/releases/latest | jq -r '.assets[].browser_download_url | select(contains("aliyun-cli-linux"))')
wget -P /tmp $URL
tar xzvf /tmp/aliyun-cli-linux-*-amd64.tgz
URL=$(curl -s https://api.github.com/repos/aliyun/aliyun-cli/releases/latest | jq -r '.assets[].browser_download_url | select(contains("aliyun-cli-linux") and endswith("amd64.tgz"))')
download_with_retries $URL "/tmp"
tar xzf /tmp/aliyun-cli-linux-*-amd64.tgz
mv aliyun /usr/local/bin
# Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"
if ! command -v aliyun ; then
echo "aliyun was not installed"
exit 1
fi
# Document what was added to the image
aliyun_version="$(aliyun version)"
echo "Lastly, documenting what we added to the metadata file"
DocumentInstalledItem "Alibaba Cloud CLI ($aliyun_version)"
invoke_tests "CLI.Tools" "Aliyun CLI"

Some files were not shown because too many files have changed in this diff Show More