Skip to content

Commit 27515d4

Browse files
authored
chore: upgrade PostgreSQL from 13 to 18 in CI and docker-compose (calcom#28252)
* upgrade postgresql from 13 to 18 * wip * fix: convert Decimal to number in getTotalBookingDuration for PG 16+ compatibility
1 parent 2bf4567 commit 27515d4

14 files changed

Lines changed: 19 additions & 15 deletions

.github/workflows/api-v1-production-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
timeout-minutes: 30
4848
services:
4949
postgres:
50-
image: postgres:13
50+
image: postgres:18
5151
credentials:
5252
username: ${{ secrets.DOCKERHUB_USERNAME }}
5353
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/api-v2-production-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
timeout-minutes: 30
1919
services:
2020
postgres:
21-
image: postgres:13
21+
image: postgres:18
2222
credentials:
2323
username: ${{ secrets.DOCKERHUB_USERNAME }}
2424
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/check-prisma-migrations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: blacksmith-2vcpu-ubuntu-2404
1212
services:
1313
postgres:
14-
image: postgres:13
14+
image: postgres:18
1515
credentials:
1616
username: ${{ secrets.DOCKERHUB_USERNAME }}
1717
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/e2e-api-v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: blacksmith-4vcpu-ubuntu-2404
3737
services:
3838
postgres:
39-
image: postgres:13
39+
image: postgres:18
4040
credentials:
4141
username: ${{ secrets.DOCKERHUB_USERNAME }}
4242
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/e2e-app-store.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: blacksmith-4vcpu-ubuntu-2404
4949
services:
5050
postgres:
51-
image: postgres:13
51+
image: postgres:18
5252
credentials:
5353
username: ${{ secrets.DOCKERHUB_USERNAME }}
5454
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/e2e-embed-react.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: blacksmith-4vcpu-ubuntu-2404
4949
services:
5050
postgres:
51-
image: postgres:13
51+
image: postgres:18
5252
credentials:
5353
username: ${{ secrets.DOCKERHUB_USERNAME }}
5454
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/e2e-embed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: blacksmith-4vcpu-ubuntu-2404
4949
services:
5050
postgres:
51-
image: postgres:13
51+
image: postgres:18
5252
credentials:
5353
username: ${{ secrets.DOCKERHUB_USERNAME }}
5454
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: blacksmith-4vcpu-ubuntu-2404
4949
services:
5050
postgres:
51-
image: postgres:13
51+
image: postgres:18
5252
credentials:
5353
username: ${{ secrets.DOCKERHUB_USERNAME }}
5454
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: blacksmith-2vcpu-ubuntu-2404
4949
services:
5050
postgres:
51-
image: postgres:13
51+
image: postgres:18
5252
credentials:
5353
username: ${{ secrets.DOCKERHUB_USERNAME }}
5454
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/setup-db.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
timeout-minutes: 15
3131
services:
3232
postgres:
33-
image: postgres:13
33+
image: postgres:18
3434
credentials:
3535
username: ${{ secrets.DOCKERHUB_USERNAME }}
3636
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)