Fix docker filter usage in runTests

This commit is contained in:
Johannes Zellner
2021-07-13 10:38:40 +02:00
parent 120ed30878
commit b67dca8a61
+1 -1
View File
@@ -37,7 +37,7 @@ openssl req -x509 -newkey rsa:2048 -keyout platformdata/nginx/cert/host.key -out
# clear out any containers if FAST is unset # clear out any containers if FAST is unset
if [[ -z ${FAST+x} ]]; then if [[ -z ${FAST+x} ]]; then
echo "=> Delete all docker containers first" echo "=> Delete all docker containers first"
docker ps -qa --filter \'label=isCloudronManaged\' | xargs --no-run-if-empty docker rm -f docker ps -qa --filter "label=isCloudronManaged" | xargs --no-run-if-empty docker rm -f
docker rm -f mysql-server docker rm -f mysql-server
echo "==> To skip this run with: FAST=1 ./runTests" echo "==> To skip this run with: FAST=1 ./runTests"
else else