Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 8, 2023
2 parents 60944ca + ce1c68d commit 4616533
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,17 @@ jobs:
docker compose up migrations --exit-code-from migrations
# Run without migrations (avoid exit code 0)
docker compose up --detach \
--no-deps --wait --wait-timeout 60 \
central-db central central-proxy s3 api
# View logs afterwards
docker compose logs api
# Also run within if block to capture logs if failure
if docker compose up --detach \
--no-deps --wait --wait-timeout 60 \
central-db central central-proxy s3 api
then
docker compose logs api
else
echo "Application not healthy after 1m0s. Exiting."
docker compose logs api
exit 1
fi
smoke-test-frontend:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4616533

Please sign in to comment.