aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/shared/testserver/docker_testserver.sh
Commit message (Collapse)AuthorAgeFilesLines
* Split docker provisioning filesMaurice Kalinowski2019-03-151-25/+2
| | | | | | | | | | 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>
* Docker Provisioning: Install docker test servers on Windows 10 (x86_64)Ryan Chu2019-02-021-3/+7
| | | | | | | | | | | | 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-0/+73
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>