aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/shared
Commit message (Collapse)AuthorAgeFilesLines
* Tag the docker images as "latest"Dimitrios Apostolou2019-12-051-6/+8
| | | | | | | | | | We will use this tag in qtbase to refer to the image to run, because with the current sha1tree() tag, every minor change in the docker images requires synchronized changes between repositories. Task-number: QTBUG-79867 Change-Id: If94eb6dd8b97526b589e58064837bc6554fed79c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Merge remote-tracking branch 'origin/5.13' into 5.14Liang Qi2019-10-013-0/+84
|\ | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.yaml coin/platform_configs/qt5.yaml Change-Id: I48b1e814dd6328dfb2827d0898a277b81ec25e55
| * Install telegraf on all provisioned VMsDimitrios Apostolou2019-09-273-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Install binaries as early as possible in the provisioning process, and start them, in order to monitor provisioning too. To achieve this, some OS auto-detection logic is introduced in shell script common.sourced.sh. The script can be sourced and used in all kind of other generic scripts. ioping is also installed from custom-compiled binaries in order to monitor the disk latency of the VMs. Reason we don't use ioping from the repositories, is that the units differ between ioping versions (new ioping reports latencies in nanoseconds, old in microseconds). Fixes: QTQAINFRA-3092 Change-Id: I9d9afb791955725d4bd0b32dae97dfc0bd4a76a3 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into devLiang Qi2019-08-201-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d494d76c26df48c9cf3b45fc15ebad963fe34c52. Conflicts: coin/platform_configs/default.yaml Temporarily remove the -no-opengl build. coin/platform_configs/meta-boot2qt.yaml coin/platform_configs/qt5.yaml Temporarily remove the webassembly build on windows. coin/platform_configs/qtwebkit.yaml Task-number: QTQAINFRA-2577 Task-number: QTBUG-63917 Task-number: QTQAINFRA-2835 Done-With: Samuli Piippo <samuli.piippo@qt.io> Change-Id: Ia7972b481a5ce33febe26c6589db24578614b2fd
| * Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-08-031-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules ignore QtWebEngine on QEMU temporarily. coin/platform_configs/default.yaml no-gui build was removed temporarily. coin/platform_configs/qt5.yaml coin/platform_configs/qtbase.yaml coin/platform_configs/qtconnectivity.yaml coin/platform_configs/qtsaferenderer.yaml Task-number: QTQAINFRA-2576 Task-number: QTBUG-77304 Task-number: QTBUG-77305 Done-With: Tony Sarajärvi <tony.sarajarvi@qt.io> Change-Id: If7cf75791677eace762374b92382a2ce15f17f55
| | * Provisioning: Upgrade PyYAML because of possible security vulnerabilityHeikki Halmet2019-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Known high severity security vulnerability in pyyaml v< 4.2b1 Task-number: QTQAINFRA-2888 Change-Id: I6522fc66ca7c4323cc6248ec2cb31c62201f8e84 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | Add the docker images for CoAP test serversSona Kurazyan2019-07-073-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change includes: - Docker image for the test server to test non-secure and PSK-based CoAP security modes. - Docker image for the test server to test X.509 certificate-based CoAP security mode. Change-Id: Ice661917591ecaee8ebc3500209bcffc08981f65 Reviewed-by: Ryan Chu <ryan.chu@qt.io>
* | | Split docker provisioning filesMaurice Kalinowski2019-03-152-25/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split the creation of the test images and the creation of the docker environment. This way, one can easily recreate the test images, without requiring to re-provision everything. Change-Id: I35bbe8d8bf497f16d9be92cbaa2d9001f8eee247 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Ryan Chu <ryan.chu@qt.io>
* | | Add docker container with iptablesMårten Nordheim2019-02-283-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used for dropping packets on a specific port. Needs to be launched with the NET_ADMIN and NET_RAW capabilities to be able to actually be able to interact with iptables, this is done in docker-compose. Change-Id: I5093d19fbc269f42fe3e314e9344866fa5b79999 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* | | Add docker container with CyrusMårten Nordheim2019-02-283-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | For its imap server, needed in various tests Change-Id: I7ad11342f362392edec2f15c781f4c48deeeff30 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* | | Add docker container with xinetdMårten Nordheim2019-02-283-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | Needed in the QUdpSocket test for the echo service and in the QSslSocket test for the daylight service. Change-Id: Ic7143eb7abd37dbf2c20ddb4b52cdd5ea3f0d193 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* | | Provision docker test servers based on Ubuntu 18.04Ryan Chu2019-02-026-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comparing to the previous release, Ubuntu 18.04 includes dante-server 1.4.2 by default. Therefore, it doesn't rely on the Third-party PPA. The SHA-1 of the provisioned images in docker cache: qt-test-server-apache2_18.04:69478e75b362d57691a53700434a7034d471459e qt-test-server-squid_18.04:cd5a5e2ff5d23c9a7adef1bd82847e027c090e5b qt-test-server-vsftpd_18.04:a40425c0494f8f4e8ba27ac9fb5cc02aaedd62d8 qt-test-server-ftp-proxy_18.04:5f78e23a0579a579fcae7f3e5704bb5eec0e2f6d qt-test-server-danted_18.04:d590b915cda9d524620d18a0398fdfa4d5876f97 Change-Id: Iffb4abe144a957465a2daab657c6259f0b75e800 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Start the docker machine and update with new TLS certificatesRyan Chu2019-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the system reboots, the docker machine is created, but in a stopped state. To handle the case that a developer may rerun the provisioning scripts for the missed docker images, make sure the docker machine is both started and running with new TLS certificates. Change-Id: Ibdb58152cac860132a77d6d094f9bca20a5e95e8 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* | | Docker Provisioning: Install docker test servers on Windows 10 (x86_64)Ryan Chu2019-02-023-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build and cache docker images to VirtualBox virtual machine. 1. Download and install the docker tool kits and Apple Bonjour 2. Deploy boot2docker image into VirtualBox via docker-machine commands 3. Use Git Bash to run the shared provisioning scripts 4. Print CPU features to verify that CI has enabled VT-X/AMD-v support 5. Disable Hyper-V from Windows 10 Pro/Enterprise editions Change-Id: I5520e4a28376aba14f880c077bd7b083be971f0a Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* | | Display the provisioned version of docker tool kitsRyan Chu2019-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For debug purpose, print the installed version of docker, docker-compose, and docker-engine. Because 'docker info' is related to the docker-engine, postpone calling the command until docker virtual machine has been created. Change-Id: I4c869b7122b831b7f22c9c3846ac9cbe47c3b355 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | | Move and merge the provisioning scripts of docker to a shared folderRyan Chu2019-02-021-3/+35
|/ / | | | | | | | | | | | | | | | | | | To reuse the provisioning scripts for all platforms, they are moved to a shared folder (coin/common/shared/testserver). The scripts of macOS and linux are combined and controlled by an input parameter (macos/linux). Change-Id: Ibf9a438d1825d01d707c2fc8fbcf2bc70a8b4902 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> 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>
* | Docker Provisioning: Install Docker-based test servers on macOSRyan Chu2018-10-3010-0/+345
|/ | | | | | | | | | 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>
* Download and cache needed python wheels during provisioningDominik Holland2018-07-311-0/+19
| | | | | | | | | Instead of downloading the packages during the compile/configure step setup a wheel cache folder during the provisioning phase Task-number: AUTOSUITE-195 Change-Id: I465f1be7cdd351e7680dcd8ae22d5e97ddf8cb2d Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* Provisioning: Refactor libclang installationHeikki Halmet2018-06-291-1/+0
| | | | | | | | | | Libclang must use cached url (ci-files01-hki) to reduce the download time Libclang release_60 versions were rebuild which requires sha1 changes Task-number: QTQAINFRA-1966 Task-number: QTQAINFRA-2100 Change-Id: Iddf47a2a3a5bc38dbed684320120164bb40c028c Reviewed-by: Simo Fält <simo.falt@qt.io>
* Merge remote-tracking branch 'origin/5.11.0' into 5.11Liang Qi2018-05-091-1/+1
|\ | | | | | | Change-Id: Ia252225aa1339ac448dd726b149e08739c02dfc5
| * Update clang version to 6.0Jędrzej Nowacki2018-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The version also contains statically compiled libraries so we can ship qdoc without shipping libclang. The change temporarly removes CI qdoc builds from RHEL6 and MinGW, these two configurations are not used for packaging, just for CI testing. We should restore MinGW later. Task-number: QTBUG-66015 Task-number: QTBUG-67764 Change-Id: Ie37b4be6a639e81d9ef0815682c6d60981cbeaae Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by: Fredrik de Vibe <fredrik.devibe@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Fix styles in setting proxyTony Sarajärvi2018-05-021-1/+1
|/ | | | | | Change-Id: Iac4243e767a7cfb29b9bb0b4603ca6509356ce8c Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Move http_proxy.txt under shared folderHeikki Halmet2018-03-151-0/+2
| | | | | | Change-Id: Id5b2f07a92eadfb21fbfdb3fb65621d6322dc8c4 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Provisioning: Add common shared folderHeikki Halmet2018-01-262-0/+2
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>