qt5base-lts/tests/testserver
Ryan Chu 713f77176e Support multi-stage builds to provision the configurations and test data
In order to reuse the test server to the external modules, it is much
easier to share the common configurations (scripts) and test data via
Dockerfile. In addition, the external module can create more layers
depending on their needs. Therefore, supporting multi-stage builds is
needed. The disadvantage is that the docker-compose needs to re-build
the images every time. However, it is just a one-time effort. If the
Dockerfile doesn't get changed, the extra build time can be ignored.

Because of multi-stage builds, the test server will keep a Dockerfile at
least. Therefore, the volume sharing is no more needed. The test data of
a service can be added into the images by using COPY/ADD commands.

NOTE:
This patch relies on docker-compose v1.21.0 (docker-compose build now
supports the use of Dockerfile from outside the build context).

Change-Id: Ib3f6a5fcf6979732ae8a40a494a1360fca4ac7bf
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2019-04-25 15:32:57 +00:00
..
apache2 Convert tst_qhttpnetworkconnection 2019-02-21 15:02:27 +00:00
common Support multi-stage builds to provision the configurations and test data 2019-04-25 15:32:57 +00:00
cyrus Convert tst_QSslSocket to work with Docker 2019-03-11 15:38:58 +00:00
danted Docker-based test servers for network-related Qt autotests on Windows 2019-01-23 15:28:45 +00:00
echo Convert tst_QSslSocket to work with Docker 2019-03-11 15:38:58 +00:00
ftp-proxy Docker-based test servers for network-related Qt autotests on Windows 2019-01-23 15:28:45 +00:00
iptables Port tst_qtcpsocket to the docker server 2019-02-28 15:48:31 +00:00
squid Docker-based test servers for network-related Qt autotests on Windows 2019-01-23 15:28:45 +00:00
vsftpd Docker-based test servers for network-related Qt autotests on Windows 2019-01-23 15:28:45 +00:00
docker-compose-for-macOS.yml Support multi-stage builds to provision the configurations and test data 2019-04-25 15:32:57 +00:00
docker-compose-for-windows.yml Support multi-stage builds to provision the configurations and test data 2019-04-25 15:32:57 +00:00
docker-compose.yml Support multi-stage builds to provision the configurations and test data 2019-04-25 15:32:57 +00:00