test/regression: remove the composes after the build is done

Otherwise, we are leaking disk space.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-12-08 13:11:05 +01:00 committed by Achilleas Koutsou
parent 47551ffc67
commit 1ac1409753
4 changed files with 8 additions and 0 deletions

View file

@ -75,6 +75,8 @@ while true; do
sleep 30
done
sudo composer-cli compose delete "${COMPOSE_ID}" >/dev/null
jq . "${COMPOSE_INFO}"
# Did the compose finish with success?