diff --git a/.github/workflows/e2e-app-store.yml b/.github/workflows/e2e-app-store.yml index 9deccaf883..65c70bbdd5 100644 --- a/.github/workflows/e2e-app-store.yml +++ b/.github/workflows/e2e-app-store.yml @@ -10,13 +10,18 @@ jobs: runs-on: buildjet-4vcpu-ubuntu-2204 services: postgres: - image: postgres:13.13 + image: postgres:13 credentials: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres POSTGRES_DB: calendso + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 ports: - 5432:5432 mailhog: diff --git a/.github/workflows/e2e-embed-react.yml b/.github/workflows/e2e-embed-react.yml index 26044dc815..17e3da103b 100644 --- a/.github/workflows/e2e-embed-react.yml +++ b/.github/workflows/e2e-embed-react.yml @@ -10,13 +10,18 @@ jobs: runs-on: buildjet-4vcpu-ubuntu-2204 services: postgres: - image: postgres:13.13 + image: postgres:13 credentials: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres POSTGRES_DB: calendso + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 ports: - 5432:5432 strategy: diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.yml index d8a4ef0b6d..8a330abd0a 100644 --- a/.github/workflows/e2e-embed.yml +++ b/.github/workflows/e2e-embed.yml @@ -10,13 +10,18 @@ jobs: runs-on: buildjet-4vcpu-ubuntu-2204 services: postgres: - image: postgres:13.13 + image: postgres:13 credentials: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres POSTGRES_DB: calendso + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 ports: - 5432:5432 mailhog: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 0c8090fd94..67ec57df14 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -10,13 +10,18 @@ jobs: runs-on: buildjet-4vcpu-ubuntu-2204 services: postgres: - image: postgres:13.13 + image: postgres:13 credentials: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres POSTGRES_DB: calendso + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 ports: - 5432:5432 mailhog: diff --git a/.github/workflows/production-build.yml b/.github/workflows/production-build.yml index 447b3d2688..eff776b563 100644 --- a/.github/workflows/production-build.yml +++ b/.github/workflows/production-build.yml @@ -42,13 +42,18 @@ jobs: timeout-minutes: 30 services: postgres: - image: postgres:13.13 + image: postgres:13 credentials: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: postgres POSTGRES_DB: calendso + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 ports: - 5432:5432 steps: