From 7d285065a0eeb0203d045484ffa3a4b3456da60b Mon Sep 17 00:00:00 2001 From: Michal Cichra Date: Fri, 17 Feb 2017 09:17:02 +0100 Subject: [PATCH] [make] print logs in the build --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index f96343563..3ba16cbe9 100644 --- a/Makefile +++ b/Makefile @@ -70,6 +70,7 @@ test-builder-image: builder-image clean-containers ## Smoke test the builder ima $(DOCKER_COMPOSE) run --rm --user 100001 gateway openresty -p . @echo -e $(SEPARATOR) $(DOCKER_COMPOSE) run --rm test bash -c 'for i in {1..5}; do curl --fail http://gateway:8090/status/live && break || sleep 1; done' + $(DOCKER_COMPOSE) logs gateway @echo -e $(SEPARATOR) $(DOCKER_COMPOSE) run --rm test curl --fail -X PUT http://gateway:8090/config --data '{"services":[{"id":42}]}' @echo -e $(SEPARATOR)