Skip to content

Commit 38d21b4

Browse files
authored
by default, use lowest postgres version CL node is compatible with (#1376)
1 parent 18318aa commit 38d21b4

File tree

23 files changed

+42
-26
lines changed

23 files changed

+42
-26
lines changed

book/src/framework/components/chainlink/node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Here we provide full configuration reference, if you want to copy and run it, pl
1313

1414
[cl_node.db]
1515
# PostgreSQL image version and tag
16-
image = "postgres:15.6"
16+
image = "postgres:12.0"
1717
# Pulls the image every time if set to 'true', used like that in CI. Can be set to 'false' to speed up local runs
1818
pull_image = false
1919

book/src/framework/components/chainlink/nodeset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Then configure NodeSet
5555

5656
[nodeset.db]
5757
# PostgreSQL image version and tag
58-
image = "postgres:15.6"
58+
image = "postgres:12.0"
5959
# Pulls the image every time if set to 'true', used like that in CI. Can be set to 'false' to speed up local runs
6060
pull_image = false
6161
# PostgreSQL volume name

book/src/framework/components/state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You can also define a custom set of ports for any node
4747
override_mode = "each"
4848

4949
[nodeset.db]
50-
image = "postgres:15.6"
50+
image = "postgres:12.0"
5151

5252
[[nodeset.node_specs]]
5353

book/src/framework/connecting_chainlink_node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Create your configuration in `smoke.toml`
1515
[cl_node]
1616

1717
[cl_node.db]
18-
image = "postgres:15.6"
18+
image = "postgres:12.0"
1919

2020
[cl_node.node]
2121
image = "public.ecr.aws/chainlink/chainlink:v2.17.0"

book/src/framework/nodeset_capabilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Create a configuration file `smoke.toml`
2828
override_mode = "all"
2929

3030
[nodeset.db]
31-
image = "postgres:15.6"
31+
image = "postgres:12.0"
3232

3333
[[nodeset.node_specs]]
3434

book/src/framework/nodeset_compatibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Create a configuration file `smoke.toml`
1616
override_mode = "each"
1717

1818
[nodeset.db]
19-
image = "postgres:15.6"
19+
image = "postgres:12.0"
2020

2121
[[nodeset.node_specs]]
2222

book/src/framework/nodeset_docker_rebuild.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Create a configuration file `smoke.toml`
1616
override_mode = "all"
1717

1818
[nodeset.db]
19-
image = "postgres:15.6"
19+
image = "postgres:12.0"
2020

2121
[[nodeset.node_specs]]
2222

book/src/framework/nodeset_environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Create a configuration file `smoke.toml`
1717
override_mode = "all"
1818

1919
[nodeset.db]
20-
image = "postgres:15.6"
20+
image = "postgres:12.0"
2121

2222
[[nodeset.node_specs]]
2323

framework/cmd/interactive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func createComponentsFromForm(form *nodeSetForm) error {
6262
Nodes: 5,
6363
OverrideMode: "all",
6464
DbInput: &postgres.Input{
65-
Image: "postgres:15.6",
65+
Image: "postgres:12.0",
6666
},
6767
NodeSpecs: nspecs,
6868
}, bc)

framework/components/clnode/clnode_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestComponentDockerNodeWithSharedDB(t *testing.T) {
3232
name: "basic use case",
3333
input: &clnode.Input{
3434
DbInput: &postgres.Input{
35-
Image: "postgres:15.6",
35+
Image: "postgres:12.0",
3636
Port: 16000,
3737
VolumeName: "a",
3838
},
@@ -67,7 +67,7 @@ func TestComponentDockerNodeWithDB(t *testing.T) {
6767
name: "basic use case",
6868
input: &clnode.Input{
6969
DbInput: &postgres.Input{
70-
Image: "postgres:15.6",
70+
Image: "postgres:12.0",
7171
Port: 15000,
7272
VolumeName: "b",
7373
},

0 commit comments

Comments
 (0)