Add beakerlib to Dockerfile.test
Also kill the lorax-composer process and remove /run/weldr/api.socket so that when this is run with podman you don't get an error about attempting to tar up the socket.
This commit is contained in:
parent
75523f7a49
commit
b35fe9d32a
@ -18,6 +18,7 @@ RUN dnf -y install \
|
|||||||
python3-semantic_version \
|
python3-semantic_version \
|
||||||
python3-sphinx \
|
python3-sphinx \
|
||||||
python3-rpmfluff \
|
python3-rpmfluff \
|
||||||
|
beakerlib \
|
||||||
sudo \
|
sudo \
|
||||||
tito \
|
tito \
|
||||||
which
|
which
|
||||||
|
@ -19,6 +19,10 @@ done;
|
|||||||
./tests/cli/test_blueprints_sanity.sh
|
./tests/cli/test_blueprints_sanity.sh
|
||||||
./tests/cli/test_compose_sanity.sh
|
./tests/cli/test_compose_sanity.sh
|
||||||
|
|
||||||
|
# Stop lorax-composer and remove /run/weldr/api.socket
|
||||||
|
pkill -9 lorax-composer
|
||||||
|
rm -f /run/weldr/api.socket
|
||||||
|
|
||||||
# look for failures
|
# look for failures
|
||||||
grep RESULT_STRING /var/tmp/beakerlib-*/TestResults | grep -v PASS && exit 1
|
grep RESULT_STRING /var/tmp/beakerlib-*/TestResults | grep -v PASS && exit 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user