From 572fe7148a55c60e7c22e8979892c22f75a0fb92 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Mon, 10 Feb 2020 13:33:38 +0100 Subject: [PATCH] Debug start of blockchain in CI --- scripts/cosm/env | 2 +- scripts/cosm/start.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/cosm/env b/scripts/cosm/env index d178946e..b24084da 100644 --- a/scripts/cosm/env +++ b/scripts/cosm/env @@ -1,5 +1,5 @@ # Choose from https://hub.docker.com/r/cosmwasm/wasmd-demo/tags REPOSITORY="cosmwasm/wasmd-demo" -VERSION="v0.0.4" +VERSION="v0.0.5" CONTAINER_NAME="wasmd" diff --git a/scripts/cosm/start.sh b/scripts/cosm/start.sh index 2c0b285f..629e9fa5 100755 --- a/scripts/cosm/start.sh +++ b/scripts/cosm/start.sh @@ -54,6 +54,9 @@ echo "rest server running on http://localhost:1317 and logging into $REST_SERVER # Give REST server some time to come alive. No idea why this helps. Needed for CI. if [ -n "${CI:-}" ]; then sleep 0.5 + + # Follow the logs in CI's background job + tail -f "$WASMD_LOGFILE" fi # Debug rest server start