Просмотр исходного кода

fix: fix entrypoint in docker compose for Kafka bridge test

Kjell Winblad 3 лет назад
Родитель
Сommit
5ec4b0a6ca
2 измененных файлов с 1 добавлено и 6 удалено
  1. 1 0
      .ci/docker-compose-file/docker-compose-kafka.yaml
  2. 0 6
      scripts/ct/run.sh

+ 1 - 0
.ci/docker-compose-file/docker-compose-kafka.yaml

@@ -15,6 +15,7 @@ services:
     volumes:
       - emqx-shared-secret:/var/lib/secret
       - ./kafka/generate-certs.sh:/bin/generate-certs.sh
+    entrypoint: /bin/sh
     command: /bin/generate-certs.sh
   kdc:
     hostname: kdc.emqx.net

+ 0 - 6
scripts/ct/run.sh

@@ -145,12 +145,6 @@ 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