Skip to content

Commit

Permalink
services
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Apr 8, 2024
1 parent c81ab26 commit ed09097
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions scripts/ci-start-services.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
#!/usr/bin/env bash

if [ "$RUN_SERVICES" == "true" ]; then
docker compose -f ./e2e/docker-compose.yml up elastic redis mongo -d
while ! curl -sfo /dev/null 'http://localhost:9200/'; do echo -n '.' && sleep .5; done
fi

if [ "$E2E" == "true" ]; then
cd e2e/server
honcho start &
cd ../../
fi
docker compose -f ./e2e/docker-compose.yml up elastic redis mongo -d
./ci-wait-for-services.sh

0 comments on commit ed09097

Please sign in to comment.