fix(platform): support Purpur 26.3
This commit is contained in:
1 parent
5b41190a09
commit
e33d19b94e
8 files changed
+51
-28
No files matched your search
@@ -32,7 +32,7 @@ if [[ -z "$container_id" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Waiting up to ${wait_seconds}s for Purpur 26.2 build 2618..."
|
||||
echo "Waiting up to ${wait_seconds}s for Purpur 26.3 build 2651..."
|
||||
deadline=$((SECONDS + wait_seconds))
|
||||
while (( SECONDS < deadline )); do
|
||||
container_state="$(docker inspect --format '{{.State.Status}}' "$container_id")"
|
||||
@@ -51,7 +51,7 @@ done
|
||||
health_state="$(docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}' "$container_id")"
|
||||
if [[ "$health_state" != "healthy" ]]; then
|
||||
docker compose -f "$compose_file" logs --tail=150 minecraft >&2
|
||||
echo "Timed out waiting for Purpur 26.2 build 2618 (status: $health_state)." >&2
|
||||
echo "Timed out waiting for Purpur 26.3 build 2651 (status: $health_state)." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user