aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
...
| * Provisioning: Install Google's Protocol BuffersHeikki Halmet2019-01-292-0/+139
| | | | | | | | | | | | | | | | Protobuf is needed for Automotive Suite Task-number: QTQAINFRA-2314 Change-Id: I12b4248f1de5aea88f573297a47b791b5b6296fb Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
| * Provisioning: Remove Unneeded Android variablesHeikki Halmet2019-01-291-4/+0
| | | | | | | | | | Change-Id: I7dd008aef6465fdddd07e227b48e9b6361c13f81 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Remove docker from macOS provisioningHeikki Halmet2019-02-232-134/+0
| | | | | | | | | | | | | | | | | | | | | | | | When docker provisioning starting test-server in virtual box whole virtual machine will reboot. Let's remove docker until it's more stable or we know how to fix it. Task-number: QTQAINFRA-2801 Change-Id: Iad7437a69c954a90522e44ef27015518fa3f8c1e (cherry picked from commit 1865b99b527bd9eee80c39e95d47a44096e44e6a) Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
* | Provisioning: Update mysql to WindowsHeikki Halmet2019-02-181-2/+2
| | | | | | | | | | | | | | | | Currently this is the last version that support x86 for at least Windows. Task-number: QTQAINFRA-1996 Change-Id: Idd55694837afad2188697b4d5cc009a127ddb760 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | Fix provisioning failure when unsetting proxy with no proxyJuha Karjalainen2019-01-291-2/+7
| | | | | | | | | | | | | | | | | | | | When unset-proxy.ps1 script is run when there is no proxy set unset script fails leading provisioning to fail. Now will check if proxy is set before removing registery keys for it. Task-number: QTQAINFRA-2311 Change-Id: Ic50bcebc634bb90385ca817dac9bed24e9e897ec Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devLiang Qi2019-01-2314-323/+442
|\| | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt Change-Id: Ie21baa51738ce0761fb45fba3819b1894cc808b6
| * Accept license in Android SDK provisioningTony Sarajärvi2019-01-231-3/+4
| | | | | | | | | | | | | | | | | | A change in Android SDK prompts us now for accepting license. Task-number: QTQAINFRA-2591 Change-Id: I1ff05d84ccda743649c6d38784c6170e08f50eb1 Reviewed-by: Liang Qi <liang.qi@qt.io>
| * Provisioning: breakpad for qt3dstudioJuha Karjalainen2019-01-173-0/+197
| | | | | | | | | | | | | | | | | | | | Breakpad https://chromium.googlesource.com/breakpad/breakpad/ sources are needed for qt3studio. Also Breakpad need sources for https://chromium.googlesource.com/linux-syscall-support. Task-number: QT3DS-2650 Change-Id: I13c7534e1c6e97a1e345dad3c2c82eeb6428313d Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: Move Android toolchain and config to win10Simo Fält2019-01-172-1/+17
| | | | | | | | | | | | | | | | | | | | Installing Android toolchains and ssl headers to win10 template and moving Android windows platform configs to win10 from win7. Task-number: QTQAINFRA-1266 Change-Id: I9b3e3a378451e0bdfc7dc5c7b75ee035faf8994c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit 5a040ca46a46a3a45fa61036ca5115c4d0819034)
| * Provisioning: Remove update notifierHeikki Halmet2019-01-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | Update notifier is showing when vm is running. It can affect to test results and that's why it need to be removed Task-number: QTQAINFRA-2453 Change-Id: Icb27ba998ef9a51aaf8f40274c182b0c3dcd496a Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Juha Karjalainen <juha.karjalainen@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
| * Provisioning: Update Unified Automation OpcUA backendMaurice Kalinowski2019-01-161-24/+55
| | | | | | | | | | | | | | | | | | | | Adding in the x64 bit installers to deployment. Furthermore, we can use the msvc2015 installer to create msvc2017 binaries with Qt. After the licensing change, we will be able to generate packages for all msvc based installers. Change-Id: I96db345b535a2518c758175137c808b15130ff41 Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
| * Fix provisioning ODBC environmetal variables had : at endJuha Karjalainen2019-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | CPLUS_INCLUDE_PATH and LIBRARY_PATH environmental variables had --> : <-- at end of variable. As this adds current dir to search path this is undesirable and causes bugs. Change-Id: Ia36c3f3f791f5d506eea15aba6be6d665049a922 Reviewed-by: Juha Karjalainen <juha.karjalainen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Provisioning: Update Qt OpcUA backendsMaurice Kalinowski2019-01-093-342/+4
| | | | | | | | | | | | | | | | | | | | | | | | - Unified Automation SDK needs to be updated to 1.6x to reflect latest API changes - Open62541 is now inside 3rdparty of the Qt OpcUA module. Hence, no need to provision it. Change-Id: I96a3764053ca684fa71f9d49e998ebe0ce45a6ae Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com> Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com> Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
| * Fix broken provisioning script DownloadURL.shJuha Karjalainen2019-01-091-3/+5
| | | | | | | | | | | | | | | | DownloadURL returns 0 even when alt download fails. Task-number: QTQAINFRA-2501 Change-Id: Id2fb1e0b4ff12a48b6adb27291f55fc129296233 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
| * Provisioning: Add Squish Coco for RTAHeikki Halmet2019-01-042-0/+108
| | | | | | | | | | | | Task-number: QTQAINFRA-2393 Change-Id: I391a2670a46835988da6fd1d9121172c706c7a21 Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
| * Provisioning: Unify duplicated openssl provisioning scriptJuha Karjalainen2019-01-031-0/+81
| | | | | | | | | | | | | | | | MacOS(10.12 and 10.13) had two identical provisioning scripts for openssl. Now unified under common. Change-Id: If469a56d431e72b291a810fa9c1b701873fe382d Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
| * Provisioning: Windows: Disable automatic defragmentationJoni Jäntti2019-01-021-0/+34
| | | | | | | | | | | | | | | | | | Automatic disk defragmentation is enabled by default on Windows machines. It should be disabled to save some time. Task-number: QTQAINFRA-2217 Change-Id: I3f024208bd35c9e305569e6b2b562f5a8b16f6f1 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Swap openSUSE 42.3 to 15Tony Sarajärvi2019-01-101-0/+2
| | | | | | | | | | | | | | | | Task-number: QTQAINFRA-2067 Change-Id: I71f79181704d6ce8faac0019f6d7a5016b0ecb5e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Fix .ci.local to .intra.qt.io in docker provisioningTony Sarajärvi2019-01-071-1/+1
| | | | | | | | | | Change-Id: I9de241e70a5dd15568619da6e4a19d54e76e5a4c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devLiang Qi2019-01-0221-51/+103
|\| | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/provisioning/common/linux/docker_testserver.sh coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh Done-With: Ryan Chu <ryan.chu@qt.io> Change-Id: I9bc3afcb50783a9f0f7718731d237de4be287cae
| * Fix .ci.local to .intra.qt.io in provisioning scriptsTony Sarajärvi2018-12-312-2/+2
| | | | | | | | | | Change-Id: I113095b337c3592757878fb919a0a18a60a8ce7e Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: Install ODBC for macOS 10.12 10.13Juha Karjalainen2018-12-311-0/+54
| | | | | | | | | | | | | | | | | | | | This script installs libiodbc from brew and adds it to CPLUS_INCLUDE_PATH and LIBRARY_PATH thus enabling configure to find it and thus enabling odbc support for qt build on macOS. Task-number: QTBUG-58956 Change-Id: I7f865800b580a87afcc480534da57ee546c74406 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
| * Merge remote-tracking branch 'origin/5.12.0' into 5.12Liang Qi2018-12-222-25/+13
| |\ | | | | | | | | | Change-Id: Ifb4277657a6f85e6a6d0ee62e54360b2cb1c0514
| | * Provisioning: Fix path for fbx filesHeikki Halmet2018-11-132-25/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently Qt3d Studio build don't recognize fbx path because of space in folder name. This change will fix it by taken use the packages which don't have space in the folder name. Task-number: QT3DS-2440 Change-Id: I502bb04489a03a5a81e164f8a86f3200f4ec3910 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| * | Provisioning: Update install android sdk to version 28Juha Karjalainen2018-12-182-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QT needs at least buildSdk 24 after commit 70057dfc0e53b7996acd5ef2c0f9c40aa3f66062. Updating provisioned sdk version to 28. Please note minSDK <= targetSDK <= build/compileSDK. Task-number: QTQAINFRA-2412 Change-Id: I0bf67cf42dfc6f707bdeae973a60c6601d2e73c3 Reviewed-by: Liang Qi <liang.qi@qt.io>
| * | Provisioning: Hide squish installation output from provisioning logHeikki Halmet2018-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | | This will prevent the output of unwanted information Change-Id: I547e91ef344ec51f799b26f254139b03d20a315c Reviewed-by: Simo Fält <simo.falt@qt.io>
| * | Provisioning: Change how executables are waited to finishJuha Karjalainen2018-12-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch only affects Windows. Python3 provisioning took over 30-35 minutes. As both 32 and 64 bit versions are provisioned it took over 1h this change lowers time taken to 5 minutes. start-process with -wait flag waits for given process and its sub-processes to exit. Wait-process insteads just waits for process to exit. Change-Id: Ib9a323dcf9e2d07318a0d259a72ca4c4d0a4ed80 Reviewed-by: Simo Fält <simo.falt@qt.io>
| * | Don't set http_proxy in its own subshellTony Sarajärvi2018-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The subshell actually meant, that the http_proxy environment variable was never seen outside that check. Thus proxy was never used where this was checked. Change-Id: I069f43f13dffca98d8b60a47c2e105209018c84d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
| * | Docker Provisioning: Remove the fixed version of package dependenciesRyan Chu2018-11-226-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Free the dependencies of the specific Ubuntu packages. Ensure that test server is using the latest version of the Ubuntu packages to test network changes. Otherwise, all the docker files need to be manually updated when upgrading to the next Ubuntu version (e.g. 18.04). For debugging purpose, the installed packaged will be listed in the provisioning logs. Change-Id: I38d119d11f33cfd60dc34fcd57ec0fe1615e98f2 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
| * | Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-11-205-5/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/unix/mqtt_broker.sh Change-Id: I990dbf66b7120f2f1bcf202f0a2547a5ad9881f2
| | * | Replace .ci.local addresses with .intra.qt.io in provisioning scriptsTony Sarajärvi2018-11-015-5/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I5e5bc084faabb28ffdf0437871445ecb8970bfb3 Reviewed-by: Liang Qi <liang.qi@qt.io>
| * | | Provisioning: Add scp and ssh location in the PATH for WindowsHeikki Halmet2018-11-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | RTA needs to have these on the PATH Change-Id: I59694737e9284bc31eefcc4ff89219665c2aa430 Reviewed-by: Matti Paaso <matti.paaso@qt.io>
| * | | Provisioning: Disable notifications and remove apportHeikki Halmet2018-11-072-0/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | These can cause flakiness during tests Task-number: QTQAINFRA-2307 Change-Id: Ib8b850e3e1fabe3070bbd27785d043984e085cb7 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | Provisioning: Update openssl to version 1.0.2pJuha Karjalainen2018-10-263-8/+8
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-2266 Change-Id: I3f09d9169f17bcd83dcfd72547440bca487fd9db Reviewed-by: Simo Fält <simo.falt@qt.io>
* | | Docker Provisioning: Install Avahi daemon on UbuntuRyan Chu2018-12-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avahi is a free Zeroconf implementation and provides mDNS service discovery. It enables Docker containers to publish their services on a local network. For the host systems supporting mDNS technology, they will automatically discover the services when running network tests. However, some of the Linux distributions don't have avahi-daemon installation by default (e.g. Ubuntu Server 18.04). To not surprise the user, the provisioning script will help to install avahi-daemon package. Change-Id: Ibb4c278c552c149b15da8cf7918f7f71ffa3ebec Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Assert the provisioning process in macOS if VMX is not enabledRyan Chu2018-12-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Docker-machine requires VT-x/AMD-v to build up boot2docker virtual machine. The VMX flag should be enabled when deploying the VM into Virtualbox. In the CI framework, it relies on Coin to expose the VMX flag to the CPU feature. To well handle the case that the VMX could be removed due to some CI updates, the provisioning script will assert the process with the related debug message if VMX is not found. Change-Id: I9f3f123d33629df1655a5b55d776d5361878d1f5 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Docker Provisioning: Remove the obsolete tag of test servers from UbuntuRyan Chu2018-12-101-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SHA-1 tag of a server image is generated by the shared function (sha1tree) in testserver_util.sh. The sha1tree function sorts the files by the their SHA-1 and use the accumulated results as the TAG. So that, we can assign the same SHA-1 value to a server on all the platforms. Change-Id: If87ac72f7a9c5cdebef04977480d27b26a701b73 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Docker Provisioning: Remove the fixed version of package dependenciesRyan Chu2018-12-105-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Free the dependencies of the specific Ubuntu packages. Ensure that test server is using the latest version of the Ubuntu packages to test network changes. The SHA-1 of the provisioned images in docker cache: qt-test-server-apache2:537fe302f61851d1663f41495230d8e3554a4a13 qt-test-server-squid:9c32f41b19aca3d778733c4d8fb0ecc5955e893c qt-test-server-vsftpd:f3a9c8d793a77cc007c0e4e481bec01f9e3eeb7e qt-test-server-ftp-proxy:d7de8b28392d173db512a558ccc84ead8bece2ae qt-test-server-danted:35607f9b790524cf9690c7d12a9a401696b7b6b5 Change-Id: I4e6c8cb235f1f798274eb52858e06d8755ae626f Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Provisioning: Move Android toolchain and config to win10Simo Fält2018-11-061-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Installing Android toolchains and ssl headers to win10 template and moving Android windows platform configs to win10 from win7. Task-number: QTQAINFRA-1266 Change-Id: I9b3e3a378451e0bdfc7dc5c7b75ee035faf8994c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | Provisioning: Remove environment variables from androind-opensslHeikki Halmet2018-10-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | We shouldn't need those anymore. Task-number: QTQAINFRA-1266 Change-Id: Ie2161eb1d05cc1af26cbbb1a46525a9a8d7c3a30 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | Docker Provisioning: Install Docker-based test servers on macOSRyan Chu2018-10-3014-9/+273
|/ / | | | | | | | | | | | | | | | | | | Build and cache docker images based on the configurations in testserver. 1. Move the shared Docker files to common/shared/testserver 2. Deploy boot2docker image into VirtualBox via docker-machine commands. 3. Build and tag the docker images by the SHA-1 of server context. Change-Id: Ic5a588e5cc5e753ec4c4e2e1bc79917bbd03f95d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* | Update Android NDK and SDK on Windows envsTony Sarajärvi2018-10-202-40/+42
| | | | | | | | | | | | | | Task-number: QTBUG-47672 Change-Id: I3e6526b296f15927b90ab3310d91f8505b0228b3 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Update Android NDK and SDK on Linux envsTony Sarajärvi2018-10-201-6/+14
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-47672 Task-number: QTQAINFRA-2298 Done-with: Liang Qi <liang.qi@qt.io> Change-Id: I42c87d8453423530173b826c09dc6eb4bf9ad5b8 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Provisioning: Disable powershell quickeditv5.12.0-beta2Juha Karjalainen2018-10-131-0/+13
| | | | | | | | | | | | | | | | | | | | | | Powershell quickedit causes powershell window freeze until quickedit mode is exited by pressing enter. For some reason quickedit mode get's activated during build. This causes time out as agent does not get any output from processes. Task-number: QTQAINFRA-2263 Change-Id: I2878cc7a39bae504f826c5622cc5817fd227d7f0 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Provisioning: Support for WebassemblyHeikki Halmet2018-09-152-1/+82
| | | | | | | | | | | | | | | | | | This change will install specified packages of Emscripten and set up the build environment for making binary artifacts of WebAssembly Task-number: QTQAINFRA-1972 Change-Id: Ia5df6c208ea8f29ca8948f0273f321a59fc694a2 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-09-126-14/+27
|\| | | | | | | Change-Id: Iac3eb41931081588a08916ddce51dae977c6ef15
| * Provisioning: Disable mlocate from linuxHeikki Halmet2018-09-031-0/+3
| | | | | | | | | | | | | | | | No need to update the locate database Task-number: QTQAINFRA-2099 Change-Id: Iae8bf26e4b04ff9c287e9e3f4cc6f492e74355e4 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Remove update-managerHeikki Halmet2018-09-031-0/+3
| | | | | | | | | | | | Task-number: QTQAINFRA-2104 Change-Id: Ieaf0801099d8c90821c2b8d9db7da47730fd8abb Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Disable Cracklib-runtimeHeikki Halmet2018-09-031-0/+4
| | | | | | | | | | | | Task-number: QTQAINFRA-2104 Change-Id: I784fa1b3d8c98d765bfdea929fdb494ca63e09d3 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Change mesa_llvmpipe to use ci-files01-hki as primary urlHeikki Halmet2018-08-251-9/+10
| | | | | | | | | | | | | | | | | | This will reduce download time Task-number: QTQAINFRA-2170 Change-Id: I8313764f7d440e2300a8efabfe4e4226a591d339 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>