aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * | 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>
* | | Merge remote-tracking branch 'origin/5.10' into 5.11Frederik Gladhorn2018-01-2918-31/+479
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2918-27/+480
| |\| | | | | | | | | | | | | | | | | | | | | | 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-263-0/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-265-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * Provisioning: Use SetEnvVar helper function in scriptsJoni Jantti2018-01-2610-24/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently when adding an environment variable in provisioning we have to check if the system is Ubuntu and use .profile instead of .bashrc. This check should be done in a function so we don't have to duplicate it for every provisioning script separately. Change-Id: I2fa128032123e17d20dfb39cd3668e22e4bb0d55 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@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
| | * Merge remote-tracking branch 'origin/5.9.4' into 5.9Liang Qi2018-01-181-1/+5
| | |\ | | | | | | | | | | | | Change-Id: I1c5c5e6e938f33dd8b0b9c40e64d509eeec25774
| | | * Provisioning: Set CMake to PATH on UbuntuTony Sarajärvi2018-01-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ubuntu uses .profile file instead of .bashrc. We need to use the correct file accordingly. Task-number: QTBUG-65594 (cherry picked from commit 22e4664eb08dc5384c5afd0bd6c6a0725b242517) Change-Id: Iceeec53882f1a5c97cd8f7ea5b013d543c156acb Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * | 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-132-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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-1289-160/+176
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1189-37/+37
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Fixed up provisioning script locations after the reshuffeling into common/platform folders. Change-Id: Ia0b7d076e475ccc207f2955572fb9ab4171e5d9d
| | * | Split Common folder based on operating system familiesHeikki Halmet2018-01-1085-34/+34
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will split common folder to four different folders: Linux, Unix, Windows and MacOS. Each of these folders includes scripts which are common for their operating system familes Task-number: QTQAINFRA-1451 Change-Id: Ic93b2183052335dee875d1452b21e38d268b6474 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
| * | Fix opcua provisioning by sourcing .profileTony Sarajärvi2018-01-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CMake is installed it exports its install path into .profile. However, freeopcua doesn't source it as builds do, so it couldn't find the cmake. Also, as Ubuntu is using .profile in our builds, this commit fixes so that the PATH is actually written into the right file. Task-number: QTBUG-65594 Change-Id: I561a88a07872436bb4a3bd62a2d55fd56a130121 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-0623-56/+85
| |\| | | | | | | | | | Change-Id: I7119e6e1853b0eef2b695fb8165518e90b18d250
| | * Set up proxy for provisioning scriptsTony Sarajärvi2018-01-024-1/+63
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-1669 Change-Id: I582dc5037bd2b46dcd5c9c3b2cb13784e122d6a5 Reviewed-by: Simo Fält <simo.falt@qt.io>
| | * Fix shebangs and give provisioning scripts +x rightsTony Sarajärvi2018-01-0219-18/+18
| | | | | | | | | | | | | | | Change-Id: Ib85721600b1e4461470a9ea4fd3b29fca0b35633 Reviewed-by: Simo Fält <simo.falt@qt.io>
| | * Add clean Ubuntu 16.04 provisioningJoni Jäntti2017-12-291-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently Ubuntu 16.04 template has stuff installed on its tier 1. We want to have a clean installed tier 1 and install everything on it during provisioning. This will save some disk space on our hosts. Task-number: QTQAINFRA-1574 Change-Id: Ia7e6df62835a8e31943c00996f12ac70c6c71aed Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * Remove provisioning of ICU for VS2012Tony Sarajärvi2017-12-271-36/+0
| | | | | | | | | | | | | | | | | | | | | Visual Studio 2012 isn't used in our builds. Change-Id: I7f2480a1811efd1c1f164f468407ab55d5c4102d Reviewed-by: Simo Fält <simo.falt@qt.io>
| * | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-12-132-15/+6
| |\| | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules Change-Id: If22ccc401db60d550d6e6b474d54a05b363884af
| | * Fix broken and duplicate Ruby provisioningJoni Jantti2017-12-132-15/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby is being installed twice on certain Windows platforms and the 32 bit versions of these don't have a working PATH addition. Task-number: QTQAINFRA-1632 Change-Id: Id7fd269854d17c32df7d0b82ac9e750e645af564 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * Merge remote-tracking branch 'origin/5.9.3' into 5.9Liang Qi2017-12-111-0/+3
| | |\ | | | | | | | | | | | | Change-Id: I01a6ee1ecfaabe56e585194ccfab3b25fbd89e8b
* | | | Provisioning: Ubuntu 16.04 - QNX700Joni Jantti2018-01-081-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QNX 7.0 is required by RTA on Ubuntu. Task-number: QTQAINFRA-1671 Change-Id: I82821e096cfa2d35a2176eba6e753a0d71049b72 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | | Drop builds done with VS2013Tony Sarajärvi2018-01-051-36/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-1390 Change-Id: Id3de3706466508cdbfc586b2a39d96083e8434e5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Tuukka Turunen <tuukka.turunen@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | | | Windows 10: Enable developer modeOliver Wolff2018-01-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to be able to run auto tests for UWP, developer mode has to be enabled. Change-Id: I4f20fb8d694d5148b7f976c1ef4bb23ff2fb57ba Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | | Apply path changes to running processMaurice Kalinowski2018-01-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SetEnvironment only applies changes to PATH for new processes. Currently the provisioning runs the scripts in one process, hence changes are not applied when they are already needed. Change-Id: I82a360686651a57e5c94330a9b56671fca1493e5 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | | Fix open62541 provisioning on LinuxMaurice Kalinowski2018-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pip is an unknown command in the sudo environment. Change-Id: Ia59c0b98eac6c3d22b8a452988abe17df6a83909 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | | | Drop QNX 6.6.0 verification from the CITony Sarajärvi2017-12-272-97/+0
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-1378 Change-Id: Icc5fb21b6430c916ceecb8d5a504d40938931b06 Reviewed-by: Simo Fält <simo.falt@qt.io>
* | | | Merge remote-tracking branch 'origin/5.10' into devLiang Qi2017-12-1426-120/+525
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/qt5.txt Change-Id: I9ad5a004544bf2f368ee1aaad247c4db3b36b162
| * | | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-12-092-3/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/qt5.txt coin/provisioning/common/install-commandlinetools.sh coin/provisioning/qtci-linux-RHEL-7.4-x86_64/004-install-packages.sh Change-Id: I3b20cda2b35412fd708295e4f9e32cd2d7d638fb
| | * | Fix mesa_llvmpipe provisioning script for x64 WindowsJoni Jäntti2017-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This script doesn't extract the dll to System32 on a x64 system. Calling "sysnative" doesn't seem to work with the custom function being used. Change-Id: Iea734a400d8c095ea2e3fe54f38e4756fba406f9 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * | Install command line tools for osx 10.11 and macOS 10.12Heikki Halmet2017-12-081-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Command line tools is needed by homebrew when installing p7zip Task-number: QTBUG-64729 Change-Id: Ia13838e3f5845351cb682c7d25127c8f36172d3b Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit beb73056c30445c5236c7bbb12248bfa0939cb4a) Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | | Install command line tools for osx 10.11 and macOS 10.12Heikki Halmet2017-11-261-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Command line tools is needed by homebrew when installing p7zip Task-number: QTBUG-64729 Change-Id: Ia13838e3f5845351cb682c7d25127c8f36172d3b Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| * | | Merge remote-tracking branch 'origin/5.9.3' into 5.10.0Liang Qi2017-11-251-0/+3
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/provisioning/qtci-linux-RHEL-7.4-x86_64/mqtt_broker.sh Change-Id: I3bfaa9531a4b62426ec276c764ffda5cffcbdcaa
| | * | Provisioning: Remove old cmake before installing new oneHeikki Halmet2017-11-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows 10 x86 isn't yet vanilla so provisioning needs to remove old cmake before installation Change-Id: I2712aaa652492520d68a597d99a3c2d6bdbe2433 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-11-164-42/+142
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: Iac3073d85bd94d27c296b307a827ee6bd97c4194
| | * | Remove unneeded provisioning scriptsTony Sarajärvi2017-11-131-49/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie8ff5810f07528fd23044e1b1396fc4fdde58283 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>