Retry host secret with exposed port
CI/CD Pipeline / test (push) Successful in 30s
CI/CD Pipeline / deploy-internal (push) Failing after 9s

This commit is contained in:
chris committed 2026-09-25 13:46:53 -04:00
1 parent 17d179618b
commit df30510ff2
1 file changed
+2 -2
+2 -2
View File
@@ -21,7 +21,7 @@ jobs:
- ${{ secrets.TEST_PG_PORT }}:5432 - ${{ secrets.TEST_PG_PORT }}:5432
# Ensure Postgres is completely booted before running tests # Ensure Postgres is completely booted before running tests
options: >- options: >-
--health-cmd "pg_isready -U test_user -d test_db" --health-cmd "pg_isready -U ${{ secrets.TEST_PG_USER }} -d ${{ secrets.TEST_PG_DATABASE }}"
--health-interval 10s --health-interval 10s
--health-timeout 5s --health-timeout 5s
--health-retries 5 --health-retries 5
@@ -48,7 +48,7 @@ jobs:
working-directory: ./api working-directory: ./api
run: npx dbmate up run: npx dbmate up
env: env:
DATABASE_URL: "postgres://${{ secrets.TEST_PG_USER }}:${{ secrets.TEST_PG_USER_PASSWORD }}@postgres:${{ secrets.TEST_PG_PORT }}/${{ secrets.TEST_PG_DATABASE }}?sslmode=disable" DATABASE_URL: "postgres://${{ secrets.TEST_PG_USER }}:${{ secrets.TEST_PG_USER_PASSWORD }}@${{ secrets.TEST_PG_HOST }}:${{ secrets.TEST_PG_PORT }}/${{ secrets.TEST_PG_DATABASE }}?sslmode=disable"
# - name: Generate PgTyped Types # - name: Generate PgTyped Types
# run: npm run pgtyped:compile # run: npm run pgtyped:compile