Skip to content

Commit

Permalink
ci: backend smoke test wait for svc before api attach
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 8, 2023
1 parent 2e5bec4 commit bffc2fe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,13 @@ jobs:
# Migrate db first, so api works
docker compose up migrations --exit-code-from migrations
# Run without migrations (give exit code 0)
# Run without migrations (give exit code 0), or api
docker compose up -d \
--no-deps --wait --wait-timeout 60 \
central-db central central-proxy s3 api
central-db central central-proxy s3
# Start api attached to view logs
docker compose up --no-deps --wait --wait-timeout 60 api
smoke-test-frontend:
runs-on: ubuntu-latest
Expand Down

0 comments on commit bffc2fe

Please sign in to comment.