aboutsummaryrefslogtreecommitdiffstats
path: root/coin
Commit message (Collapse)AuthorAgeFilesLines
* Add a clean installed Win10_x86 for RTAJoni Jantti2018-04-053-1/+3
| | | | | | Task-number: QTQAINFRA-1842 Change-Id: I0334d74055690c7f850fd105fe008d11a8e57b8c Reviewed-by: Matti Paaso <matti.paaso@qt.io>
* Provisioning: Win8.1 - Add jom for RTAJoni Jantti2018-03-302-0/+2
| | | | | | | | Jom is required by RTA. Task-number: QTQAINFRA-1895 Change-Id: Iec99a91d2a48c4c6ef49829e4f05baa90d1a96e0 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Add SeparateDebugInfo for linux releaseMiikka Heikkinen2018-03-281-1/+1
| | | | | | | Task-number: QTQAINFRA-1688 Change-Id: I3557ac1e2bb6964278f381736f87e6fd3304744b Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@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>
* Install Python 2.7.13 to RHEL with pipTony Sarajärvi2018-03-221-2/+5
| | | | | | | | | | | | System's default Python is 2.7.5 and doesn't come with pip at all. To install its pip, it would require us to enable the EPEL repository and install it from there. The repos we use already include Python 2.7.13. If we install that we get pip as well. Change-Id: I083a970697a962ddb301616695c2cf419f1229f8 Reviewed-by: Simo Fält <simo.falt@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>
* Remove duplicate python-devel provisioning from RHEL 7.xTony Sarajärvi2018-03-221-1/+0
| | | | | Change-Id: I445135d675fa6b5cb305f6aadf5b754ab248a1ff Reviewed-by: Simo Fält <simo.falt@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>
* Update Python 3.4 to 3.6 in RHEL 7.xFrederik Gladhorn2018-03-222-54/+5
| | | | | | | | Also install Python 3 through system packages instead of some weird scripts. Change-Id: Ie22e126a422bd6efe9b3030d5044f4c196894ca8 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Win8.1_x64 - Add Python2 and Python3 for RTAJoni Jantti2018-03-222-0/+2
| | | | | | | | Python is required by RTA. Task-number: QTQAINFRA-1870 Change-Id: If63218da138995580a3bed5ede8996d722fff48d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Add Windows 8.1 target for RTAMatti Paaso2018-03-221-0/+1
| | | | | | Change-Id: Ifd055590bada66f7437af0b4de4a8549440952ae Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Disable background update checks in RHEL 7.xTony Sarajärvi2018-03-201-0/+4
| | | | | Change-Id: If17fd47850be8b3a59ded7e0a543c9160f92b84c Reviewed-by: Heikki Halmet <heikki.halmet@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 macOS 10.12 provisioningTony Sarajärvi2018-03-196-219/+63
| | | | | | Change-Id: I57fbfdef3e8105e9e66c576ef545fc6c22400ac7 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 codes from macOS 10.11 scriptsTony Sarajärvi2018-03-193-72/+19
| | | | | | Change-Id: I7690ae186729b3a180b1d38c298a861d981dbf5d Reviewed-by: Joni Jäntti <joni.jantti@qt.io> 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>
* Remove try_catch codes from Ubuntu 16.04 scriptsTony Sarajärvi2018-03-192-209/+139
| | | | | | Change-Id: I4a377b8bc2a16d9b9c4123a9a4f623f1a6a7ae18 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Windows - Disable autorebootJoni Jantti2018-03-187-0/+41
| | | | | | | | | 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>
* Revert "Provisioning: openSUSE - Set grub timeout to 0"Tony Sarajärvi2018-03-181-3/+0
| | | | | | | | | | | | This reverts commit 2e329bc68eb5af977dca1982ed608dc058fdf7f9. grub-update command isn't found, and after enforcing script results, we have a P0 blocker here. Change-Id: Iaf4b17a91cdc865974a5f4f196bbb80b085a39c2 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 677524620d5e8a8af96fa9395e3b3d342f113158) Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* Download get-pip primarily from our local cacheTony Sarajärvi2018-03-181-1/+1
| | | | | | | | | | | | | We should first download from our local cache, and if that doesn't work, fetch it online. This commit doesn't fix it per se, but as we download it from our local cache, the version is the one our shasum checksum matches against. Task-number: QTQAINFRA-1876 Change-Id: Ia7de54cf090af47ba33111911582f9d48c0ab2a2 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Clean old RHEL repo data before fetching new dataTony Sarajärvi2018-03-181-0/+4
| | | | | | | | | Task-number: QTQAINFRA-1872 Change-Id: I49d9d1589adc5b34f1b7c2dccc14be0021f2baaa Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io> Reviewed-by: Joni Jäntti <joni.jantti@qt.io>
* Disable update download in backgroundTony Sarajärvi2018-03-184-0/+15
| | | | | | | Task-number: QTQAINFRA-1852 Change-Id: I6d8e433fa40dd080fe84efcf3d0c655d14f86010 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Use local RHEL repositories with RHEL 7.4Tony Sarajärvi2018-03-163-7/+31
| | | | | | | | | | | | | | | | This will remove the majority of our network traffic from the outbound connection while provisioning. Also proxy was removed for yum, as there is no point in proxying local data. As a side effect, this makes provisioning currently faster by reducing the time it takes by 35%. Task-number: QTQAINFRA-1849 Change-Id: Ida4fb86d4bef166fc72e521e395d9753ec47a687 Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io> Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@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>
* Move MSVC2017 x86 builds to 64bit host OSTony Sarajärvi2018-03-101-1/+1
| | | | | | | Change-Id: I7544c12086ef8a437bca575dfce7de44ec9938a5 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Create symbolic for shasum tool on macOS for compatibilityRainer Keller2018-03-106-7/+54
| | | | | | | | | | | 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>
* Properly download and install RHEL EPEL repoRainer Keller2018-03-102-5/+48
| | | | | | | Use the same approach as in the other scripts. Change-Id: Ie48103e2c4a528a9d29318c4cabd6ead71dc5c2c Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Install RHEL EPEL only onceRainer Keller2018-03-103-21/+50
| | | | | | | | Installing twice will fail when preventing the +e injection bug when fixing the try-catch issue. Change-Id: I26a1b9fa235c44fe933f2f29016a80f57d47ed49 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Provisioning: win8.1 - RTA required provisioning scriptsJoni Jantti2018-03-0826-0/+75
| | | | | | | | | | 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-087-0/+45
| | | | | | | | | | | 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>
* Provisioning: win10_x86 - Disable automatic updatesJoni Jantti2018-03-081-0/+1
| | | | | | Task-number: QTQAINFRA-1814 Change-Id: I1fed4d952f77daa1c7bd5fdb34d9568ae1208bac Reviewed-by: Tony Sarajärvi <tony.sarajarvi@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-014-15/+54
| | | | | | | | | 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>
* Install libusbx-devel for QDB on RHEL 7.4Kari Oikarinen2018-02-271-1/+1
| | | | | | | | | | | On previous RHEL version the package was libusb1-devel. That package doesn't seem to be there anymore, which presumably means why the package to install was changed to libusb-devel. Unfortunately libusb-devel provides a compatibility package for the old 0.1 API version and doesn't work with QDB. libusbx-devel seems to be the new name for the 1.0 API version of libusb on RHEL. Change-Id: I50a10bed0b73b536e5d591363f01d7cf6a3a69d7 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Unify Windows provisioning scripts & improve error handlingv5.11.0-beta1Oliver Wolff2018-02-2655-383/+363
| | | | | | | | | | | | | | | | | | | | | 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: Build and install Wayland 1.12.0 on RHEL 7.4Johan Klokkhammer Helsing2018-02-262-0/+65
| | | | | | | | | | So QtWayland will be built and included in the installer. wayland-egl, however, will not be built, as that depends on support in mesa. Task-number: QTBUG-66341 Change-Id: Id3f1825e00be9d278fce8ac2710a2640baafd332 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Provisioning: Install RPMs for mesa-wayland-egl on RHEL 7.4Johan Klokkhammer Helsing2018-02-261-0/+61
| | | | | | | | | | The standard mesa.spec file had sections for wayland-egl, which were ifdef'ed out. The RPMs downloaded by this script have been built with these ifdef's removed. Task-number: QTBUG-66341 Change-Id: I43bcc67f5fd112e0837d45da7df20bcb63bfd989 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Uninstall aptdaemon/aptd before using aptFrederik Gladhorn2018-02-231-0/+13
| | | | | | | | | | This removes various kinds of update notifiers that depend on aptd. Also gets rid of the problem that aptd may hold apt lock files. Task-number: QTQAINFRA-1755 Change-Id: I27dd6fef4720ef25a504d76a3da16d9bf45fb2f7 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@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: openSUSE-42.3 - Disable update notificationsJoni Jantti2018-02-231-0/+2
| | | | | | | | | Update notifications need to be disabled to prevent popup messages from stealing focus during testing. Task-number: QTQAINFRA-1755 Change-Id: I202ffbee6420d2c9c167a97f02d5245145b618d0 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>