Adapt CI command scripts to also support podman

This commit is contained in:
Will Rouesnel
2023-05-29 16:40:07 +10:00
parent 6cf91a2e70
commit f3c740954b
7 changed files with 45 additions and 18 deletions

View File

@@ -19,7 +19,7 @@ echo -e "${BLUE} ${CYAN}Waiting for healthy: ${YELLOW}${SERVICE}${RESET}"
until [ "${HEALTHY}" = "healthy" ]; do
echo -n "."
sleep 1
HEALTHY="$(docker inspect -f '{{.State.Health.Status}}' $SERVICE)"
HEALTHY="$($docker inspect -f '{{.State.Health.Status}}' $SERVICE)"
((LOOPCOUNT++))
if [ "$LOOPCOUNT" == "$LIMIT" ]; then