summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/unsupported
diff options
context:
space:
mode:
authorRyan Chu <ryan.chu@qt.io>2019-03-22 16:20:52 +0100
committerRyan Chu <ryan.chu@qt.io>2019-04-25 15:32:57 +0000
commit713f77176e5de34503bd265e00f665b7f6ef05b4 (patch)
tree7be1f245a087bca7385676b2af6d038461a48d38 /mkspecs/features/unsupported
parent0c404fd6f34c7ca75400324e95e44842152bdd87 (diff)
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>
Diffstat (limited to 'mkspecs/features/unsupported')
0 files changed, 0 insertions, 0 deletions