From 11d21f3ecb4bafb12af6baa86c51b7a184bfcd45 Mon Sep 17 00:00:00 2001 From: josebarn Date: Wed, 16 Aug 2017 09:10:18 -0300 Subject: [PATCH] fixing flag issue on exit code inspect for docker compose --- script/drone-run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/drone-run-tests.sh b/script/drone-run-tests.sh index 1f226d6..c8ccd9a 100755 --- a/script/drone-run-tests.sh +++ b/script/drone-run-tests.sh @@ -6,7 +6,7 @@ docker-compose -p ci --file docker-compose.test.yml up --build echo "Inspecting exited containers:" docker-compose -p ci --file docker-compose.test.yml ps -docker-compose -p ci --file docker-compose.test.yml ps -q | xargs docker inspect -p ci -f '{{ .State.ExitCode }}' | while read code; do +docker-compose -p ci --file docker-compose.test.yml ps -q | xargs docker inspect -f '{{ .State.ExitCode }}' | while read code; do echo "Exit code is currently $code" if [ "$code" != "0" ]; then exit $code