Commit Graph

677 Commits

Author SHA1 Message Date
Aleksandr Chebotov
e42b607790 [Windows] Set WSLv1 version on Windows Server 2022 (#5762)
* Set WSLv1 version on Windows Server 2022

* Create path if missing
2022-06-17 09:24:02 +02:00
Andrew Brown
89ee433676 Update MinGW on Windows 2022 (#5729)
* Update MinGW on Windows 2022

Previously, the GitHub virtual environments only had MinGW v8.1.0
installed. That version was released in October of 2018 and, since then,
MinGW has released versions all the way up to v11.2.0. This change
updates the MinGW version to the latest available on Chocolatey for the
Windows 2022 environment. Windows 2019 retains the current v8.1.0
version. Fixes #5530.

* Update MinGW documentation

* Additionally update win-2016 version

* Revert "Update MinGW documentation"

This reverts commit cb7a72ff0f.

* fix: modify the pattern used for retrieving the MinGW version
2022-06-16 18:15:38 +03:00
Semen Zhydenko
f8c0aa0241 Ss18/typos (#5753)
* FIX: typo becuase -> because

* FIX: typo succesfully -> successfully
2022-06-16 12:32:30 +03:00
Aleksandr Chebotov
5690ae9183 Revert "Add WDK on Windows Server 2022 (#5652)" (#5711)
This reverts commit 16f6912f37.
2022-06-08 17:26:18 +03:00
Aleksandr Chebotov
16f6912f37 Add WDK on Windows Server 2022 (#5652) 2022-06-01 15:13:31 +02:00
Aleksandr Chebotov
f4e9588993 [Windows] Install latest Android cmdline-tools (#5619)
* Install latest Android cmdline-tools

* Use Get-ToolsetContent

* Fix variable typo

* replace variable

* Fix Windows 2016
2022-05-30 16:39:37 +02:00
AlexanderGitin
e3079f0476 [Windows] Add safe directory to gitconfig (#5453) 2022-05-19 11:07:43 +03:00
Rob Herley
1bd639f31d add ecdsa & ed25519 gh host keys (#5520) 2022-05-12 11:53:25 +03:00
Aleksandr Chebotov
3caf4a3e5c [Windows] Add docker-compose v2 (#5504) 2022-05-10 11:23:19 +03:00
Aleksandr Chebotov
75a62205e9 Update cobertura link (#5502) 2022-05-09 13:43:19 +03:00
Mikhail Timofeev
503b916ab7 Install git 2.35.1 for windows (#5414) 2022-04-19 21:59:08 +03:00
Aleksandr Chebotov
69e130c704 [Windows] Add pip.exe alias if missing (#5308) 2022-03-30 17:03:23 +03:00
Edoardo Pirovano
e7a6a9a375 Use v2 branch to get CodeQL bundle (#5307) 2022-03-30 15:29:42 +03:00
Mikhail Timofeev
bdd8f81329 Install llvm version correctly (#5288)
* Install llvm version correctly

* Move llvm installation to script for win22
2022-03-26 22:24:26 +03:00
Andre Hofmeister
113127583a [Windows] CPack command alias is not part of Choco anymore (#5278) 2022-03-24 21:09:18 +03:00
Mikhail Koliada
c0e7d2e45d [Windows] use latest version of alyuin-cli from CDN (#5271) 2022-03-23 23:34:40 +03:00
Andre Hofmeister
87fa95250b [Windows] Use Chrome standalone installer (#5203) (#5252) 2022-03-21 20:51:07 +03:00
Alejandro Pauly
c9f328930d Fix match regex in Kubernetes tools downloads. 2022-03-10 09:25:42 -05:00
Alex Gaynor
305d2ef620 [windows] When installing Rust, add the i686 target to enable building 32-bit binaries (#5116)
* [windows] When installing Rust, add the i686 target to enable building 32-bit binaries

* Move code so that rustup is on the path
2022-02-28 17:45:24 +03:00
Nikolay Frolov
de56bc6444 [Windows] Update Intstall Edge logic (#5106) 2022-02-24 19:45:57 +03:00
Mikhail Timofeev
cc2a6e1158 Skip preview android sdk platforms installation (#5089) 2022-02-16 22:23:56 +03:00
Aleksandr Chebotov
7f1bc9ed1e Set condition to install 98.0.1108.50 instead of 98.0.1108.51 (#5070) 2022-02-14 12:07:00 +03:00
Aleksandr Chebotov
cb8931646f [Windows] Configure Windows settings,disable services and scheduled tasks (#5017)
* Configure Windows settings,disable services and scheduled tasks

* some settings are not available on Win16

* Add import New-ItemPath function

* Suppress output

* Disable Chrome and Edge tasks
2022-02-08 17:09:32 +03:00
Nikolay Frolov
f160c496ff [Windows] Add Windows10SDK.17763 to Win22 (#4980) 2022-02-07 20:53:07 +03:00
Aleksandr Chebotov
1a20af2405 Update dotnet tool path (#4961) 2022-01-29 13:00:14 +03:00
V-Zabayrachny
df0e83c8f7 [Windows] Add WiX to VS on Windows-2022 (#4895)
* [Windows] Add wix to VS on Windows-2022

* [Windows] Move WiX in toolset on windows 16, 19
2022-01-21 18:40:37 +03:00
Maksim Shilov
afc8bd66cc [Windows] Add SQL OLEDB Driver to win19 and win22 (#4893)
* Add SQL OLEDB Driver to win19 and win22

* Update installation, improve install-binary and resolve comments

* Slight improvement of the installation. Fixing argument list for the WebPI

* Fix argument list for AzureCLI

* Fix software report
2022-01-20 15:59:37 +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
Lucas Mior
59bc59f568 Fixing small typo (#4878) 2022-01-13 09:53:31 +03:00
Nikolay Frolov
35c775a852 [Windows] Update Finalize-VM (#4791) 2021-12-22 17:42:54 +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
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
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
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
Nikolay Frolov
07a22999fe [Windows] Update Kotlin install (#4645) 2021-12-08 10:39:42 +03:00
Nikolay Frolov
050efaf52a [Windows] Improve MySQL install (#4646) 2021-12-03 19:49:55 +03:00
Aleksandr Chebotov
c50afe27cd [Windows] Add pause after Windows Update (#4641) 2021-12-02 10:56:43 +03:00
Aleksandr Chebotov
f4306a6c40 [Windows] zstd: Invoke Move-Item with retry (#4633) 2021-11-30 11:38:03 +03:00
Nikolay Frolov
884d3e799d [Windows] Add WiX tool for Windows 2022 (#4624) 2021-11-29 18:54:51 +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
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
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
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
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
Mikhail Koliada
fad30aa851 [Windows] move llvm to toolset (#4487) 2021-11-15 12:54:35 +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