aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Merge remote-tracking branch 'origin/5.6' into 5.9Liang Qi2017-09-2218-90/+372
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42b502f is not needed for branches >= 5.8, configure.exe does not exist anymore. 30660bf was not applied to 5.9 branch, the scripts were not adapted to new template. Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Change-Id: Ie3681d5f641e99a074368f21b7f85fe31beacc17
| | * Merge remote-tracking branch 'origin/5.6.3' into 5.6Liang Qi2017-09-183-1/+73
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules Change-Id: I3f5310cfb9b839e622ab606fd674a58d50515c0c
| | | * Provision and build QNX660 on Win 10 x64Tony Sarajärvi2017-09-141-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the mingw from 4.9 to 5.3. Task-number: QTQAINFRA-1208 Change-Id: I360b9806c35e597a4b9fd0d57c10eebfb8643905 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
| | | * provisioning: install MinGW 530 and 630 for Win10 x64Tony Sarajärvi2017-09-141-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MinGW is an alternative option for Visual Studio. It's used to create desktop builds and for cross compiling Android and QNX. At this point it is still unclear which version is going to be used for what, but as both are supported, let's think ahead and provide them both. This also allows us to debug with the other, if the other is causing problems. Task-number: QTQAINFRA-1289 Change-Id: I2a922669c07d49370e608c093be80481c8613dc7 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| | | * Provisioning: Invoke installer with Start-ProcessTony Sarajärvi2017-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By launching an installer with Start-Process and -Wait, we make sure no handles are left holding on to the installer when we try to delete it at cleanup. Change-Id: Ic9b700ea1ce9e70089ba4cb7e91d9765ca976333 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
| | * | Provisioning: Fix shasum pathSimo Fält2017-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit c48355ebb58cb058df5b2ca519b6b89fbd09f380 changed the path of shasum, which was not intended. While the DownloadURL.sh utility is used by rhel in addition to macOS we can't rely on /usr/bin/shasum but we have to use the one found from PATH. Change-Id: I67bb37dcb72ba3d8d1f279646e44228b27137ec9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| | * | Provisioning: Fix DownloadURL utility's shasum checkSimo Fält2017-09-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MacOS 10.10 has older shasum tool, which does not support oneliner verification. Change-Id: If00b846d5772aa1991960675d022249d63e7bd77 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| | * | Provisioning: Hide powershell progress bar for performanceTony Sarajärvi2017-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I74abdcc2e7d2dccf4f85cd64fe5fb4b56e54d613 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * | Fix Add-Path helper function and start using it in scriptsJoni Jäntti2017-09-044-5/+7
| | |/ | | | | | | | | | | | | | | | | | | | | | This function was broken and only added the latest addition to the actual PATH. Change-Id: Ida352c7b605c1b9748bb98e4f51ce68a765c3ce3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| | * Provision vanilla Windows 8.1 x86 and use itTony Sarajärvi2017-09-0112-81/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces existing Windows 8 x86 builds with a vanilla tier 1 image that gets all needed software provisioned except for VS2013 that is pre-installed. Also modifies existing provisioning scripts under common to support this 32bit OS. Task-number: QTQAINFRA-1383 Change-Id: I495cb2d78b4d2d8b2abb9af1254fff0a78a570d9 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * provisioning: windows: ICUJoni Jäntti2017-09-011-2/+118
| | | | | | | | | | | | | | | | | | | | | | | | Fixed ICU script to actually install ICU instead of just setting the environment variables. It is required to build qtwebkit. Change-Id: I8881f9c11599d99b4d400595c9b929cf6f37088a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | Provisioning: Update MQTT provisioningMaurice Kalinowski2017-09-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | MQTT_TEST_BROKER_LOCATION needs to be prepended to .bashrc to avoid not being evaluated. Furthermore, a previous installation might need to be removed. Change-Id: I9edaeb13378aa262b453f816260ade01ba414961 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | provisioning: Windows 10 x64/x86 Vulkan SDKJoni Jäntti2017-09-191-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | Added provisioning for LunarG Vulkan SDK on Windows 10 x86/x64. Task-number: QTQAINFRA-1186 Change-Id: Ie6a4d3a9d8b605e4f1301a3045f8165d349f216f Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* | | Merge remote-tracking branch 'origin/5.9' into 5.10Simon Hausmann2017-09-181-1/+1
|\| | | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/qtci-linux-openSUSE-42.3-x86_64/08-pythondev.sh Change-Id: Icf3d05fa71052b411febe58c287b9a5b014a275f
| * | Clean up QNX patchingSimon Hausmann2017-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Get rid of COIN_WEBSERVER_ADDRESS and download the QNX C++11 patches from ci-files01 instead. Change-Id: I7c32bfc1e1abef59b1e419e7dcdb73a5b16a895f Reviewed-by: Simo Fält <simo.falt@qt.io>
* | | Merge "Merge remote-tracking branch 'origin/5.9' into 5.10" into ↵v5.10.0-alpha1Jani Heikkinen2017-09-107-8/+119
|\ \ \ | | | | | | | | | | | | refs/staging/5.10
| * | | Merge remote-tracking branch 'origin/5.9' into 5.10Simon Hausmann2017-09-067-8/+119
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qtdeclarative.txt coin/provisioning/common/InstallPKGFromURL.sh coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/002-apt.sh Change-Id: Id174b48e650ed18fbba48b4fc617ee075b0586ec
| | * | Provisioning: Fix helper function's mktemp in macOS 10.10Simo Fält2017-09-041-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that macOS 10.10 has a non standard mktemp command. It doesn't work as expected but prints usage and exit instead. Change-Id: I37be6eb01474466c2b6bbae4f38876673bd9c295 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * | Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-08-319-7/+299
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/InstallPKGFromURL.sh coin/provisioning/qtci-linux-RHEL-7.2-x86_64/08-pythondev.sh coin/provisioning/qtci-linux-RHEL-7.2-x86_64/09-cmake.sh Change-Id: I87b10d75250eecd5271be201fdf6b1d27cc5a791
| | | * Install python3 on all platformsSimo Fält2017-08-304-0/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python3 is required in 5.6 by pyside-setup. Task-number: QTAUTO-345 Change-Id: If11ca425fa08cce8a518710ded0a6ec58159343d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit a5f3f8ed482d314d092e1a6ddc5568839bb59c74) (cherry picked from commit a7658388892bc70c3c5f3a6f6e31639ef5b766d1) (cherry picked from commit 1859f9b26ce0177cb83e917148b10ff08bb25db7)
| | | * Fix code duplication for cmake installation on LinuxSimon Hausmann2017-08-301-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Share the code for installing cmake on Linux. Change-Id: I535f2696151ea4db26dc7194a1fe7016799ed0e2 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| | | * Fix adding to path lines for Windows provisioning scriptsJoni Jäntti2017-08-302-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the path addition command will forget the previous addition when adding a new string. This hasn't been found out because python was the only script using this command. Now we also need to set the path for ruby, so the python string is left out. Change-Id: I39721d78111550189e52a9f095030033f9660c0a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Joni Jäntti <joni.jantti@qt.io>
| | | * Provisioning: Fine tune cmake provisioning scriptTony Sarajärvi2017-08-301-4/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add version printing and move version strings to variables for easier reuse. Change-Id: I5372872bf455609dfb7cc7bbcf7a110cd71933fb Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | | | Provisioning: Install paho mqtt brokerMaurice Kalinowski2017-09-102-0/+101
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | The paho broker is used for testing the Qt Mqtt module, specifically the client classes. Change-Id: I252a337eb0454e871669a467dba2d9a379fb33d5 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Merge remote-tracking branch 'origin/5.9' into devLiang Qi2017-08-2427-11/+939
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/platform_configs/qt5.txt coin/provisioning/common/system_updates.sh coin/provisioning/qtci-linux-RHEL-7.2-x86_64/08-pythondev.sh coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/08-pythondev.sh coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/freeopcua.sh coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/freeopcua.sh coin/provisioning/qtci-macos-10.12-x86_64/020-xcode.sh Change-Id: Id9c38f3cda85b82fc20fb4a1f2ec71aa18646d94
| * | Enable developer mode on macOS platformsAlexandru Croitor2017-08-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously when a VM user tried to attach lldb to a process via ssh, lldb would fail with the following error message: "error: process exited with status -1 (unable to attach)". If this were done over VNC rather than ssh, the user would instead get a UI popup to enter a password to allow debugging the process. When trying to debug an application using Xcode for the first time, Xcode will offer to enable the so called "Developer Mode" which allows attaching a debugger without specifying a password every time. This change enables "Developer Mode", so that every VM user doesn't have to. Change-Id: Ie4e473a982c908afd456ac1773bbdaf4ce778094 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Merge remote-tracking branch 'origin/5.6' into 5.9Liang Qi2017-08-2222-5/+866
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the Documentation feature to the corresponding Ubuntu 16.04, where the CI would have used it by magic. Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Done-with: Frederik Gladhorn<frederik.gladhorn@qt.io> Change-Id: I885ce572710480cd15ecdc8cfac7edb52957f92a
| | * Provisioning: Disable system updatesHeikki Halmet2017-08-161-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | This change will disable system updates from App Store to prevent unnecessary network load Change-Id: I7915ec6ffce681a850abef59d58f953effd6deb0 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>