File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 6363 required : false
6464 type : string
6565 default : " postgres:17"
66+ postgres_init_args :
67+ description : " Additional arguments to pass to Postgres on initialization via POSTGRES_INITDB_ARGS"
68+ required : false
69+ type : string
70+ default : " -c max_connections=16000"
6671
6772jobs :
6873
@@ -117,7 +122,7 @@ jobs:
117122 image : ${{ inputs.postgres_image }}
118123 env :
119124 POSTGRES_PASSWORD : postgres
120- POSTGRES_INITDB_ARGS : " -c max_connections=16000 "
125+ POSTGRES_INITDB_ARGS : ${{ inputs.postgres_init_args }}
121126
122127 steps :
123128
Original file line number Diff line number Diff line change 2424 commit_sha : " "
2525 daml_base_version : " "
2626 # This is the Postgres 14 image we built for testing. From 17 onwards, we use the official image.
27+ # It doesn't support `-c` init args. `max_connections` is set in the image itself.
2728 postgres_image : us-central1-docker.pkg.dev/da-cn-shared/ghcr/digital-asset/decentralized-canton-sync-dev/docker/splice-test-postgres:0.3.12
29+ postgres_init_args : " "
2830 secrets : inherit
You can’t perform that action at this time.
0 commit comments