Explorar o código

fix: fix entrypoint in docker compose for Kafka bridge test

Kjell Winblad %!s(int64=3) %!d(string=hai) anos
pai
achega
5ec4b0a6ca
Modificáronse 2 ficheiros con 1 adicións e 6 borrados
  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:
     volumes:
       - emqx-shared-secret:/var/lib/secret
       - emqx-shared-secret:/var/lib/secret
       - ./kafka/generate-certs.sh:/bin/generate-certs.sh
       - ./kafka/generate-certs.sh:/bin/generate-certs.sh
+    entrypoint: /bin/sh
     command: /bin/generate-certs.sh
     command: /bin/generate-certs.sh
   kdc:
   kdc:
     hostname: kdc.emqx.net
     hostname: kdc.emqx.net

+ 0 - 6
scripts/ct/run.sh

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