aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows
Commit message (Collapse)AuthorAgeFilesLines
* Provisioning: Install 32 bit python to 64 bit windowsSimo Fält2018-06-012-16/+37
| | | | | | | | | | | In order to create 32 bit Pyside wheels we have to be able to link Pyside against 32 bit python. While 32 Qt build is done in 64 bit Windows Pyside must follow. Task-number: PYSIDE-646 Change-Id: I30855d4cecd6bc6219021216e9c296d28c56b405 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Update winrtrunnerOliver Wolff2018-05-281-3/+4
| | | | | | | | | | | | | A newer build of winrtrunner is needed. It is built from dev and contains fixes related to handling of test output (most importantly 044e9ad878ed1cf0ace0a9260b55cc94c71a294d). To make the script more stable, the newer version of winrtrunner was also copied to ci-files01, so that an alternative download location can be offered. Change-Id: I6a429aa3292266067756ce7ba3553088dc168197 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* Remove hardcoded download pathMaurice Kalinowski2018-05-2510-9/+21
| | | | | | | | | | | | | Previously all files got downloaded to a hardcoded path, including the username for the CI machines. Usually, it does not fit the username of a local development machine, complicating to reproduce bugs. Introduce Get-(Default)DownloadLocation functions in helpers to specify the default download location. This helps to run the provisioning scripts on a local machine. Change-Id: I761a92bf5e3e774358756a95dddb9a5d6ee54db9 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Merge remote-tracking branch 'origin/5.11.0' into 5.11Liang Qi2018-05-181-0/+6
|\ | | | | | | Change-Id: Ifa6c63ef62e339b90e571b13c73addaa17d7af4e
| * Fix linking of qdoc against an external libclang (part 1)Simon Hausmann2018-05-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | This is the qt5 part of the fix for the task. For the special version of libclang we hacked together that allows static linkage, set an environment variable that the mighty qdoc build system can utilize to activate the release packaging specific linkage. Change-Id: Ie340955214585329fe8fd3bc790e3cd6c6be42f9 Task-number: QTBUG-68178 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Merge remote-tracking branch 'origin/5.11.0' into 5.11Liang Qi2018-05-091-8/+16
|\| | | | | | | Change-Id: Ia252225aa1339ac448dd726b149e08739c02dfc5
| * Install the MinGW build of libclangSimon Hausmann2018-05-011-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This restores the MinGW installation of libclang on Windows 7 and installs the MSVC and MinGW builds in parallel on Windows 10. For compatibility reasons the MSVC installation is done last, to ensure that the older LLVM_INSTALL_DIR variable points to the MSVC installation. In addition though we now get LLVM_INSTALL_DIR_MINGW and LLVM_INSTALL_DIR_MSVC, which qt_find_clang.prf in qttools can use in the future. Task-number: QTBUG-66015 Change-Id: I8b53b85d0cde597c88a089f2a05f03947828d9bd Reviewed-by: Simo Fält <simo.falt@qt.io>
| * Update clang version to 6.0Jędrzej Nowacki2018-04-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The version also contains statically compiled libraries so we can ship qdoc without shipping libclang. The change temporarly removes CI qdoc builds from RHEL6 and MinGW, these two configurations are not used for packaging, just for CI testing. We should restore MinGW later. Task-number: QTBUG-66015 Task-number: QTBUG-67764 Change-Id: Ie37b4be6a639e81d9ef0815682c6d60981cbeaae Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by: Fredrik de Vibe <fredrik.devibe@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Update openssl packages to 1.0.2oTony Sarajärvi2018-05-022-5/+5
| | | | | | | | | | Change-Id: Iab7043212cc3b66c26100519d95ac18fc69fa26a Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Fix styles in setting proxyTony Sarajärvi2018-05-022-1/+3
| | | | | | | | | | | | Change-Id: Iac4243e767a7cfb29b9bb0b4603ca6509356ce8c Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Take proxy into use in python provisioning in windowsTony Sarajärvi2018-05-023-12/+14
| | | | | | | | | | | | Task-number: QTQAINFRA-1669 Change-Id: I2030f244da65e4fd0c3b0be54d941b065f9a180e Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | windows provisioning: Do not use Windows builtin way of extracting zipsOliver Wolff2018-04-2910-72/+32
| | | | | | | | | | | | | | | | | | | | The builtin way of Windows for handling zip files is much slower than using 7zip. A small benchmark (not representative, just extracting the android ndk) showed 11 minutes using Extract-Zip vs 2,5 minutes using Extract-7Zip on my machine. Change-Id: I5198aabb5b75860ead687581fc5e368eb75e48ae Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Add missing sw versions to versions.txtHeikki Halmet2018-04-2911-0/+26
| | | | | | | | | | Change-Id: Ifa12b6c6308e4ad73989e7e935061f77ae1823e2 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Fix powershell stylings in provisioning scriptsTony Sarajärvi2018-04-291-4/+4
| | | | | | | | | | Change-Id: I946027047b9810ec1197b50394f157eb406434c2 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* | Fix Squish Provisioning coding styleTony Sarajärvi2018-04-291-3/+3
|/ | | | | Change-Id: I663ce38fffa3a9446972d1790d80f76b7155c029 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Add test for squish installationHeikki Halmet2018-04-151-1/+24
| | | | | | | | | | | | | | Squish is needed by RTA which is not run during normal qt5 build. Other words squish installation is not tested during integration. That's why we need separate test for it. This change will fetch test and run test suite which is made to check that squish installation works Task-number: QTQAINFRA-1733 Change-Id: I9284fd52d87767ae04022c3a6996e0bb972315dd Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io> Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
* Provisioning: Win10_x86 - Windows 10 SDK with debugging toolsJoni Jantti2018-04-151-0/+50
| | | | | | | RTA needs debugging tools for Windows 10 x86 testing. Change-Id: I69cae92a2529a933a018f22c1b200bdc4d2c0aa0 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Fix msvc_2015_update3_patchOliver Wolff2018-04-061-1/+0
| | | | | Change-Id: Ie008b274c2f27d9792340dd4f6c2d3215bd376ca Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* Provisioning: Remove Java update from windows startup itemsHeikki Halmet2018-03-221-0/+3
| | | | | Change-Id: Iec709c9c42840910ab0dd98634c200d2aba8f7bf Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Win7_x64 - Add Squish 6.3.0 win64 msvc12Joni Jantti2018-03-221-0/+1
| | | | | | | | This package is required by RTA. Task-number: QTQAINFRA-1878 Change-Id: I0496445880f838de34ffd53f72fa05e0f0b0be58 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: refactor squish installTony Sarajärvi2018-03-221-66/+33
| | | | | Change-Id: I18e5f8f5d92cff5af2335cc5ac4cf571d27224ac Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Windows - Disable autorebootJoni Jantti2018-03-181-0/+35
| | | | | | | | | Windows machines currently reboot automatically in case of a blue screen crash. This must be disabled to prevent problems with Coin. Task-number: QTQAINFRA-1748 Change-Id: I64ac1cfa124694fab356b8443298c1b37bed9a92 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Move http_proxy.txt under shared folderHeikki Halmet2018-03-151-1/+1
| | | | | | Change-Id: Id5b2f07a92eadfb21fbfdb3fb65621d6322dc8c4 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Provisioning: Fix adb process name for android sdk installationHeikki Halmet2018-03-151-1/+1
| | | | | | | There's no process called "adb.exe" - It's called "adb" Change-Id: I3c23ede12a6d7fc7f3f33bbb806a84e8d9a2aaf4 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Provisioning: win8.1 - RTA required provisioning scriptsJoni Jantti2018-03-081-0/+50
| | | | | | | | | | Currently Windows 8.1 platforms have been removed from CI. RTA however still uses them for testing so we need to add the programs that RTA uses. Task-number: QTQAINFRA-1524 Change-Id: Ide9fa076dc965b16b96f610541ace6088543f795 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Fix Squish installation for msvc14 32-bitHeikki Halmet2018-03-081-3/+3
| | | | | | | Task-number: QTQAINFRA-1809 Change-Id: I8a2947fe52535e39b0817fec2ee0c35bb09e4060 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
* Provisioning: Executequeueditems on WindowsJoni Jantti2018-03-081-0/+39
| | | | | | | | | | | mscorsvw.exe background processing is draining a lot of CPU processing on Windows platforms. Executing the list of to be processed items with full CPU capacity should clear out the list and stop the background processing. Task-number: QTQAINFRA-1775 Change-Id: Ib12bc10f4572390f20bfea915ca48ec398de46ee Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Add missing 08-libclang.ps1 for windows7 provisioningJani Heikkinen2018-03-011-13/+51
| | | | | | | | | We need to set LLVM_INSTALL_DIR to be able to build qdoc. That was missing from windows7. Task-number: QTBUG-65950 Change-Id: I7f75eb0181056a2117080ead6dc5862324906689 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Unify Windows provisioning scripts & improve error handlingv5.11.0-beta1Oliver Wolff2018-02-2644-363/+343
| | | | | | | | | | | | | | | | | | | | | While Coin should also see exit codes != 0 as error, we should stick to one way of handling script errors. As Power Shell cmdlets signal an error by throwing an exception we should do the same (and that approach also works in Coin). Additionally extracting 7zip files was unified across scripts by using the existing helper function instead of reinventing the wheel again and again. A similar helper function was introduced for starting an external application (and handling its errors). Also echo and other "cmd" commands were replaced by their PowerShell equivalents to have a unified approach across our Windows provisioning scripts. Change-Id: I70129ce38692f1396c33c13b33a2918485fa5271 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Provisioning: Win7-x86 - Add msvc14_x86 squish packageJoni Jantti2018-02-231-0/+3
| | | | | | | | Squish is required by RTA testing. Task-number: QTQAINFRA-1732 Change-Id: I8ab0b11ccc299cc0b10e59f99d1cf27c0cdd48b9 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Win10 - Add Squish for mingw53Joni Jantti2018-02-231-0/+6
| | | | | | | | RTA requires Squish for mingw53 on Windows 10 machines for testing. Task-number: QTQAINFRA-1729 Change-Id: I42f2c6c62dd004ebc072835340ce24105cfac5e8 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Make Windows scripts use the Download helper functionJoni Jantti2018-02-233-4/+6
| | | | | | | | | | Some Windows provisioning scripts use the Invoke-WebRequest without setting the ProgressPreference = 'SilentlyContinue' variable for disabling the download progress bar. Disabling the progress bar greatly increases the download speed during provisioning. Change-Id: I649c1bcc970577776d720a4ebf5a7af96c1603f8 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Set proxy on Windows VMs while provisioningTony Sarajärvi2018-02-235-0/+121
| | | | | | Task-number: QTQAINFRA-1669 Change-Id: Ia6b5b668051642a3729d7c7c83c69d8797045847 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Fix Windows 10 msvc 2014 squish installationHeikki Halmet2018-02-231-1/+1
| | | | | | Change-Id: Id935580730d20a2f86fa6c82bf08ee3705f344f2 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Merge remote-tracking branch 'origin/5.10' into 5.11Liang Qi2018-02-044-2/+188
|\ | | | | | | Change-Id: I3b299786e8500b0a8f2c197f7501f8e6e1cf29cf
| * Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-02-033-0/+186
| |\ | | | | | | | | | Change-Id: I3e4ae2508d632919db77af0f365eb25ace1a69e0
| | * Add Win7_x64 provisioning for RTA purposesJoni Jäntti2018-02-023-0/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows 7 x64 (Windows 7 msvc2013-x86_64) template is needed since RTA is starting to deploy machines from coin. Task-number: QTQAINFRA-1521 Task-number: QTQAINFRA-1615 Change-Id: I7e9665bd37ee010a59ff3792f435d65eb9ad8c17 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
| * | Provisioning: Switch download sources for mqtt paho brokerMaurice Kalinowski2018-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | Internal resources are preferred and should be used first. Change-Id: Ifd2a54858c9fb6b82c3dc268566c67238aad262e Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | | Merge remote-tracking branch 'origin/5.10' into 5.11Frederik Gladhorn2018-01-294-2/+181
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/linux/qnx_700.sh coin/provisioning/common/windows/libclang.ps1 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Change-Id: I7fe1337fb8a575083e8b649d1a051abc82e3b408
| * | Merge remote-tracking branch 'origin/5.9' into 5.10.1Frederik Gladhorn2018-01-294-2/+181
| |\| | | | | | | | | | | | | | | | | | | | | | This was pushed directly, bypassing codereview.qt-project.org to get provisioning back into a working state. Change-Id: Ia5d2e6f7079162f571cd7c7994c0f2b3133b1163 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
| | * Provisioning: Add Squish provisioning for Release Test AutomationHeikki Halmet2018-01-262-0/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | Squish is required by RTA for testing. Task-number: QTQAINFRA-1523 Change-Id: I0c3653565f19cc9b798a0b63325c47b017cf5537 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
| | * Provisioning: Add common shared folderHeikki Halmet2018-01-262-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Common shared folder includes scripts of files which are common for all operating system families. Changes under shared folder will trigger provisioning for all platforms Change-Id: I0789f87b76876d5f92673fe2f0e72d770e5f5ea4 Task-number: QTQAINFRA-1451 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | Merge remote-tracking branch 'origin/5.10' into devFrederik Gladhorn2018-01-222-8/+20
|\| | | | | | | | | | | Change-Id: I1031266ae727e7bfeae71bf3faed9b5197c16247
| * | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-192-8/+20
| |\| | | | | | | | | | Change-Id: I0fdced87d2064e8459fa0b9c4e16a53c1f44ac0a
| | * Provisioning: Fix disabling windows updatesOliver Wolff2018-01-181-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some machines the updates were already disabled, which lead to the call to disable the service failing. Now we just move on without error. Change-Id: Ia48f7164c23dfe24e24548558d582cdc0190b7e3 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * Fix provisioning: NotePad++ path on 64 bit windowsFrederik Gladhorn2018-01-181-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | We install the 64 bit version of np++ which is installed in the regular program files folder. Change-Id: I702210eaf7dfae75bbfcfd9cc98d8ed96d775f61 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* | | Use "correct" registry when enabling Windows 10 Developer ModeOliver Wolff2018-01-171-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As coin is running a 32 bit application the registry key ended up in the Wow6432Node compatibility area of the registry when run on a 64 bit Windows. Windows does not use this place to check for the developer mode setting, so we use the "proper" registry instead. If adding the registry key fails the script now reflects that and exits with a proper exit code. Change-Id: Ifd6bc7e7b0ed6595a2a967597ab45053cb51e7aa Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | | Fix common folder paths for common split changeHeikki Halmet2018-01-131-0/+5
| | | | | | | | | | | | | | | | | | Change-Id: I9d3f1ce71d7995c88005b81f7f9dc9db892e9de7 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | | Merge remote-tracking branch 'origin/5.10' into devLiang Qi2018-01-126-149/+19
|/ / | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Task-number: QTBUG-65688 Change-Id: I17a303731dab4b967c9ef8a852ee0c1097b88f10
* / Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-113-0/+108
|/ | | | | | | Fixed up provisioning script locations after the reshuffeling into common/platform folders. Change-Id: Ia0b7d076e475ccc207f2955572fb9ab4171e5d9d