support/testing: add docker / docker-compose tests
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 4 Feb 2019 16:55:57 +0000 (17:55 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 5 Feb 2019 22:05:00 +0000 (23:05 +0100)
commita9219660d30ff30331e15e078a1643001a072ab6
tree1caf13bc463d4ab2e9c6b1288744ac9df47ff320
parentc7260fc060d542ba9ea087e9df91a0a371e62ea3
support/testing: add docker / docker-compose tests

Build for x86-64 as public containers in general are only available for
x86-64.  Docker needs a number of kernel options enabled, so use a custom
kernel config based on the qemu one.

Docker needs entropy at startup, so enable the virtio-rng-pci device to
expose entropy to the guest.  The default RAM amount (128M) is not enough to
run docker / docker-compose, so bump to 512MB.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
.gitlab-ci.yml
support/testing/conf/docker-compose-kernel.config [new file with mode: 0644]
support/testing/conf/docker-compose.yml [new file with mode: 0644]
support/testing/tests/package/test_docker_compose.py [new file with mode: 0644]