Commit Graph

688 Commits

Author SHA1 Message Date
Yann Jouanique
5161c257a2 [ubuntu] Install yq (#3646) 2021-07-15 12:21:48 +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
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
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
Leonid Lapshin
de7775d901 [windows] Improve MSYS2 installation (#3652) 2021-06-29 11:59:03 +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
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
Aleksandr Chebotov
0b6b04be64 Fix Java_Adopt_Jdk permissions (#3605) 2021-06-18 10:26:34 +03:00
Mikhail Timofeev
ff4ba2e725 Don't install KB5003638 update as it breaks the VM (#3557) 2021-06-10 09:19:50 +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
Nursultan Kassan
659b9d878c [Windows] Adding Swig (#3509) 2021-06-07 12:23:47 +03:00
agorti
0648d434e6 [windows] update npm registry to https (#3521) 2021-06-04 14:33:52 +03: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
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
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
8e7629ee13 Change Add-AssertionOperator to Add-ShouldOperator (#3446) 2021-05-25 11:13:12 +03:00
Mikhail Timofeev
0bac9037ca Sort by version in advance (#3411) 2021-05-19 19:45:09 +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
Mikhail Timofeev
322aa89006 [windows] Add msys libxml2 package installation (#3386) 2021-05-17 00:54:28 +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
34ea1d0440 [Windows] Return VS2017 SSDT extensions to the readme (#3270) 2021-04-27 23:03:17 +03: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
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
Mikhail Timofeev
e662b19a30 Install vcredist 2010 for windows 2010 from direct links (#3230) 2021-04-22 09:54:12 +03: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
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
6ede984b96 [windows] Fix output for packer 1.7.1 (#3104) 2021-04-06 05:06:39 +03:00
Aleksandr Chebotov
0917a07677 [windows] set ascii encoding (#3086) 2021-04-02 17:53:08 +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
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
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
Aleksandr Chebotov
51a9c11e33 Add support for latest zstd (#2927) 2021-03-15 15:26:01 +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
Mikhail Timofeev
8cdcef0d00 Initialize ChocolateyToolsLocation variable and fix tests (#2874) 2021-03-08 22:43:58 +03:00
Mikhail Timofeev
c6ba1f00df remove boost from windows images (#2843) 2021-03-05 10:22:59 +03: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
Dibir Magomedsaygitov
fdea69d18f add link to image release (#2783) 2021-02-25 14:22:57 +03:00
Aleksandr Chebotov
09ea8edb54 change GDIProcessHandleQuota to 20000 (#2780) 2021-02-24 18:48:49 +03:00
Sergey Dolin
60b01b3d30 [windows] remove GOROOT (#2710) 2021-02-24 12:47:16 +03:00
Sergey Dolin
d0e2b96b20 Remove PyPy symlink workaround from Windows images (#2744) 2021-02-20 11:51:32 +03:00
Aleksandr Chebotov
ee314d4c78 [windows] Fix tests, remove cmake 3.6 (#2758) 2021-02-19 21:27:58 +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
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