2
0

feat(snuba): Skip snuba migrate task (#495)

This commit is contained in:
Lyn Nagara 2020-05-17 23:16:30 -07:00 committed by GitHub
parent adda25ee23
commit 29c6ef58ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,11 +164,8 @@ $dc build --force-rm --parallel
echo ""
echo "Docker images built."
echo "Bootstrapping Snuba..."
# `bootstrap` is for fresh installs, and `migrate` is for existing installs
# Running them both for both cases is harmless so we blindly run them
echo "Bootstrapping and migrating Snuba..."
$dcr snuba-api bootstrap --force
$dcr snuba-api migrate
echo ""
# Very naively check whether there's an existing sentry-postgres volume and the PG version in it