#!/bin/sh set -eu cd "$(dirname "$0")/.." started() { for id in $(docker compose ps -aq); do docker inspect --format '{{index .Config.Labels "com.docker.compose.service"}} {{.Config.Hostname}} {{.State.StartedAt}} {{.State.Status}}' "$id" done | sort } echo "date: $(date -u +%FT%TZ) commit: $(git rev-parse --short HEAD)" echo "== before: service hostname StartedAt status" started make --no-print-directory test-persistence ACTION_SCRIPT=scripts/restart.sh BASE_URL="${1:-http://localhost:8080}" echo "== after: service hostname StartedAt status" started