aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* 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>
* 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-2016-9/+118
|\ | | | | | | | | | | | | | | | | | | 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
| * Disable set -e when enabling devtoolset-4 environment variablesHeikki Halmet2018-02-131-0/+1
| | | | | | | | | | Change-Id: If427179da490f14963077cd733082258e354710f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Provision: Use specific Python2 version in macOSSimo Fält2018-02-134-0/+64
| | | | | | | | | | | | | | | | 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>
| * Provisioning: osx-10.11 - Disable sleepJoni Jantti2018-02-081-0/+9
| | | | | | | | | | | | | | | | | | Display sleep and system sleep need to be disabled to prevent the machine from going to sleep during RTA testing. Task-number: QTQAINFRA-1588 Change-Id: Idc91d77388ed9bc6df5f3c1aceca515f6308c618 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: MacOS-10.12 - Disable sleepJoni Jantti2018-02-081-0/+9
| | | | | | | | | | | | | | | | | | Display sleep and system sleep need to be disabled to prevent the machine from going to sleep during RTA testing. Task-number: QTQAINFRA-1588 Change-Id: I3dc1642d3714762bfb56963392d2bb5137c13256 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@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-075-5/+5
| | | | | | | | | | Change-Id: Iec261d4ce4e84ba656edf9de52b4dc42d0249e51 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: Ubuntu 16.04 x64 - Set grub timeout to 0Joni Jantti2018-02-071-0/+8
| | | | | | | | | | | | | | | | | | Grub timeout should be set to 0 so we save some time whenever the VMs are booted. Task-number: QTQAINFRA-1703 Change-Id: Ia866000703fdc083407d5d8588ba6680ffd80038 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: openSUSE - Disable file indexingJoni Jantti2018-02-071-0/+2
| | | | | | | | | | | | | | | | | | Baloo file indexing sometimes takes up a great amount of CPU capacity and should therefore be disabled. Task-number: QTQAINFRA-1702 Change-Id: I549aef39c1dd2d2fa97196910f577153a42c4f54 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: openSUSE - Set grub timeout to 0Joni Jantti2018-02-031-0/+3
| | | | | | | | | | | | | | | | | | Grub timeout should be set to 0 so we save some time whenever the VMs are booted. Task-number: QTQAINFRA-1703 Change-Id: I67db00d200dc3e5f94ed205b53bb0ca6e70bdd8d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.10.1' into 5.11Liang Qi2018-02-151-1/+7
|\ \ | | | | | | | | | Change-Id: I07cebe617c7860cbeede24b2f45c7c508aed5a92
| * \ Merge remote-tracking branch 'origin/5.10' into 5.10.1Liang Qi2018-02-0747-193/+328
| |\ \ | | | | | | | | | | | | Change-Id: I275589752f6f623e61841a4552087a1875729615
| * | | Provisioning: Don't test window decorations on Ubuntu 16.04 QEMUJohan Klokkhammer Helsing2018-02-071-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decorations were previously disabled within the Wayland tests to work around another issue. That issue has now been fixed, and decorations have been enabled again, but these tests now became flaky when run within QEMU. Task-number: QTBUG-66173 Change-Id: I23b722ebc0719a2fd359ba5c3c57c66a887c06de Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | | | Remove macOS 10.10 from CI for Qt 5.11Jake Petroules2018-02-109-70/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As agreed, this version will not be supported any longer. Change-Id: I37d9d9d9e32b5d17dbf0f80a6c42a8e233bcc446 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* | | | Merge remote-tracking branch 'origin/5.10' into 5.11Liang Qi2018-02-0447-193/+328
|\ \ \ \ | | |/ / | |/| | | | | | Change-Id: I3b299786e8500b0a8f2c197f7501f8e6e1cf29cf
| * | | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-02-0345-188/+320
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: I3e4ae2508d632919db77af0f365eb25ace1a69e0
| | * | Provisioning: Disable Network Time ProtocolHeikki Halmet2018-02-028-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | Remove excess sourcing of try_catchTony Sarajärvi2018-02-021-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3bfa7e8755dbae904719212c22549f6965142330 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
| | * | Add Win7_x64 provisioning for RTA purposesJoni Jäntti2018-02-0235-186/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | Instead of just warning that apt failed, tell whyFrederik Gladhorn2018-02-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the lsof we should see which process was holding the lock. After that we can disable this source of problems. Change-Id: Ie6a014bdb101e6230139569c0e4ea51a57089c30 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@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>
| * | | Update MQTT provisioningMaurice Kalinowski2018-02-021-1/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | Setting an environment variable has been centralized to a separate script. Change-Id: I027f9a71d32ee7f7d68575c9433f56a40a369deb Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | | Provisioning: Fix location of sw_versions.txtFrederik Gladhorn2018-01-311-1/+1
| | | | | | | | | | | | | | | | | | I did not see this in the previous direct push. Change-Id: I620dcc7f1c562e5bd9e09d479a4a5b8598a970fb
* | | Merge remote-tracking branch 'origin/5.10' into 5.11Frederik Gladhorn2018-01-2946-55/+603
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2947-51/+606
| |\| | | | | | | | | | | | | | | | | | | | | | 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: Attach subscription to systemHeikki Halmet2018-01-292-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subscriptions need to be reattached when subscriptions have been renewed by Red Hat. Directly pushed to get provisioning into working shape. Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Change-Id: I6e469d7fac3b848193f280702e1e807ce4ea096b
| | * Provisioning: Add Squish provisioning for Release Test AutomationHeikki Halmet2018-01-2614-0/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>