From e7ec68f44dda9132583002ee1257900665aced32 Mon Sep 17 00:00:00 2001
From: Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
Date: Mon, 16 Oct 2023 07:14:02 +0200
Subject: [PATCH] Bump Postgres version in drivers tests in CI to 12 (#34403)

* Bump Postgres in drivers tests to 12

* Update env vars

* Authenticate with password

* user name with prefix pg_ is not allowed

---------

Co-authored-by: Ngoc Khuat <qn.khuat@gmail.com>
---
 .github/workflows/drivers.yml | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/drivers.yml b/.github/workflows/drivers.yml
index 2b253d2d51a..0aa009fe36a 100644
--- a/.github/workflows/drivers.yml
+++ b/.github/workflows/drivers.yml
@@ -463,20 +463,21 @@ jobs:
       MB_DB_TYPE: postgres
       MB_DB_PORT: 5432
       MB_DB_HOST: localhost
-      MB_DB_DBNAME: circle_test
-      MB_DB_USER: circle_test
-      MB_POSTGRESQL_TEST_USER: circle_test
+      MB_DB_DBNAME: mb_test
+      MB_DB_USER: mb_test
+      MB_POSTGRESQL_TEST_USER: mb_test
     services:
       postgres:
-        image: circleci/postgres:9.6-alpine
+        image: postgres:12-alpine
         ports:
           - "5432:5432"
         env:
-          POSTGRES_USER: circle_test
-          POSTGRES_DB: circle_test
+          POSTGRES_USER: mb_test
+          POSTGRES_DB: mb_test
+          POSTGRES_HOST_AUTH_METHOD: trust
     steps:
     - uses: actions/checkout@v3
-    - name: Test Postgres driver (9.6)
+    - name: Test Postgres driver (12)
       uses: ./.github/actions/test-driver
       with:
         junit-name: 'be-tests-postgres-ee'
-- 
GitLab