Commit Graph

85 Commits

Author SHA1 Message Date
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
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
Dmitry Shibanov
0e0e62dceb Add R tools for windows (#1264)
* add R for windows

* fix tests

* fix for tests

* remove unused file

* fix doc version for R

Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
2020-07-27 11:41:47 +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
Aleksandr Chebotov
00463a8fab [Windows] Add the list of installed PowerShell modules to documentation (#1266)
* documenation about powershell modules

* add powershell modules documenation

* add PSMODULES_ROOT_FOLDER
2020-07-23 16:32:41 +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
Mikhail Timofeev
23aade159c Replace current validates with pester testing approach #1 (#1253)
* first part

* fix session manager plugin

* rework AWS installation

* azure cosmos db tests

* azure devops cli

* add azmodules test

* put brackets

* add root folder

* remove validate aliyun

* add azure modules

* update modules test

* docker, baze, dotnetsdk

* DACFx

* add azdevopscli

* change to Should -BeTrue

* nitpicks

* remove extra

* add azurecli

* remove BeforeAll for DACFx

* a bit of refactoring

* fix templates

* remove disk space validation

* rename to powershell modules

* fix templates
2020-07-21 09:50:01 +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
956b8a0093 Add Pester tests for Windows Features (#1225)
* Add Windows Features Pester tests

* Move win feature tests to separate file

* Remove validation script for disc space

* Remove Windows updates test
2020-07-20 10:48:50 +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
Darii Nurgaleev
b47ba413c9 Replace current validates with pester testing approach #3 (#1230)
* Pester Tests Approach implementation.

* changes for netPath
2020-07-17 11:29:03 +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
Maxim Lobanov
2eadd5ef2b Merge pull request #1239 from al-cheb/al-cheb/windows-update-wait-timeout
[Windows] Increase windows update restart timeout to 30 min
2020-07-15 20:56:19 +03:00
Aleksandr Chebotov
3069e69cc5 increase windows update restart timeout to 30 min 2020-07-15 14:05:34 +03:00
Vladimir Safonkin
f138557938 Merge branch 'master' into v-vlsafo/add-dotnettls-pester 2020-07-15 08:26:27 +03:00
Vladimir Safonkin
0c57e97fb8 Add DotnetTLS Pester test 2020-07-13 16:17:49 +03:00
Aleksandr Chebotov
f1352d64d5 Migration to Pester tests 2020-07-13 12:10:54 +03:00
Maxim Lobanov
148b628e0b Implement Pester tests 2020-07-09 10:53:29 +03:00
Maksim Petrov
8ce91e3c37 [Windows] Install AZ 4.3.0 (#1137)
* Install and validate AZ 4.3.0 for Windows images

* Move azureModules to toolset

* Fix validation

* Fix modules root location

* Small fix in syntax

* Fix in syntax

* Fixes for default tool versions
2020-07-01 15:16:01 +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
4c34ad64df Add Google Cloud SDK for Windows (#1102)
* Add Google Cloud SDK

* Add Validate-GoogleCloudSDK.ps1 script
2020-06-24 11:37:36 +03:00
Jeff Weiner
1a164c38dd Install-WindowsUpdates fixes (#1071) 2020-06-22 11:25:04 +03:00
Dmitry Shibanov
b41fda16c1 Switch provisioners to install Go from GitHub releases on Windows (#1026)
* add go to json toolset

* add install and validate go

* fiixing go tests

* fix validation for go

* check zero build version

* add 1.9 version

* setup variables for go

* fix comments

* remove script invokation

* remove lines

* fixing install go

* remove comments

* remove fake url

Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
2020-06-19 13:47:55 +03:00
Aleksandr Chebotov
ebadb5cea8 Add NuGet.exe on Windows Server 2016/2019 (#1049)
* Add NuGet.CommandLine

* remove temporary path update
2020-06-15 20:10:54 +03:00
Dibir Magomedsaygitov
f33a870bf1 Switch provisioners to install Boost from GitHub releases on Windows (#972)
* switch provisioners to install boost from github releases

* minor fixes

* separate boosts by toolset versions

* minor fix

* switch provisioners for win16

* fix bugs

* fix validation

* minor fix

* fix validation

* fix validation

* fix validation

* minor fix

* change toolset version for win16

* minor fixes

* minor fix

* fix validation

* update links to toolset-json

* add arch to BoostInstallationDir
2020-06-10 19:42:15 +03:00
Andy Mishechkin
6070c25302 [Windows] Add azcopy utility (#1008)
* azcopy10 deployment for Windows has been added

* small bugfixing

* Header has been added to Install-AzCopy.ps1

* Header has been added to Validate-AzCopy.ps1

* Packer tempaltes have been modified
2020-06-08 10:59:13 +03:00
Sergey Dolin
b5c0e6d2f9 Install MongoDB on Windows images (#680)
* Add installation MongoDB

* Remove env update

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-06-02 15:52:54 +03:00
Darii Nurgaleev
3be17cf239 PostgreSQL install on Ubuntu/Windows. (#636)
* added windows installation script for postgresql

* removed if from Start-PostreSQL

* added script to packar template.

* changed postgresql.sh for ubuntu.

* postgresql stop and disalbe services.

* change name of the functions

* Stop postgreSQL after validation instead of start.

* added validation and re-work installation prcoedur

* remove redundunt code from psql

* correct intendation

* path to Path

* added PostgreSQL validation procedure.

* Removed useless last line.

* redundunt parameter passed in function call.

* removed repeated part of code.

* removed Stop function since it was useless.

* spaces

* spaces =

* Update Windows2019-Azure.json

* resolve confictls

* added validate and install postgresql

* added password to choco install and variables.

* add new system variables.

* added --params flag

* added correct quotas

* added logging for PostgreSQL install

Co-authored-by: Dariy.Nurgaleev <d.nurgaleev@trueengineering.ru>
2020-06-02 15:52:42 +03:00
Vladimir Safonkin
804922a1e2 Add markdown file's generation to Windows images (#934)
* Add windows doc generator

* Minor fix

* Fix pypy arch

* Minor fix

* Minor fix

* Resolve comments

* Minor fix

* Add 7zip version

* Add haskell section

* Add stack version

* Fix MinGW

* Fix paths

* Fix haskell section

* Minor fix

* Add android ndk version
2020-06-02 09:32:23 +03:00
Aleksandr Chebotov
e25d793c29 add vswhere windows server 2016 (#907) 2020-05-20 16:01:01 +03:00
Aleksandr Chebotov
a12a3b7042 Rename Mingw-w64 (#893) 2020-05-19 13:16:59 +03:00
Sergey Dolin
8632288097 Install GitHub CLI on Windows images (#853)
* Install GitHub CLI on Windows images

* Resolve comments

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-05-19 11:26:04 +03:00
Aleksandr Chebotov
3f4ad2f912 Install PyPy from official site instead of NPM for Windows (#873)
* install PyPy from official repo
2020-05-18 11:08:06 +03:00
Dibir Magomedsaygitov
5160bfa626 Install Stack, GHC and Cabal to Windows Images (#874)
* install stack
* implement logic that gets 3 latest versions of ghc
2020-05-15 15:01:45 +03:00
Vladimir Safonkin
d558a8f413 Add msys2 installation and validation (#632) 2020-05-12 12:50:42 +03:00
Aleksandr Chebotov
17a441ec8e Disable crash reporting (#826)
* disable jit debugger

* override settings asfter vs installation
2020-05-06 09:44:53 +03:00
Maksim Petrov
0413a02d9a Add Python tools installation from Github releases for Windows (#705)
* Add Toolset provision for Windows
Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2020-04-30 18:11:40 +03:00
Nikita Bykov
b58720bb05 Fail fast in image generation if not enough disk space for customers (#767)
* added checking free disk space
Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2020-04-30 09:26:06 +03:00
Sergey Dolin
a174930790 Install AWS SAM CLI on Windows images (#737)
* Add AWS SAM

* Change utility name to upper case

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-04-22 12:31:25 +03:00
Aleksandr Chebotov
edce722a68 Improve choco stability by adding retry logic on Windows images (#721)
Add retry logic for choco install to avoid random failures
2020-04-17 10:53:30 +03:00
Nikita Bykov
d0398f5357 Add Alibaba cloud aliyun-cli (#688)
* added aliyun cli to windows

* added aliyun cli to Ubuntu

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2020-04-13 17:38:35 +03:00
Aleksandr Chebotov
faf9417c3a disable mssql express 2020-04-10 14:54:39 +03:00
Alejandro Pauly
ae6e2bcc27 Merge pull request #622 from devopscircle-io/solve-remotesigned-with-setexecutionpolicy
Set the execution policy in Packer to RemoteSigned
2020-04-01 12:43:04 -04:00
Alena Sviridenko
e6f803abce Merge pull request #568 from Darleev/v-danurg/install_sql_express
Add Microsoft SQL Server Express to Windows VMs
2020-03-30 12:52:20 +03:00
Dibir Magomedsaygitov
b8ac95cd81 Add awscli (#610)
* uppdate/add awscli

* change awscli to aws and fix for aws version

* concatenate install and validate script files

* update image templates

* add aws to the path

Co-authored-by: Dibir Magomedsaygitov <v-dimago@microsoft.com>
2020-03-30 11:09:02 +03:00
Marco Mansi
af3ba77937 Revert "Removed Set-ExecutionPolicy RemoteSigned from Install-ServiceFabricSDK.ps1"
This reverts commit 70c2ad2317.
2020-03-27 10:57:13 +01:00
Dariy.Nurgaleev
d062075f2a Merge branch 'master' into v-danurg/install_sql_express 2020-03-27 12:53:57 +07:00
Marco Mansi
70c2ad2317 Removed Set-ExecutionPolicy RemoteSigned from Install-ServiceFabricSDK.ps1 2020-03-26 16:20:08 +01:00
Alena Sviridenko
a0587eafc0 Revert "Install MSYS2 to Windows." (#630) 2020-03-26 17:55:41 +03:00
Marco Mansi
e6c9978ac2 Set the execution policy in Packar to RemoteSigned
Match the same ExecutioPolicy as in the Install-ServiceFabricSDK
2020-03-25 13:17:38 +01:00