Skip to content

Commit

Permalink
more robust snuba & clickouse bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
BYK committed Nov 8, 2019
1 parent bbd9435 commit bb9e4ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.sh
Expand Up @@ -101,7 +101,10 @@ else
fi

echo "Boostrapping Snuba..."
docker-compose run --rm snuba-api bootstrap --force || true
docker-compose up -d kafka redis clickhouse
until $(docker-compose run --rm clickhouse clickhouse-client -h clickhouse --query="SHOW TABLES;" | grep -q sentry_local); do
docker-compose run --rm snuba-api bootstrap --force || true;
done;
echo ""

cleanup
Expand Down

0 comments on commit bb9e4ea

Please sign in to comment.