소스 검색

setup integration tests add elasticsearch host to sed

Piotr Kwiecinski 4 년 전
부모
커밋
33fca7dd6d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      compose/bin/setup-integration-tests

+ 1 - 0
compose/bin/setup-integration-tests

@@ -13,6 +13,7 @@ bin/clinotty mysql -h${MYSQL_INTEGRATION_HOST} -uroot -p${MYSQL_ROOT_PASSWORD} $
 sed -e "s/'db-host' => 'localhost'/'db-host' => '${MYSQL_INTEGRATION_HOST}'/" \
   -e "s/'db-password' => '123123q'/'db-password' => '${MYSQL_ROOT_PASSWORD}'/" \
   -e "s/'amqp-host' => 'localhost'/'amqp-host' => 'rabbitmq'/" \
+  -e "s/'elasticsearch-host' => 'localhost'/'elasticsearch-host' => 'elasticsearch'/" \
   src/${MYSQL_INTEGRATION_CONFIG}.dist > src/${MYSQL_INTEGRATION_CONFIG}
 
 bin/copytocontainer ${MYSQL_INTEGRATION_CONFIG}