Commit Graph

75 Commits

Author SHA1 Message Date
Aleksandr Chebotov
acc3d7cc0d Remove Dotnet.ps1 post-generation script (#4585) 2021-11-26 10:41:26 +03:00
Maksim Shilov
81c96d9781 [Windows] Fix Get-LatestChocoPackageVersion (#4581) 2021-11-25 14:24:27 +03: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
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
Maksim Shilov
fef060bec8 [Windows] Pin MongoDB to the specific version defined in the toolset (#4418) 2021-11-10 21:43:42 +03:00
Maksim Shilov
40b0efb287 PathHelpers: Dealing with hardcoded registry paths and optimizing code (#4125) 2021-09-27 12:11:20 +03:00
Maksim Shilov
0bcacd4c92 Measure and output installing and downloading durations (#4104) 2021-09-20 16:20:56 +03:00
Aleksandr Chebotov
1052083f04 [Windows] win-wdk: install WDK 11 (#4014) 2021-09-09 10:46:21 +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
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
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
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
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
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
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
Mikhail Timofeev
8e7629ee13 Change Add-AssertionOperator to Add-ShouldOperator (#3446) 2021-05-25 11:13:12 +03:00
Mikhail Timofeev
34ea1d0440 [Windows] Return VS2017 SSDT extensions to the readme (#3270) 2021-04-27 23:03:17 +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
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
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
Aleksandr Chebotov
fe3f5efbe8 rework ruby installation 2020-11-12 20:09:32 +03:00
Aleksandr Chebotov
b8548a8943 provide additional error log message 2020-10-19 17:39:28 +03: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
Leonid Lapshin
128244b89b removed VS buildtools installation 2020-09-10 17:04:24 +03:00
Leonid Lapshin
2e6ca0ca56 syntax notation 2020-09-07 10:27:55 +03:00
Leonid Lapshin
e438bd4302 style and syntax improvments 2020-09-03 10:34:05 +03:00
Leonid Lapshin
fdf40a931b some variable names clarifications 2020-09-01 22:05:26 +03:00
Leonid Lapshin
425d62e593 validate set for new functions 2020-09-01 17:22:57 +03:00
Leonid Lapshin
ade2f9d34a removed unused variable 2020-09-01 16:17:55 +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
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
Dibir Magomedsaygitov
21165eb578 [Windows] Refactor virtual-env image generation provisioners (#1288)
* refactor virtual-env image generation provisioners
2020-07-24 18:43:19 +03:00
Dibir Magomedsaygitov
532b49be6f Implement new Pester Tests for Visual Studio (#1251)
* implement pester tests for visual studio

* fix components list
2020-07-22 14:04:40 +03:00
Aleksandr Chebotov
0c4dca229d Replace current validates with pester testing approach #5 (#1232)
* ,oving to the pester approach part #5

* moving to the pester approach part #5

* fixed PostgreSQL tests

* return Validate-Svn.ps1

* fixed Selenium test

* fixed rust test

* fix rust test
2020-07-20 18:57:00 +03:00
Vladimir Safonkin
58f3ee85cb Implement Pester tests for Android SDKs (#1221)
* Add Android SDKs tests

* Fix path to android helpers

* Fix path to sdkmanager

* Remove extra and add-ons tests

* Add verbose option to sdkmanager

* Add additional tools test

* Fix extra and addons tests

* Fix extra and addons android packages

* Fix image templates
2020-07-17 12:35:46 +03:00
Maxim Lobanov
22dd05270e Migrate toolcache / toolset tests to Pester (#1222)
* implement toolset tests

* Update TestsHelpers.ps1

* Update InstallHelpers.ps1
2020-07-16 07:30:34 +03:00
Aleksandr Chebotov
7efaab60f9 format style 2020-07-13 14:42:40 +03:00
Aleksandr Chebotov
3356fa7bd0 add assert MatchCommandOutput 2020-07-13 13:39:56 +03:00
Aleksandr Chebotov
10fd058af4 fix c=1089 to c=99 2020-07-10 14:38:45 +03:00
Maxim Lobanov
a2b104ff7e Update ImageHelpers.psm1 2020-07-09 14:29:02 +03:00
Maxim Lobanov
205fb1887e Update TestsHelpers.ps1 2020-07-09 14:27:06 +03:00
Maxim Lobanov
9bd0f97777 fix spacing 2020-07-09 14:09:44 +03:00
Maxim Lobanov
d693730c54 fix comments 2020-07-09 13:22:07 +03:00
Maxim Lobanov
148b628e0b Implement Pester tests 2020-07-09 10:53:29 +03:00
Maksim Petrov
8d0d6f85cc [Windows] Merge several toolset provisioners into single Configure-Toolset script (#1111)
* Add Configure-Toolset for windows

* Set error action preference to stop

* Move toolcache.json to config folder

* Fix in verbose

* Rename toolsets folder

* Move default version functions from install-toolset to configure-toolset

* Rework Configure-Toolset

* Fix typo and remove empty line

* Fix issues

* Fix parameters in helpers

* Fix helper syntax

* Rename defaultVariable
2020-06-30 07:48:55 +03:00
Aleksandr Chebotov
43e26fa96b Cleanup old markdown documenation approach (#979) 2020-06-02 20:07:12 +03:00
xtqqczze
d0ba2cd2a4 Replace Get-WmiObject with Get-CimInstance 2020-05-21 19:49:51 +01:00