aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-03-165-0/+0
| | | | | Change-Id: I9ad2fe2d1bad7d761b25de77d473994870aac960 Reviewed-by: Liang Qi <liang.qi@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>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-03-156-0/+0
| | | | | Change-Id: I6a0ad20fa97dabfbec8eaed990e844b26b20b353 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* 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>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-03-149-0/+0
| | | | | Change-Id: I8234b4d7d7c54ed0020e6cd2fcdbaa07d33eb928 Reviewed-by: Liang Qi <liang.qi@qt.io>
* Update submodules on '5.11' in qt5v5.11.0-beta2Liang Qi2018-03-1112-0/+0
| | | | | Change-Id: Ia27a0de06afe5de52eb026a5225e4d2caac0975c Reviewed-by: Liang Qi <liang.qi@qt.io>
* Update qtwebengine onlyLiang Qi2018-03-101-0/+0
| | | | | Change-Id: I1396d561892a5fead56775906ecd8aa7c48ba187 Reviewed-by: Liang Qi <liang.qi@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>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-03-0812-0/+0
| | | | | Change-Id: Id00474dec78862dbce0238560e859656bd69f69f Reviewed-by: Liang Qi <liang.qi@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>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-03-051-0/+0
| | | | | Change-Id: I3f19c5b7daedfa7d499ab769404d1f34a32c7816 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-03-041-0/+0
| | | | | Change-Id: Iebf77d7f467d0fde9ee622e4e7b657cb1e9b8003 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-03-032-0/+0
| | | | | Change-Id: I2ba427ea1d9e37421775c297d983654f3e691845 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-03-0218-0/+0
| | | | | Change-Id: I0b551c2af57243eee865cd4319ee1797dc38f705 Reviewed-by: Liang Qi <liang.qi@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>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-02-277-0/+0
| | | | | Change-Id: I7c090de84c5cf511ec7cea69900546edf6039c39 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* 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>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-02-262-0/+0
| | | | | Change-Id: I46be13c9983d30fb1e2461dbc795664600e0655a Reviewed-by: Liang Qi <liang.qi@qt.io>
* Update submodules on '5.11' in qt5Qt Submodule Update Bot2018-02-248-0/+0
| | | | | Change-Id: I2f9a24e295282514da028d8ff8d27e0de6326218 Reviewed-by: Liang Qi <liang.qi@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>
* Provisioning: osx-10.11 - JavaMatti Paaso2018-02-233-131/+137
| | | | | | | 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-234-5/+8
| | | | | | | | | | 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-2313-1/+128
| | | | | | 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>