瀏覽代碼

test: github actions debug printouts

Kjell Winblad 3 年之前
父節點
當前提交
ac37c5d58a
共有 2 個文件被更改,包括 9 次插入0 次删除
  1. 3 0
      .ci/docker-compose-file/kafka/run_add_scram_users.sh
  2. 6 0
      scripts/ct/run.sh

+ 3 - 0
.ci/docker-compose-file/kafka/run_add_scram_users.sh

@@ -44,3 +44,6 @@ kafka-configs.sh --bootstrap-server localhost:9092 --alter --add-config 'SCRAM-S
 echo "+++++++ Wait until Kafka ports are down ++++++++"
 
 bash -c 'while printf "" 2>>/dev/null >>/dev/tcp/$0/$1; do sleep 1; done' $SERVER $PORT1
+
+echo "+++++++ Kafka ports are down ++++++++"
+

+ 6 - 0
scripts/ct/run.sh

@@ -145,6 +145,12 @@ if [ "$ONLY_UP" = 'yes' ]; then
     exit 0
 fi
 
+sleep 10
+
+echo "DOCKER COMPOSE LOGS kafka_1"
+
+docker-compose $F_OPTIONS logs kafka_1
+
 if [ "$ATTACH" = 'yes' ]; then
     docker exec -it "$ERLANG_CONTAINER" bash
 elif [ "$CONSOLE" = 'yes' ]; then