From 032b2432487775d8d7df33a2d04d0c19702e9776 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Tue, 26 Mar 2024 22:44:07 +0000 Subject: [PATCH] chore: bump GitHub postgres v2 (#14220) * Bump all postgres:12 -> postgres:13.13 * Attempt 2, postgres:13 instead of 13.13 and custom options --- .github/workflows/e2e-app-store.yml | 7 ++++++- .github/workflows/e2e-embed-react.yml | 7 ++++++- .github/workflows/e2e-embed.yml | 7 ++++++- .github/workflows/e2e.yml | 7 ++++++- .github/workflows/production-build.yml | 7 ++++++- 5 files changed, 30 insertions(+), 5 deletions(-) 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: