Commit Graph

47 Commits

Author SHA1 Message Date
Aleksandr Chebotov
c93738bd53 Replace client_secret to client_cert_path (#5579) 2022-05-20 13:51:55 +03:00
Aleksandr Chebotov
023104e407 Wait for Windows Updates (#4924) 2022-01-20 22:23:57 +03:00
Nikolay Frolov
35c775a852 [Windows] Update Finalize-VM (#4791) 2021-12-22 17:42:54 +03:00
Mikhail Koliada
fad30aa851 [Windows] move llvm to toolset (#4487) 2021-11-15 12:54:35 +03:00
Dibir Magomedsaygitov
ecfc9c43da [Windows] Rework Kotlin installation (#4083) 2021-09-16 11:35:11 +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
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
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
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
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
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
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
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
Nursultan Kassan
659b9d878c [Windows] Adding Swig (#3509) 2021-06-07 12:23:47 +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
daniv-msft
729b5626f0 Removing support of Azure Dev Spaces now that it's retired (#3413) 2021-05-19 10:14:16 +03:00
Aleksandr Chebotov
769423b171 Add build_resource_group_name packer option (#3369) 2021-05-13 10:19:34 +03: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
Aleksandr Chebotov
09ea8edb54 change GDIProcessHandleQuota to 20000 (#2780) 2021-02-24 18:48:49 +03:00
Mikhail Timofeev
ae358d64c7 Revert "[windows, ubuntu] v2 gen sizes (#2736)" (#2747) 2021-02-18 10:52:09 +03:00
Mikhail Timofeev
676f565d7b [windows, ubuntu] v2 gen sizes (#2736) 2021-02-17 16:50:40 +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
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
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
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
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
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
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
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
Mikhail Timofeev
1ff7e6a0c8 [windows] change vm spec to Standard_D8s_v4 for win images (#2318) 2020-12-21 21:20:24 +03:00
Maxim Lobanov
8445f55d50 Merge branch 'main' into al-cheb/use-setup-ruby-logic 2020-11-18 12:40:07 +03:00
Vladimir Safonkin
7dae76249b [ubuntu][windows] Remove announcements from generation (#2063) 2020-11-17 10:20:55 +03:00
Aleksandr Chebotov
fe3f5efbe8 rework ruby installation 2020-11-12 20:09:32 +03:00
Dibir Magomedsaygitov
caa872685a resolve issues 2020-11-10 15:50:34 +03:00
Aleksandr Chebotov
635a57ab88 Revert "[Windows] Removed Git internal tools from PATH" 2020-11-05 11:39:54 +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
Aleksandr Chebotov
222f3bb86f use ssh-keyscan from git 2020-10-27 11:05:36 +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
Nikita Bykov
b19a33bd3e updated json files 2020-10-21 08:44:06 +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
Darii Nurgaleev
0b6973e0d0 change post generation folder. (#1825) 2020-10-16 11:34:35 +03:00
Nikita Bykov
42b6aa68b4 added TOOLSET_JSON_PATH 2020-10-15 12:02:07 +03:00
Nikita Bykov
2977e6c42c fixed naming 2020-10-09 11:33:25 +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
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