From 6eefd78bb48830a35314b2013df470354927ef7e Mon Sep 17 00:00:00 2001 From: Mikhail Cheshkov Date: Fri, 13 Dec 2024 13:02:53 +0200 Subject: [PATCH 1/2] chore(testing-shared): Bump default PostgreSQL image to 12.22 --- .../cubejs-testing-shared/src/db-container-runners/postgres.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cubejs-testing-shared/src/db-container-runners/postgres.ts b/packages/cubejs-testing-shared/src/db-container-runners/postgres.ts index 255fc1bdd1ef1..8fc359792d275 100644 --- a/packages/cubejs-testing-shared/src/db-container-runners/postgres.ts +++ b/packages/cubejs-testing-shared/src/db-container-runners/postgres.ts @@ -5,7 +5,7 @@ import { DbRunnerAbstract, DBRunnerContainerOptions } from './db-runner.abstract export class PostgresDBRunner extends DbRunnerAbstract { public static startContainer(options: DBRunnerContainerOptions) { - const version = process.env.TEST_PGSQL_VERSION || options.version || '9.6.8'; + const version = process.env.TEST_PGSQL_VERSION || options.version || '12.22'; const container = new GenericContainer(`postgres:${version}`) .withEnvironment({ From f9a49a2499c48e5a83b91df6f373c301eca7fdfc Mon Sep 17 00:00:00 2001 From: Mikhail Cheshkov Date: Fri, 13 Dec 2024 13:28:00 +0200 Subject: [PATCH 2/2] test(schema-compiler): Bump default PostgreSQL image to 12.22 --- .../test/integration/postgres/PostgresDBRunner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cubejs-schema-compiler/test/integration/postgres/PostgresDBRunner.js b/packages/cubejs-schema-compiler/test/integration/postgres/PostgresDBRunner.js index 5e8ded3aec0f3..84dc36df77372 100644 --- a/packages/cubejs-schema-compiler/test/integration/postgres/PostgresDBRunner.js +++ b/packages/cubejs-schema-compiler/test/integration/postgres/PostgresDBRunner.js @@ -125,7 +125,7 @@ export class PostgresDBRunner extends BaseDbRunner { } async containerLazyInit() { - const version = process.env.TEST_PGSQL_VERSION || '9.6.8'; + const version = process.env.TEST_PGSQL_VERSION || '12.22'; return new GenericContainer(`postgres:${version}`) .withEnvironment({