Add dockerised tests

This commit is contained in:
Derry Hamilton 2019-06-17 12:53:31 +01:00
parent 3badb97d49
commit 5571bd1b4d
14 changed files with 143 additions and 76 deletions

View file

@ -1,4 +1,2 @@
#!/bin/bash
set -e
cp *.rpm docker/run/
docker build --rm -t local/c7-runhost docker/run
docker build --target deploy -t rasilon/ujetl docker/multistage

5
build_util/run_docker_tests Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
docker-compose -f docker/test_compose/docker-compose.yml run --rm tests
docker-compose -f docker/test_compose/docker-compose.yml down