From b4d897b3afd6c9cd8301de3aaf8f39b22d7b1af9 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Mon, 12 Nov 2018 12:45:49 +0100 Subject: [PATCH] Fix demo/complex tests Sometimes we are trying to pull an image that is not pushed yet. --- demo/complex/tests/main.bats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/demo/complex/tests/main.bats b/demo/complex/tests/main.bats index 5fa8197..08754c0 100755 --- a/demo/complex/tests/main.bats +++ b/demo/complex/tests/main.bats @@ -14,7 +14,9 @@ load ../../../library # We want to fail cleanly if there's any interference docker ps ! (docker ps | grep -E "shibboleth_(idp|directory)_1|(complex|simple|shibboleth|postgresql)_(midpoint_server|midpoint_data)_1") - docker-compose build --pull + docker-compose build --pull grouper_daemon grouper_ui grouper_data directory sources targets midpoint_data idp mq + # Sometimes the tier/midpoint:xyz is not yet in the repository, causing issues with --pull + docker-compose build midpoint_server docker-compose up -d }