From 7c6e48d783d08f788f2fc9d3d6aeec1084d8e72e Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Fri, 7 Jun 2024 12:50:17 +1000 Subject: [PATCH] Add cannon smoke test --- .github/workflows/cannon-smoke-test.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cannon-smoke-test.yaml b/.github/workflows/cannon-smoke-test.yaml index d41ef28c..72f8237f 100644 --- a/.github/workflows/cannon-smoke-test.yaml +++ b/.github/workflows/cannon-smoke-test.yaml @@ -114,11 +114,9 @@ jobs: echo -e "${color}######################${no_color}" } - print_logs() { - for container in $(docker ps --filter name=$1 --format "{{.Names}}"); do - echo "Logs for $container:\n\n" - docker logs --tail 5 $container - done + print_logs() {] + echo "Logs for $container:\n\n" + docker logs --tail 5 $container } # Check for any data in the tables before digging in to the individual sentries