aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
* 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.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.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>
* | | 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
* | | 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>
| * | Provisioning: FBX SDKTony Sarajärvi2017-11-113-0/+209
| |/ | | | | | | | | | | | | | | | | | | We need to provision the FBX SDK for Qt3DStudio. Task-number: QTQAINFRA-1449 Change-Id: I52587cd653b7954340d5f58978ffbd008330337c Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Disable NTP synchronization for WindowsJan Arve Sæther2017-11-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During CI, it has been observed that some processes didn't leave their wait state. (So they were "hanging") During analysis of the event log on that CI node, we found out that at the same time those processes entered this state, the NTP client set a new time and indeed the local time of the CI node changed (it was changed 2 hours forward in our case). For the record, the processes we observed this with was jom.exe and cc1plus.exe (the latter is the g++ compiler in the mingw toolchain)). We therefore have a strong suspicion that the NTP time change was causing the CI hang, so we simply disable it. The virtual machine should anyway get the correct time from its VM host when its started. Change-Id: I1204063399e2a4741b7b26b79858759c1bc5eab2 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
| * Provisioning: Update Java to version 8Heikki Halmet2017-11-091-62/+0
| | | | | | | | | | | | | | | | | | | | | | | | Current version of Java isn't installing correctly during provisioning. Silent installation needs parameters which are added to script. Without those the installation process tries to open Java3BillDevices.jpg unsuccessfully and the installation fails Task-number: QTQAINFRA-1498 Task-number: QTQAINFRA-1394 Change-Id: I5672d230eb348186345887da81cdd97a4f59bce8 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-11-0921-74/+376
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Also update to pyro toolchain in QEMU way. Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt coin/platform_configs/qtdeclarative.txt coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/004-yocto.sh Done-with: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Task-number: QTBUG-64384 Change-Id: If0451b81059e6831a5e5df0f359f119caf4ee09d
| * Provisioning: Remove logical OR when echo errorsHeikki Halmet2017-11-071-4/+4
| | | | | | | | | | | | | | | | | | | | set -e won't work if logical OR is used after commands. These error echo's need to be removed so that error catch will works. Also set -ex added to print executed command when error caught. Task-number: QTQAINFRA-1533 Change-Id: Ib4ea832a0ee813f99f59ebacad51ec57c3eff57d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: fix .ci.local addresses to .intra.qt.ioTony Sarajärvi2017-11-036-8/+8
| | | | | | | | | | Change-Id: I0ae934a65a2eaefa0bc4db9afbe3b8701dcb0906 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Cleanup of provisioning scripts as tier1 images are vanillaTony Sarajärvi2017-10-286-129/+0
| | | | | | | | | | Change-Id: I58c5cb64075c0b60e2e8881dd32d6fad3ab98ec7 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provision vanilla Windows 7 x86 and use itTony Sarajärvi2017-10-242-0/+84
| | | | | | | | | | Change-Id: I96eefe2e69b5cbe5d68329be2bb4273d03bb85ca Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Make CI use a new RHEL 7.4 provisioningJoni Jäntti2017-10-195-0/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added all the provisioning scripts that install required programs and make changes to certain settings. These are needed to build qt5. This commit replaces RHEL 7.2 in desktop builds, android builds and INTEGRITY builds. Task-number: QTQAINFRA-1251 Task-number: QTQAINFRA-1252 Task-number: QTQAINFRA-1253 Task-number: QTQAINFRA-1267 Task-number: QTQAINFRA-1269 Change-Id: Icef19df7fb799a4008ccdc0584821c982055e339 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Make 7zip provisioning script add 7zip to pathJoni Jäntti2017-10-171-5/+9
| | | | | | | | | | | | | | | | | | 7zip is nice to have in path for future purposes such as when cherry-picking to other branches where we use different extracts scripts. Change-Id: I40b0f8568e285d85927ad30365c0ab9224e21332 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Make Extract-7zip helper function work with the new provision locationJoni Jäntti2017-10-171-1/+4
| | | | | | | | | | | | | | | | Changed the helper function for extracting 7z files so that it also supports the new C:\Utils\sevenzip location. Change-Id: I4f2dafc4ccac71e2cd8a3c8148df4888f800484f Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Make Ninja provisioning use Add-Path functionJoni Jäntti2017-10-171-2/+1
| | | | | | | | | | | | | | We should use this helper function now that we have it. Change-Id: I9a522533795d4d4e63f608a0624378f066055b10 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: Fix usage of DownloadURL to throw errorsTony Sarajärvi2017-09-302-2/+10
| | | | | | | | | | | | | | | | | | | | In case DownloadURL failed it's shasum check, it printed an error and threw an exit 1. This exit 1 was never handled in the calling scripts and went ignored. It was also not passed forward as it was inside a try-catch statement. Change-Id: Iae4fd6aefb75c07623ec86dc570f0a46fec659b4 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: cleanup path from cmake_linux.shTony Sarajärvi2017-09-301-2/+2
| | | | | | | | | | Change-Id: Iced9f0c7811b9de076aee115502de0841c1a59cf Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-09-271-4/+46
|\| | | | | | | | | | | | | | | Conflicts: coin/platform_configs/qt5.txt coin/provisioning/qtci-linux-openSUSE-42.3-x86_64/08-pythondev.sh Change-Id: I16388eb0c2ebaa08e7bb1255711d64647fdad3ac
| * Add official URL to MinGW Windows 10 provisioningJoni Jäntti2017-09-271-4/+46
| | | | | | | | | | | | | | | | MinGW currently uses only internal URL without backup. Added the official URL to these scripts with SHA1 checksum verification. Change-Id: Id9b8a1bf1110201414e9d79c9e713475118ff661 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-09-2518-90/+372
|\| | | | | | | Change-Id: I623539ff0e95642bdd58fa3bbac4d1c88afbe519