From f11e6d9815fd739f2241464612fd0b48736f06af Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Thu, 1 Aug 2024 14:18:34 +0100 Subject: Drools-apps CSIT tests (almost) fix. - controller usecases is now starting normally. - drools policy is deploying. - two policy executions are still failing. Issue-ID: POLICY-4955 Change-Id: I08cee61463c1e8e52f0f874bbb15acca8ed7d6b2 Signed-off-by: adheli.tavares --- compose/stop-compose.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'compose/stop-compose.sh') diff --git a/compose/stop-compose.sh b/compose/stop-compose.sh index 809c8f47..493f9b57 100755 --- a/compose/stop-compose.sh +++ b/compose/stop-compose.sh @@ -42,7 +42,7 @@ source export-ports.sh > /dev/null 2>&1 source get-versions.sh > /dev/null 2>&1 echo "Collecting logs from docker compose containers..." -rm -rf docker_compose.log +rm -rf *.log # this will collect logs by service instead of mixing all together containers=$(docker compose ps --all --format '{{.Service}}') @@ -51,10 +51,7 @@ IFS=$'\n' read -d '' -r -a item_list <<< "$containers" for item in "${item_list[@]}" do if [ -n "$item" ]; then - echo "======== Logs from ${item} ========" >> docker_compose.log - docker compose logs $item >> docker_compose.log - echo "===================================" >> docker_compose.log - echo "" >> docker_compose.log + docker compose logs $item >> $item.log fi done -- cgit 1.2.3-korg