diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 5d15954821..3ee4348f58 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -97,9 +97,13 @@ jobs: - name: Backend smoke test run: | - docker compose up -d api \ - --wait --wait-timeout 60 - --exit-code-from api + # Migrate db first, so api works + docker compose up -d migrations + + # Run without migrations (give exit code 0) + docker compose up -d \ + --no-deps --wait --wait-timeout 60 \ + central-db central central-proxy s3 api smoke-test-frontend: runs-on: ubuntu-latest diff --git a/src/backend/migrate-entrypoint.sh b/src/backend/migrate-entrypoint.sh index 2491d1084f..19e978f7dc 100644 --- a/src/backend/migrate-entrypoint.sh +++ b/src/backend/migrate-entrypoint.sh @@ -206,5 +206,3 @@ pretty_echo "### Script End ###" #################### ### Script END ### #################### - -exec "$@"