Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
8 changes: 7 additions & 1 deletion .github/workflows/build.scala_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ on:
required: false
type: boolean
default: false
postgres_image:
description: "The image to use for PostgreSQL"
required: false
type: string
default: "postgres:17"

jobs:

Expand Down Expand Up @@ -109,9 +114,10 @@ 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: ${{ inputs.postgres_image }}
env:
POSTGRES_PASSWORD: postgres
POSTGRES_INITDB_ARGS: "-c max_connections=16000"

steps:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build.scala_test_for_compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ 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: postgres:17
env:
POSTGRES_PASSWORD: postgres
POSTGRES_INITDB_ARGS: "-c max_connections=16000"
ports:
- 5432:5432

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build.scala_test_with_cometbft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ 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: postgres:17
env:
POSTGRES_PASSWORD: postgres
POSTGRES_INITDB_ARGS: "-c max_connections=16000"

cometbft1:
image: us-central1-docker.pkg.dev/da-cn-shared/ghcr/digital-asset/decentralized-canton-sync-dev/docker/splice-test-cometbft:0.3.12
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/build.wallclock_pg14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Wall Clock Tests with Postgres 14

on:
# Scheduled workflows run on the latest commit on the default or base branch.
schedule:
- cron: "0 5 * * *" # Runs every night at 5AM UTC

permissions:
id-token: write # Required for GCP Workload Identity for failure notifications
contents: read

jobs:
scala_test_wall_clock_time:
uses: ./.github/workflows/build.scala_test.yml
with:
runs_on: self-hosted-k8s-large
test_names_file: 'test-full-class-names.log'
start_canton_options: -w
# TODO(DACH-NY/canton-network-node#10912) Investigate why things got slower
parallelism: 11
test_name: wall-clock-time
with_gcp_creds: true
skip_if_regex: "\\[bft\\]"
commit_sha: ""
daml_base_version: ""
Comment on lines +24 to +25
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the default:

# This is the Postgres 14 image we built for testing. From 17 onwards, we use the official image.
postgres_image: us-central1-docker.pkg.dev/da-cn-shared/ghcr/digital-asset/decentralized-canton-sync-dev/docker/splice-test-postgres:0.3.12
secrets: inherit
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 = "10.22.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
2 changes: 1 addition & 1 deletion scripts/postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

set -eou pipefail

DOCKER_POSTGRES_IMAGE_NAME="postgres:14"
DOCKER_POSTGRES_IMAGE_NAME="postgres:17"

# Postgres settings
DOCKER_POSTGRES_CONTAINER_NAME="postgres-for-splice-node"
Expand Down