Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ff449cd
bump splice-test-postgres base pg image to 17
OriolMunoz-da Jul 3, 2025
89771c4
[ci] run
OriolMunoz-da Jul 3, 2025
3e80004
use the new pg 17 splice img
OriolMunoz-da Jul 3, 2025
32f8bc2
[ci] run
OriolMunoz-da Jul 3, 2025
ded8f14
[ci] add a log to remove suspicion
OriolMunoz-da Jul 3, 2025
2838ff0
I blame the heat for this mistake
OriolMunoz-da Jul 3, 2025
40296f5
[ci] use the right version
OriolMunoz-da Jul 3, 2025
6849a64
Merge branch 'main' into oriol/pg-17-test
OriolMunoz-da Aug 11, 2025
37d9dcc
[ci] run
OriolMunoz-da Aug 11, 2025
7e9b8eb
[ci] that file shouldn't change
OriolMunoz-da Aug 11, 2025
98cbee6
[ci] bump flyway to latest 10.X (which supports pg 17)
OriolMunoz-da Aug 11, 2025
43b5778
[ci] yolo flyway
OriolMunoz-da Aug 12, 2025
452e862
Revert "[ci] yolo flyway"
OriolMunoz-da Aug 14, 2025
e84ddcf
ignore on canton
OriolMunoz-da Aug 14, 2025
5041386
Merge branch 'main' into oriol/pg-17-test
OriolMunoz-da Aug 15, 2025
da8db56
[ci] run
OriolMunoz-da Aug 15, 2025
db0a53c
[ci] remove the version check
OriolMunoz-da Aug 15, 2025
0c7e123
[ci] one more ignore
OriolMunoz-da Aug 15, 2025
71c1bb1
[ci] one more ignore
OriolMunoz-da Aug 15, 2025
d20a8fb
[ci] fix more logs
OriolMunoz-da Aug 15, 2025
13c7f3d
[ci] attempt to use simple postgres image
OriolMunoz-da Aug 15, 2025
2a534ca
Merge branch 'main' into oriol/pg-17-test
OriolMunoz-da Aug 21, 2025
ec15f9f
[ci] bump max_onnections
OriolMunoz-da Aug 21, 2025
77213fd
[ci] fix log ignore
OriolMunoz-da Aug 21, 2025
0bffa3e
Merge branch 'main' into oriol/pg-17-test
OriolMunoz-da Jan 14, 2026
6359f6c
[ci] run
OriolMunoz-da Jan 14, 2026
fa5dec0
[ci] these logs shouldn't need to be ignored anymore i guess
OriolMunoz-da Jan 14, 2026
aa0d8e8
Merge branch 'main' into oriol/pg-17-test
OriolMunoz-da Jan 15, 2026
0f4c518
[ci] Run PG 14 nightly on wallclock tests
OriolMunoz-da Jan 15, 2026
36c6ea9
[ci] also for local start-canton
OriolMunoz-da Jan 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.scala_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:

services:
postgres:
image: us-central1-docker.pkg.dev/da-cn-shared/ghcr/digital-asset/decentralized-canton-sync-dev/docker/splice-test-postgres:0.3.12
image: ghcr.io/digital-asset/decentralized-canton-sync-dev/docker/splice-test-postgres:0.4.4-snapshot.20250703.311.0.v2838ff00
env:
POSTGRES_PASSWORD: postgres

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.scala_test_for_compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

services:
postgres:
image: us-central1-docker.pkg.dev/da-cn-shared/ghcr/digital-asset/decentralized-canton-sync-dev/docker/splice-test-postgres:0.3.12
image: ghcr.io/digital-asset/decentralized-canton-sync-dev/docker/splice-test-postgres:0.4.4-snapshot.20250703.311.0.v2838ff00
env:
POSTGRES_PASSWORD: postgres
ports:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.scala_test_with_cometbft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

services:
postgres:
image: us-central1-docker.pkg.dev/da-cn-shared/ghcr/digital-asset/decentralized-canton-sync-dev/docker/splice-test-postgres:0.3.12
image: ghcr.io/digital-asset/decentralized-canton-sync-dev/docker/splice-test-postgres:0.4.4-snapshot.20250703.311.0.v2838ff00
env:
POSTGRES_PASSWORD: postgres

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,11 @@ final class DbMultiDomainAcsStore[TXE](
case _ => Future.unit
}

version <- storage
.querySingle(sql"select version()".as[String].headOption, "initialize.version")
.value
_ = logger.error(s"Postgres version is $version")

acsSizeInDb <- acsInitResult match {
case StoreHasData(acsStoreId, _) =>
storage
Expand Down
4 changes: 2 additions & 2 deletions cluster/images/splice-test-postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM postgres:14.18@sha256:c0aab7962b283cf24a0defa5d0d59777f5045a7be59905f21ba81a20b1a110c9
LABEL org.opencontainers.image.base.name="postgres:14.18"
FROM postgres:17
LABEL org.opencontainers.image.base.name="postgres:17"

COPY cmd.sh /usr/local/bin/
COPY target/LICENSE .
Expand Down
2 changes: 1 addition & 1 deletion project/CantonDependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ object CantonDependencies {
lazy val hikaricp = "com.zaxxer" % "HikariCP" % "3.2.0"
lazy val h2 = "com.h2database" % "h2" % "2.1.210"
lazy val postgres = "org.postgresql" % "postgresql" % "42.7.3"
private val flyway_version = "10.12.0"
private val flyway_version = "11.11.0"
lazy val flyway = "org.flywaydb" % "flyway-core" % flyway_version
lazy val flyway_postgresql = "org.flywaydb" % "flyway-database-postgresql" % flyway_version
lazy val oracle = "com.oracle.database.jdbc" % "ojdbc8" % "19.13.0.0.1"
Expand Down
Loading