platform/tests/prepare-tests.sh
Denis Bykhov bf1de1f436
Cockroach (#6334)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-09-11 15:31:26 +07:00

14 lines
395 B
Bash
Executable File

#!/usr/bin/env bash
docker compose -p sanity kill
docker compose -p sanity down --volumes
docker compose -f docker-compose.yaml -p sanity up elastic mongodb postgres -d --force-recreate --renew-anon-volumes
docker_exit=$?
if [ ${docker_exit} -eq 0 ]; then
echo "Container started successfully"
else
echo "Container started with errors"
exit ${docker_exit}
fi
./wait-elastic.sh 9201