Skip to content

Commit

Permalink
Exit ffs startup script if migrations fail
Browse files Browse the repository at this point in the history
  • Loading branch information
joshleecreates committed Oct 6, 2022
1 parent f6ae2d7 commit 60a7f7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# compose
IMAGE_VERSION=v0.5.0-alpha
IMAGE_VERSION=v0.5.1-alpha
IMAGE_NAME=ghcr.io/open-telemetry/demo

# Collector
Expand Down
2 changes: 1 addition & 1 deletion src/featureflagservice/rel/overlays/bin/server
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
cd -P -- "$(dirname -- "$0")"

./featureflagservice eval Featureflagservice.Release.migrate
./featureflagservice eval Featureflagservice.Release.migrate || { echo "release failed"; exit 1; }

PHX_SERVER=true exec ./featureflagservice start

0 comments on commit 60a7f7a

Please sign in to comment.