harbor/tests/validatecontainers.sh
2017-08-31 22:55:39 +08:00

9 lines
137 B
Bash
Executable File

#!/bin/sh
set -e
if docker ps --filter "status=restarting" | grep 'vmware'; then
echo "container is restaring, fail CI."
exit 1
fi