@@ -41,7 +41,7 @@ This component requires some Blockchain to be deployed, add this to config
4141
4242Then configure NodeSet
4343``` toml
44- [nodeset ]
44+ [[ nodesets ] ]
4545 # unique NodeSet name
4646 name = " don"
4747 # amount of Chainlink nodes to spin up
@@ -55,17 +55,17 @@ Then configure NodeSet
5555 # P2P API port range start, each new node get port incremented (host machine)
5656 p2p_port_range_start = 12000
5757
58- [nodeset .db ]
58+ [nodesets .db ]
5959 # PostgreSQL image version and tag
6060 image = " postgres:12.0"
6161 # Pulls the image every time if set to 'true', used like that in CI. Can be set to 'false' to speed up local runs
6262 pull_image = false
6363 # PostgreSQL volume name
6464 volume_name = " "
6565
66- [[nodeset .node_specs ]]
66+ [[nodesets .node_specs ]]
6767
68- [nodeset .node_specs .node ]
68+ [nodesets .node_specs .node ]
6969 # custom ports that plugins may need to expose and map to the host machine
7070 custom_ports = [14000 , 14001 ]
7171 # A list of paths to capability binaries
@@ -96,16 +96,16 @@ Then configure NodeSet
9696 """
9797
9898 # Outputs are the results of deploying a component that can be used by another component
99- [nodeset .out ]
99+ [nodesets .out ]
100100 # If 'use_cache' equals 'true' we skip component setup when we run the test and return the outputs
101101 use_cache = true
102102
103103 # Describes deployed or external Chainlink nodes
104- [[nodeset .out .cl_nodes ]]
104+ [[nodesets .out .cl_nodes ]]
105105 use_cache = true
106106
107107 # Describes deployed or external Chainlink node
108- [nodeset .out .cl_nodes .node ]
108+ [nodesets .out .cl_nodes .node ]
109109 # API user name
110110 api_auth_user =
' [email protected] ' 111111 # API password
@@ -115,15 +115,15 @@ Then configure NodeSet
115115 p2p_url = " http://127.0.0.1:32996"
116116 url = " http://127.0.0.1:33096"
117117 # Describes PostgreSQL instance
118- [nodeset .out .cl_nodes .postgresql ]
118+ [nodesets .out .cl_nodes .postgresql ]
119119 # PostgreSQL connection string
120120 # in case of using external database can be overriden
121121 url =
" postgresql://chainlink:[email protected] :33094/chainlink?sslmode=disable" 122122
123123 # Can have more than one node, fields are the same, see above ^^
124- [[nodeset .out .cl_nodes ]]
125- [nodeset .out .cl_nodes .node ]
126- [nodeset .out .cl_nodes .postgresql ]
124+ [[nodesets .out .cl_nodes ]]
125+ [nodesets .out .cl_nodes .node ]
126+ [nodesets .out .cl_nodes .postgresql ]
127127 ...
128128```
129129
@@ -141,7 +141,7 @@ import (
141141
142142type Config struct {
143143 BlockchainA *blockchain.Input ` toml:"blockchain_a" validate:"required"`
144- NodeSet *ns.Input ` toml:"nodeset " validate:"required"`
144+ NodeSets [] *ns.Input ` toml:"nodesets " validate:"required"`
145145}
146146
147147func TestMe (t *testing .T ) {
0 commit comments