aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
* 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-283-6/+6
| | | | | | | | | | | | | | | | 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>
* Provisioning: Add test for squish installationHeikki Halmet2018-04-152-1/+38
| | | | | | | | | | | | | | 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: Ubuntu - Add QNX 6.6.0Joni Jantti2018-04-151-0/+66
| | | | | | | | QNX 6.6.0 is required by RTA. Task-number: QTQAINFRA-1914 Change-Id: Id0578050d24fb13f3e10a10e972be790d39f9bc0 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@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 squish provisioning script typoTony Sarajärvi2018-04-151-2/+2
| | | | | Change-Id: If33847a552fe40128cef577b99adf3152de3a9e2 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Provisioning: Upgrade pip to latest versionHeikki Halmet2018-04-153-4/+24
| | | | | | | | | | | | Latest pip version is not installed during python installation. Pip need to be reinstalled after python installation because older version of pip seems to cause installation problems randomly at least with python 2.7 Task-number: QTQAINFRA-1902 Change-Id: If3d74130ecee6e410c64cad309feff9edc0e5db0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Remove sha1 file after shasum checkHeikki Halmet2018-04-151-0/+1
| | | | | Change-Id: Iee8e66d98e5ebd2dee18baf8e1752a86065417d1 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>
* Install an android virtual device for testingFrederik Gladhorn2018-03-261-0/+6
| | | | | | | The goal is to run tests on the AVD eventually. Change-Id: I7ac887661497b5169c154ef8b0264ef07749a36a Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* Reduce wget verbosity when downloading qnxFrederik Gladhorn2018-03-261-1/+1
| | | | | | | | | | The default style gives 1 KiB dots, 50 KiB per line, and the file is 567 MiB (~11600 lines). Reduce it to 1 MiB per dot and 32 MiB per line (~18 lines). Change-Id: Id181eee63313a4ad486af6c4752de0ed9ed5f7b6 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@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>
* Make unzip less verbose in macOSTony Sarajärvi2018-03-221-1/+1
| | | | | Change-Id: I83249f724ecbfeeb4fd5c1cd33a9c6195c590c4b Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Provisioning: Fix java installation for macHeikki Halmet2018-03-191-19/+10
| | | | | Change-Id: I3b6672e671720416af71631c2f9ce814f07e596a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Remove try_catch.sh helper scriptTony Sarajärvi2018-03-191-64/+0
| | | | | | Change-Id: I3981920bb8085ffbad89c31e0fd628a6e11146b6 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Remove try_catch codes from common macOS scriptsTony Sarajärvi2018-03-196-321/+106
| | | | | Change-Id: I66291e2da5514499387b61e01ad85a652cd24d7b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Remove try_catch codes from unix scriptsTony Sarajärvi2018-03-193-191/+77
| | | | | Change-Id: Iabadbf28c65132ae614048cb98e92f57e3786056 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Remove try_catch from common linux scriptsTony Sarajärvi2018-03-191-73/+34
| | | | | | Change-Id: I9c7b472fa4c448f40c9adc6cc8a0d84cb9c5e74c Reviewed-by: Joni Jäntti <joni.jantti@qt.io> 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>
* Disable update download in backgroundTony Sarajärvi2018-03-181-0/+3
| | | | | | | Task-number: QTQAINFRA-1852 Change-Id: I6d8e433fa40dd080fe84efcf3d0c655d14f86010 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Move http_proxy.txt under shared folderHeikki Halmet2018-03-153-2/+2
| | | | | | 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>
* Simplify DownloadURLJędrzej Nowacki2018-03-141-38/+8
| | | | | | | | | | | | | The script was over-engineered. The new version provides the same functionality while removing uninteresting postmortem messages. In addition try_catch.sh has a bug that injects set +e to a sourcing script which was propagating through DownloadURL.sh to almost all provisioning scripts. So it is good to avoid using it. Change-Id: If191a0dcf52a29c4bec580a254e8e58a00130f6d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Provisioning: Create symbolic for shasum tool on macOS for compatibilityRainer Keller2018-03-103-7/+51
| | | | | | | | | | | On macOS the sha1 tool is named 'shasum' while on all other unix systems it is called 'sha1sum'. In order to make all unix provisioning scripts run on macOS without special case handling a symbolic link is created. Change-Id: Ib1365cbb0dcb31e68a22959ce939fb450ec7e3f7 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Simo Fält <simo.falt@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>
* open62541: Fix provisioning for RHEL 7.4Maurice Kalinowski2018-03-081-1/+7
| | | | | | | | | | | | | RHEL does not use pkgconfig, nor does it use /usr/local/lib as default library path. As a consequence, the config tests for qtopcua were not able to find the open62541 build. c3591fe77debc0eab79851bd8f0c050cd4f3f608 in qtopcua.git allows to specify an environment variable to point to the correct location. Move to /usr/local/lib/open62541/ on all platforms consistently. Change-Id: I73c8076b70767553edfd793889150c584d5c33b5 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
* Simplify openssl_for_android_linux provisioning scriptJędrzej Nowacki2018-03-061-31/+9
| | | | | | | | | | | The script was over-engineered. The new version provides the same functionality while removing uninteresting postmortem messages. In addition try_catch.sh has a bug that injects set +e So it is good to avoid using it. Change-Id: I9e26e8fedad71d40270fe94695d5e1c09c3d9023 Reviewed-by: Oliver Wolff <oliver.wolff@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: osx-10.11 - JavaMatti Paaso2018-02-231-0/+132
| | | | | | | This is needed for running RTA jobs in Coin. Change-Id: Iff855dae54babef00c055a2c8b938871101305e3 Reviewed-by: Simo Fält <simo.falt@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-237-1/+122
| | | | | | 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>
* Add shebang to launchable scriptTony Sarajärvi2018-02-231-0/+2
| | | | | | Change-Id: I62e33b656eee3a17e1dab4476569d9afa0b62a45 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Provisioning: Update Open62541Maurice Kalinowski2018-02-231-1/+1
| | | | | | | | This is required to use new APIs from the library. Change-Id: Idbadfd04c331af228a9e095e130930b5fb88f7af Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com> Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
* Merge remote-tracking branch 'origin/5.9' into 5.11Liang Qi2018-02-204-3/+66
|\ | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/linux/open62541.sh coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh coin/provisioning/qtci-macos-10.12-x86_64/40-qnx700.sh Done-with: Maurice Kalinowski <maurice.kalinowski@qt.io> Change-Id: Icd472b8f770a933bafead48093ecf7eb94156128
| * Provision: Use specific Python2 version in macOSSimo Fält2018-02-131-0/+52
| | | | | | | | | | | | | | | | Make sure we use some specific Python2 version on macOS instead of the one pre-installed along with system. Change-Id: Ifee07a8cf003e282ec3cb67535818f9fe39c8679 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Remove excess comment line for shellcheckTony Sarajärvi2018-02-071-1/+0
| | | | | | | | | | | | Change-Id: I3e9b8091c158a978bd95e48b18df326c3a545798 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Fix environment variable checking for proxyTony Sarajärvi2018-02-071-1/+1
| | | | | | | | | | Change-Id: Iec261d4ce4e84ba656edf9de52b4dc42d0249e51 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Merge remote-tracking branch 'origin/5.10' into 5.11Liang Qi2018-02-047-5/+278
|\ \ | | | | | | | | | Change-Id: I3b299786e8500b0a8f2c197f7501f8e6e1cf29cf
| * | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-02-035-0/+270
| |\| | | | | | | | | | Change-Id: I3e4ae2508d632919db77af0f365eb25ace1a69e0
| | * Provisioning: Disable Network Time ProtocolHeikki Halmet2018-02-022-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | NTP need to be disabled from all tier2 templates Task-number: QTQAINFRA-1608 Change-Id: I89e019c23b7a194efffa011200a8c870e3a65d66 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * 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-022-4/+4
| | | | | | | | | | | | | | | | | | | | | Internal resources are preferred and should be used first. Change-Id: Ifd2a54858c9fb6b82c3dc268566c67238aad262e Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>