From 652164f9b1695041360ffc3723a0cc042d436458 Mon Sep 17 00:00:00 2001 From: Christian Stefanescu Date: Wed, 23 Oct 2024 10:05:54 +0200 Subject: [PATCH] chore: use pg_isready in make upgrade instead of sleep --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 591c7172f..616d16290 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ format-check-ui: upgrade: build $(COMPOSE) up -d postgres elasticsearch - sleep 10 + $(COMPOSE) exec postgres pg_isready --timeout=30 $(APPDOCKER) aleph upgrade api: services