aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/shared/testserver
Commit message (Collapse)AuthorAgeFilesLines
* 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>