Explorar o código

setup integration tests add elasticsearch host to sed

Piotr Kwiecinski %!s(int64=4) %!d(string=hai) anos
pai
achega
33fca7dd6d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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}