aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| | * Make CI use a new win 8.1 provisioning instead of win 8Joni Jäntti2017-08-1118-0/+821
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added all the provisioning scripts that install required programs and make changes to certain settings. These are needed to build qt5. This replaces the old Windows 8 template. Made all the Windows platforms use the scripts under provisioning/common/ instead of duplicate files. Task-number: QTQAINFRA-1357 Change-Id: Ic3f0b50079b212437fff711379f243753ab84872 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| | * Update provisioning scripts with new intra.qt.io addressTony Sarajärvi2017-08-083-5/+5
| | | | | | | | | | | | | | | Change-Id: I9b4c5e9d0fe8e0e84596ad9086f563d11e97930b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Use libusb compiled with MSVC 2015Kari Oikarinen2017-08-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QDB has to change to using Windows 10 for releases, because Windows 8.1 is no longer available for non-qt5 builds as a packaging platform in 5.9 branch. Don't provision libusb on earlier Windows versions, since they don't have a compatible compiler. Change-Id: I771a24fcf208c4961483a39e51cb7d95f004ed55 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
| * | Provisioning: Install pip for macOS 10.12Simo Fält2017-08-171-0/+5
| | | | | | | | | | | | | | | | | | | | | Pip is required to provision python packages. Change-Id: I73ab7556bb6b9ccc57ef078f422bfbba4bfed6a7 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Provisioning: Update CMake on osx 10.10Simo Fält2017-08-171-0/+51
| | | | | | | | | | | | | | | | | | | | | Pyside requires cmake 3.1.0 or more recent. Change-Id: Ic376d5e5af9f9b0692a2de7c4ec35e6c8bfa9465 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Provisioning: Reduce verbosity of uncompressing XcodeTony Sarajärvi2017-08-171-1/+1
| | | | | | | | | | | | | | | Change-Id: Id09ace3fcdf53c3b6921ed277c9fe571b5c43e3b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Provisioning: Install virtualenv for macOS 10.12Simo Fält2017-08-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Python virtualenv command is used when building pyside modules, which installs additional Python modules during build time and requires access to installation directories. Change-Id: Id34ac8b36710ba04d8db263acdaf2bd31e314de8 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Adapt comments to qdb repository moveKari Oikarinen2017-08-161-2/+2
| | | | | | | | | | | | | | | Change-Id: I3ecdc952d1323a14471cdc87b6854b857d4297a7 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Update libusb versionKari Oikarinen2017-08-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use an unreleased version that does not have a crash on Windows 7, since there is not yet an official release that would include the fix. Task-number: QTBUG-62430 Change-Id: I14d83d01fe3d4b0bfebe7514fbec7d25e99af731 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Merge remote-tracking branch 'origin/5.9' into devSimon Hausmann2017-07-261-0/+63
|\| | | | | | | | | | | Change-Id: I2d5232e2c3a7a8e0d90183b0448ba0ddb5351a29
| * | Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-07-191-0/+63
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt This also reverts c9d5341307e02cc71d4d99342e6915621f7d18f3 as on macOS 10.11 in 5.9 we're using a fresh virtual machine template that doesn't have stale virtualenv/python installations. Change-Id: Iab50fde0388c97967ada7c40374345ce4327613a
| | * Centralize Mesa LLVMPipe installation on WindowsSimon Hausmann2017-06-201-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Install the DLL for general availability on all Windows systems. Due to its distinct name it will not be picked up by anyone unless Qt explicitly selects it. This gives us the ability to choose the GLES backend to use in Qt. Change-Id: Ie36f202ead7080a8f7690734d305bd27f0c9f56b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | Merge remote-tracking branch 'origin/5.9' into devSimon Hausmann2017-07-1437-8/+2221
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/platform_configs/qt5.txt Remove QNX Windows builds, 0358b6d2 Remove Integrity build temporarily, QTBUG-61702 coin/provisioning/qtci-macos-10.12-x86_64/020-xcode.sh Done-with: Liang Qi <liang.qi@qt.io> Change-Id: I5a56633d6cd60b5514828060fde87f784e54cdda
| * | Conan: update ICU to 59.1, added VS2017 packagesKonstantin Tokarev2017-07-0917-379/+956
| | | | | | | | | | | | | | | | | | | | | | | | MinGW packages will be upgraded in another patch. Task-number: QTBUG-61728 Change-Id: Ie6a1996b7850282a7cdcbe5ceba61f1ce473cf69 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Provisioning: install x86 conan packages on MSVC2015-x86_64 Win 10 hostKonstantin Tokarev2017-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Also upgrade to Conan 0.24.0. Task-number: QTBUG-61829 Change-Id: Ia01609e5f2d8121eb216b03bc8e95bca7225042e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Provisioning: move Conan manifests to common directoryKonstantin Tokarev2017-07-0918-1/+1333
| | | | | | | | | | | | | | | | | | | | | | | | | | | We need to use x86 packages from qtci-windows-10-x86_64 configuration, so splitting Conan manifests by configuration is not a good idea anymore. Task-number: QTBUG-61829 Change-Id: I8b2fc00865cce372ca6b5ec75b4775d345d0d18f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Provision homebrewSimo Fält2017-07-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the macOS templates are cleaner than others and are mising some basic tools like 7z. Homebrew provides easy way to install wide range of tools via command line. Change-Id: I5a8528bb4a13ef9a72e2467c51a8b5d45f9a3d84 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Provision libclangSimo Fält2017-07-083-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | PySide versions following 5.6 use a C++ parser based on Clang. The Clang library (C-bindings), version 3.9 or higher is required for building. Change-Id: Ia7bcad46e3214d6d8b688354c9abdc83a513573c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Provisioning: Install Ninja on windows hosts used to build cmake-based QtWebKitKonstantin Tokarev2017-07-031-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makefile-based generators of CMake are much less efficient than Ninja. They generate bloated Makefiles that call back to cmake often. Main offender on Windows is cmake_depends command which seems to do lots of disk reads. QtWebKit can now switch to ninja automatically if it's present in PATH. This should help to reduce build times. Change-Id: I33d3f4d766a630f8ca4fb64b719fe2e8a5c2e00c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-06-125-5/+95
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Change-Id: I1709ddd14bf27186a8968ce073cf22e7903ff798
| | * Clean up windows cleanup scriptSimon Hausmann2017-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * There's no need to have a numbered prefix in the common directory * Instead of deleting directories trees worth several gigabytes of data, just rename the directory. The underlying storage system is copy-on-write and so deleting the files produces more data than just moving the directory out of the way. Deleting the files does not actually free up any physical disk space. Change-Id: I6de02d56f3485651726ea11183ce7571d5b61520 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Speed up Windows installation of cmake, python, opengl, mysys and AndroidSimon Hausmann2017-06-062-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | We're better off copying off the internal server using CIFS than using PowerShell's incredibly slow Invoke-WebRequest. Change-Id: Ic39cf08be70335e9309575d543155bffaceb0db0 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Speed up Visual Studio update installationSimon Hausmann2017-06-061-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have a prepared package on the internal server that has everything necessary included. This way we do not have to download the actual update content from the internet. Change-Id: Ie4cb3116a4f91a47df5be1c2b2e473d7ddec9a78 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
| | * Improve Postgresql installation on WindowsSimon Hausmann2017-06-061-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to the mysql change (parent commit) it's faster to rename any older artifacts and install only what we need. This also generalizes the zip archive extraction code for "dev" packages. Change-Id: I3ad1f23efaed80fab3e0778a3e8c46317138f1ad Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
| * | Add provisioning for qt3dstudio 3rdparty toolsMiikka Heikkinen2017-04-271-0/+10
| | | | | | | | | | | | | | | Change-Id: I8060b6fd89e4c188d17219f43c8789aa25713068 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Improve reliability of automated xcode installationSimon Hausmann2017-04-211-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of downloading a 4+GB archive and uncompressing it in /tmp, let's uncompress the archive via NFS and feed the data straight into cpio. This should be faster and avoids curl's error handling that's happy to abort instead of re-trying. Change-Id: Ifa5d842c50111ccdbd56e795b270ee6433a63adf Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | Fix provision script to create sub folders if neededTony Sarajärvi2017-04-201-1/+1
| | | | | | | | | | | | | | | Change-Id: I6bec5e3adb66d0e88f611a83d05a52e6b8858b7a Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* | | Download and install vc_redist 2015 on windows 7 and 8Dominik Holland2017-06-261-0/+64
| | | | | | | | | | | | | | | | | | | | | This is a dependency of the python3 packages for windows Change-Id: I6f45dcb1d64f43dedd883d33fdc85038c24fc501 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Add winrtrunner to common tools on Windows 10 machinesOliver Wolff2017-06-121-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | winrtrunner is needed for running auto tests on winrt. As the tool resides in qttools and not qtbase and it not changed often, it was decided to handle it similar to jom and see it as an external tool. Change-Id: I9636962df51f98bef6aad3e340c565f50e393949 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Install python3 on all platformsDominik Holland2017-05-113-1/+123
|/ / | | | | | | | | | | Task-number: QTAUTO-345 Change-Id: If11ca425fa08cce8a518710ded0a6ec58159343d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.9Simon Hausmann2017-04-131-0/+4
|\| | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Change-Id: Icee114ea6bd025a54db7ce34d6a0bd0dc16e767c
| * Fix provision help script DownloadURL.shTony Sarajärvi2017-04-101-0/+4
| | | | | | | | | | | | | | | | The script neglected the result of the sha1 after download. Even with a failure it exited nicely. Change-Id: I6c0e25c2b764a0ad54acbe317eddf395a56d7f1c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.9v5.9.0-beta1Liang Qi2017-04-034-73/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt This also fixes the 7Z extraction code to work on the windows 7 x86 installation where 7z is not in the PATH anymore with revision 2. The fallback code was 64-bit only and needs the null check for ProgramFiles(x86) along with the fall back to ProgramFiles to locate the 7z executable. Change-Id: Ifcf014c3a99685c427a62898e1fa83910a4a7247
| * Coin provisioning: Use arg instead of autodetecting architectureSimo Fält2017-03-302-14/+10
| | | | | | | | | | | | | | | | | | When provisioning windows machine, it seems that detecting architecture by checking [System.Environment]::Is64BitProcess doesn't work properly. Instead pass 32 or 64 as an argument when calling powershell script. Change-Id: I890ad141b8ef194275848d0e656431753463cd2b Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: Move Visual Studio installation to pre-provisioningHeikki Halmet2017-03-221-58/+0
| | | | | | | | | | | | | | | | | | | | | | Visual Studios will be pre-provisioned to tier1/vanilla os when visual studio update is needed. Even if using pre-configured offline installer with specific workload and components the installation is still taking too long. This way we'll reduce provisioning time significantly Change-Id: I1f831aef648716dc640ce9cbfb4e63aa54e7afd0 Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
* | Merge remote-tracking branch 'origin/5.8' into 5.9Liang Qi2017-03-042-1/+59
|\ \ | | | | | | | | | Change-Id: I415772838a8434d00ad4ccebc8b1c4180e85880b
| * | Provisioning: Upgrade conan version from 0.16.0 to 0.20.2Akseli Salovaara2017-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conan provisioning fails on private Coin instance due to error message Could not find a version that satisfies the requirement conan==0.16.0 (from versions: 0.15.0, 0.16.1, 0.17.2, 0.18.1, 0.19.3, 0.20.0, 0.20.1, 0.20.2) No matching distribution found for conan==0.16.0 Upgrading to 0.16.1 resulted warning "Your conan's client version is deprecated for the current remote (v0.20.2). Upgrade conan client." and provisioning failed with "ERROR: All remotes failed" After upgrade to 0.20.2 conan provisioning script is working again. Change-Id: I2fe9d65460954c929abb4822d206dde42909d5b3 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
| * | Merge remote-tracking branch 'origin/5.6' into 5.8Liang Qi2017-02-171-0/+58
| |\| | | | | | | | | | Change-Id: I0203dea8e441e58400d6c44697588a44b97a522b
| | * Provisioning: Visual Studio 2015 with update 3Heikki Halmet2017-02-071-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | Common install script for Visual Studio installation and updates. Latest Visual Studio 2015 update is required for releases Change-Id: I5b41625ca7f161b4ba2d417797f8839ef175cdbc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| | * Upgrade CMake to 3.6.2Konstantin Tokarev2017-02-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtWebKit requires CMake >= 2.8.12, while only 2.8.11 is available on Windows 10 machines. Task-number: QTQAINFRA-996 Change-Id: I734be4cc36f64dd5aeb243b0fbe4395c75c523b3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit 77eeee64a43c5c448321b8f5ac7b64c872e14489)
* | | Add provisioning PKG install helper script for bashTony Sarajarvi2017-02-091-0/+103
| | | | | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-1087 Change-Id: I93f33e2e93371f68f31a9ed8b4d9c89ee091b629 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
* | | Add provisioning helper script for installing compressed filesTony Sarajarvi2017-02-091-0/+127
|/ / | | | | | | | | | | | | | | | | This script downloads a file from a given URL, uncompresses it and installs it to a desired location. Task-number: QTQAINFRA-1087 Change-Id: I466cb81ec6c96bb0d46329ec98dcc4f31be173ec Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
* | Merge remote-tracking branch 'origin/5.6' into 5.8Simon Hausmann2017-02-033-3/+95
|\| | | | | | | | | | | | | Conflicts: coin/provisioning/qtci-linux-RHEL-6.6-x86_64/android_linux.sh Change-Id: I10fcdfc0af68741d931f4732783bafdad2fffc4a
| * Provision: Script to print sw versions to provision logHeikki Halmet2017-02-031-0/+43
| | | | | | | | | | | | | | | | This script is the last script that is run by provisioning. It will print all storaged sw information to provision log Change-Id: I2c76d5f7cccf9c116cb660ffcb67d3bece473da8 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Update jom to 1.1.2Joerg Bornemann2017-02-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The most important changes that affect the CI are: - Fixed bogus path in error message for failed targets. - Fixed error "JobClient destroyed while still acquiring." that could be yielded for failed builds. - Fixed /k option (QTCREATORBUG-17131). - Added the special .NOTPARALLEL target that disables parallel build for the containing makefile. (This one is needed to build QtWebEngine in debug-and-release properly.) - Introduced the JOMFLAGS environment variable. This is a MAKEFLAGS pendant. JOMFLAGS is useful to set up separate flags for nmake and jom. Change-Id: Icb2462d06b000a3fe29e1e9290b294cb1e900409 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>