Skip to content

Scheduling infrastructure for absolutely everyone.

chore: bump GitHub postgres v2 (#14220)

Alex van Andel032b24324877
diff --git a/.github/workflows/e2e-app-store.yml b/.github/workflows/e2e-app-store.yml
index 9deccaf8833..65c70bbdd5d 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 26044dc815c..17e3da103bc 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 d8a4ef0b6dc..8a330abd0a0 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 0c8090fd942..67ec57df149 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 447b3d26887..eff776b5635 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: