harbor/tests/validatecontainers.sh

8 lines
136 B
Bash
Raw Permalink Normal View History

2017-08-31 16:55:39 +02:00
#!/bin/sh
set -e
if docker ps --filter "status=restarting" | grep 'vmware'; then
echo "container is restaring, fail CI."
exit 1
fi