From e10e54fa0bc338b1f48bfd0beabf96ac80061ee9 Mon Sep 17 00:00:00 2001 From: Kunal Gupta <39487888+iamKunalGupta@users.noreply.github.com> Date: Tue, 19 Nov 2024 21:41:38 +0530 Subject: [PATCH] chore: replace debezium in ci and test on multiple pg versions (#2269) --- .github/workflows/ci.yml | 5 +++-- .github/workflows/flow.yml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d98e8736d..5dbbb4ee97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,18 +5,19 @@ on: branches: [main, release/*] pull_request: branches: [main, release/*] - paths: [nexus/**, protos/**] + paths: [nexus/**, protos/**, .github/workflows/ci.yml] jobs: build: strategy: matrix: runner: [ubicloud-standard-2-ubuntu-2204-arm] + postgres-version: [13, 14, 15, 16, 17] runs-on: ${{ matrix.runner }} timeout-minutes: 30 services: catalog_peer: - image: debezium/postgres:14-alpine + image: postgres:${{ matrix.postgres-version }}-alpine ports: - 7132:5432 env: diff --git a/.github/workflows/flow.yml b/.github/workflows/flow.yml index 2673bda3f8..d3168e96d8 100644 --- a/.github/workflows/flow.yml +++ b/.github/workflows/flow.yml @@ -11,11 +11,12 @@ jobs: strategy: matrix: runner: [ubicloud-standard-16-ubuntu-2204-arm] + postgres-version: [15, 16, 17] runs-on: ${{ matrix.runner }} timeout-minutes: 30 services: catalog: - image: imresamu/postgis:15-3.4-alpine + image: imresamu/postgis:${{ matrix.postgres-version }}-3.5-alpine ports: - 5432:5432 env: