From 86fb3930f7ecc75c081e1ae35f8b2e73b37b8197 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Mon, 9 Dec 2024 11:34:12 +0100 Subject: [PATCH 1/5] Remove old versions of MongoDB Removed: | Release | Release Date | End of Life Date | |-------------|---------------|------------------| | MongoDB 3.4 | November 2016 | January 2020 | | MongoDB 3.6 | November 2017 | April 2021 | | MongoDB 4.0 | June 2018 | April 2022 | | MongoDB 4.2 | August 2019 | April 2023 | Added: | Release | Release Date | End of Life Date | |-------------|---------------|------------------| | MongoDB 5.0 | July 2021 | October 2024 | | MongoDB 6.0 | July 2022 | July 2025 | | MongoDB 7.0 | August 2023 | August 2026 | | MongoDB 8.0 | October 2024 | TBD | https://www.mongodb.com/legal/support-policy/lifecycles --- database/mongodb/mongodb_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/database/mongodb/mongodb_test.go b/database/mongodb/mongodb_test.go index 8823bd9ca..a08d094ea 100644 --- a/database/mongodb/mongodb_test.go +++ b/database/mongodb/mongodb_test.go @@ -32,10 +32,10 @@ var ( opts = dktest.Options{PortRequired: true, ReadyFunc: isReady} // Supported versions: https://www.mongodb.com/support-policy specs = []dktesting.ContainerSpec{ - {ImageName: "mongo:3.4", Options: opts}, - {ImageName: "mongo:3.6", Options: opts}, - {ImageName: "mongo:4.0", Options: opts}, - {ImageName: "mongo:4.2", Options: opts}, + {ImageName: "mongo:5.0", Options: opts}, + {ImageName: "mongo:6.0", Options: opts}, + {ImageName: "mongo:7.0", Options: opts}, + {ImageName: "mongo:8.0", Options: opts}, } ) From 7e3043a5ba89401d3b740ce181ba4769e87f7532 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Mon, 9 Dec 2024 12:34:28 +0100 Subject: [PATCH 2/5] test(postgres): run tests with PostgreSQL 17 Add PostgreSQL 17, remove PostgreSQL 12 (EOL since November 21, 2024). https://www.postgresql.org/support/versioning/ --- database/pgx/pgx_test.go | 2 +- database/pgx/v5/pgx_test.go | 2 +- database/postgres/postgres_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/database/pgx/pgx_test.go b/database/pgx/pgx_test.go index 03977973d..018aa7cdb 100644 --- a/database/pgx/pgx_test.go +++ b/database/pgx/pgx_test.go @@ -34,11 +34,11 @@ var ( PortRequired: true, ReadyFunc: isReady} // Supported versions: https://www.postgresql.org/support/versioning/ specs = []dktesting.ContainerSpec{ - {ImageName: "postgres:12", Options: opts}, {ImageName: "postgres:13", Options: opts}, {ImageName: "postgres:14", Options: opts}, {ImageName: "postgres:15", Options: opts}, {ImageName: "postgres:16", Options: opts}, + {ImageName: "postgres:17", Options: opts}, } ) diff --git a/database/pgx/v5/pgx_test.go b/database/pgx/v5/pgx_test.go index 3066376b9..52cf60830 100644 --- a/database/pgx/v5/pgx_test.go +++ b/database/pgx/v5/pgx_test.go @@ -35,11 +35,11 @@ var ( PortRequired: true, ReadyFunc: isReady} // Supported versions: https://www.postgresql.org/support/versioning/ specs = []dktesting.ContainerSpec{ - {ImageName: "postgres:12", Options: opts}, {ImageName: "postgres:13", Options: opts}, {ImageName: "postgres:14", Options: opts}, {ImageName: "postgres:15", Options: opts}, {ImageName: "postgres:16", Options: opts}, + {ImageName: "postgres:17", Options: opts}, } ) diff --git a/database/postgres/postgres_test.go b/database/postgres/postgres_test.go index 988d086b2..0eea47e94 100644 --- a/database/postgres/postgres_test.go +++ b/database/postgres/postgres_test.go @@ -35,11 +35,11 @@ var ( PortRequired: true, ReadyFunc: isReady} // Supported versions: https://www.postgresql.org/support/versioning/ specs = []dktesting.ContainerSpec{ - {ImageName: "postgres:12", Options: opts}, {ImageName: "postgres:13", Options: opts}, {ImageName: "postgres:14", Options: opts}, {ImageName: "postgres:15", Options: opts}, {ImageName: "postgres:16", Options: opts}, + {ImageName: "postgres:17", Options: opts}, } ) From defe564e6c58b45ea0816f94993974b73cc527b6 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Mon, 9 Dec 2024 13:28:54 +0100 Subject: [PATCH 3/5] test(cockroachdb): remove old versions of CockroachDB in tests Removed: | Release | Released | Maintenance Support | Assistance Support | Latest | |:-------------------:|:--------------------------------------:|:--------------------------------------------:|:--------------------------------------------:|:---------------------:| | 2.1 | 6 years ago (30 Oct 2018) | Ended 5 years ago (30 Oct 2019) | Ended 4 years and 7 months ago (30 Apr 2020) | 2.1.11 (22 Jan 2020) | | 2.0 | 6 years and 8 months ago (04 Apr 2018) | Ended 5 years and 8 months ago (04 Apr 2019) | Ended 5 years ago (04 Oct 2019) | 2.0.7 (28 Nov 2018) | | 1.1 | 7 years ago (12 Oct 2017) | Ended 6 years ago (12 Oct 2018) | Ended 5 years and 8 months ago (12 Apr 2019) | 1.1.9 (01 Oct 2018) | | 1.0 | 7 years ago (10 May 2017) | Ended 6 years ago (10 May 2018) | Ended 6 years ago (10 Nov 2018) | 1.0.7 (11 Feb 2018) | Added: | Release | Released | Maintenance Support | Assistance Support | Latest | |:-------------------:|:--------------------------------------:|:--------------------------------------------:|:--------------------------------------------:|:---------------------:| | 24.3 | 3 weeks ago (18 Nov 2024) | Ends in 11 months (18 Nov 2025) | Ends in 1 year and 5 months (18 May 2026) | 24.3.0 (20 Nov 2024) | | 24.2 | 3 months and 4 weeks ago (12 Aug 2024) | Ends in 2 months (12 Feb 2025) | Ends in 2 months (12 Feb 2025) | 24.2.5 (11 Nov 2024) | | 24.1 (Upcoming LTS) | 6 months and 3 weeks ago (20 May 2024) | Ends in 5 months (20 May 2025) | Ends in 11 months (20 Nov 2025) | 24.1.7 (11 Nov 2024) | | 23.2 (Upcoming LTS) | 10 months ago (05 Feb 2024) | Ends in 1 month and 4 weeks (05 Feb 2025) | Ends in 7 months and 4 weeks (05 Aug 2025) | 23.2.16 (13 Nov 2024) | --- database/cockroachdb/cockroachdb_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/database/cockroachdb/cockroachdb_test.go b/database/cockroachdb/cockroachdb_test.go index d00e27503..0d144880c 100644 --- a/database/cockroachdb/cockroachdb_test.go +++ b/database/cockroachdb/cockroachdb_test.go @@ -26,13 +26,13 @@ import ( const defaultPort = 26257 var ( - opts = dktest.Options{Cmd: []string{"start", "--insecure"}, PortRequired: true, ReadyFunc: isReady} + opts = dktest.Options{Cmd: []string{"start-single-node", "--insecure"}, PortRequired: true, ReadyFunc: isReady} // Released versions: https://www.cockroachlabs.com/docs/releases/ specs = []dktesting.ContainerSpec{ - {ImageName: "cockroachdb/cockroach:v1.0.7", Options: opts}, - {ImageName: "cockroachdb/cockroach:v1.1.9", Options: opts}, - {ImageName: "cockroachdb/cockroach:v2.0.7", Options: opts}, - {ImageName: "cockroachdb/cockroach:v2.1.3", Options: opts}, + {ImageName: "cockroachdb/cockroach:latest-v23.2", Options: opts}, + {ImageName: "cockroachdb/cockroach:latest-v24.1", Options: opts}, + {ImageName: "cockroachdb/cockroach:latest-v24.2", Options: opts}, + {ImageName: "cockroachdb/cockroach:latest-v24.3", Options: opts}, } ) From 3b65b8205c2fbdf296f2dd953e433bf7bfdab68a Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Mon, 9 Dec 2024 16:42:25 +0100 Subject: [PATCH 4/5] test(firebird): remove old versions of Firebird in tests Removed: Firebird 2.5, see https://firebirdsql.org/en/discontinued-versions/ Added: - Firebird 4.0 (https://firebirdsql.org/en/firebird-4-0-5/) - Firebird 5.0 (https://firebirdsql.org/en/firebird-5-0-1/) --- database/firebird/firebird_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/database/firebird/firebird_test.go b/database/firebird/firebird_test.go index 21fa8de2d..1e6701c4e 100644 --- a/database/firebird/firebird_test.go +++ b/database/firebird/firebird_test.go @@ -38,8 +38,9 @@ var ( }, } specs = []dktesting.ContainerSpec{ - {ImageName: "jacobalberty/firebird:2.5-ss", Options: opts}, - {ImageName: "jacobalberty/firebird:3.0", Options: opts}, + {ImageName: "jacobalberty/firebird:v3.0", Options: opts}, + {ImageName: "jacobalberty/firebird:v4.0", Options: opts}, + {ImageName: "jacobalberty/firebird:v5.0", Options: opts}, } ) From 21af4c5d690938da8cb1375e4b97d3fcde076291 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Mon, 9 Dec 2024 17:18:10 +0100 Subject: [PATCH 5/5] test(clickhouse): run ClickHouse tests with official LTS image (24.8) --- database/clickhouse/clickhouse_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/clickhouse/clickhouse_test.go b/database/clickhouse/clickhouse_test.go index 694aa2a7b..0af0fa880 100644 --- a/database/clickhouse/clickhouse_test.go +++ b/database/clickhouse/clickhouse_test.go @@ -26,7 +26,7 @@ var ( PortRequired: true, ReadyFunc: isReady, } specs = []dktesting.ContainerSpec{ - {ImageName: "yandex/clickhouse-server:21.3", Options: opts}, + {ImageName: "clickhouse:24.8", Options: opts}, } )