harbor/tests/validatecontainers.sh

8 lines
136 B
Bash
Raw Permalink Normal View History

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