platform/tests/prepare-tests.sh
Alex Velichko 61ecae6363
feat(tests): updated reports and prepare server step (#4659)
Signed-off-by: Alex Velichko <alex@hardcoreeng.com>
2024-02-16 13:36:14 +07:00

14 lines
355 B
Bash
Executable File

#!/bin/bash
docker compose -p sanity kill
docker compose -p sanity down --volumes
docker compose -p sanity up elastic mongodb -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