use global params in drand compositions
This commit is contained in:
parent
04311d6c1a
commit
6c4e83f8a2
@ -9,6 +9,17 @@
|
|||||||
builder = "docker:go"
|
builder = "docker:go"
|
||||||
runner = "local:docker"
|
runner = "local:docker"
|
||||||
|
|
||||||
|
[global.build]
|
||||||
|
selectors = ["testground"]
|
||||||
|
|
||||||
|
[global.run.test_params]
|
||||||
|
clients = "1"
|
||||||
|
miners = "1"
|
||||||
|
balance = "2000"
|
||||||
|
sectors = "10"
|
||||||
|
random_beacon_type = "local-drand"
|
||||||
|
genesis_timestamp_offset = "0"
|
||||||
|
|
||||||
[[groups]]
|
[[groups]]
|
||||||
id = "bootstrapper"
|
id = "bootstrapper"
|
||||||
[groups.resources]
|
[groups.resources]
|
||||||
@ -17,16 +28,10 @@
|
|||||||
[groups.instances]
|
[groups.instances]
|
||||||
count = 1
|
count = 1
|
||||||
percentage = 0.0
|
percentage = 0.0
|
||||||
[groups.build]
|
|
||||||
selectors = ["testground"]
|
|
||||||
[groups.run]
|
[groups.run]
|
||||||
[groups.run.test_params]
|
[groups.run.test_params]
|
||||||
role = "bootstrapper"
|
role = "bootstrapper"
|
||||||
clients = "1"
|
|
||||||
miners = "1"
|
|
||||||
balance = "2000"
|
|
||||||
sectors = "10"
|
|
||||||
random_beacon_type = "local-drand"
|
|
||||||
|
|
||||||
[[groups]]
|
[[groups]]
|
||||||
id = "miners"
|
id = "miners"
|
||||||
@ -36,16 +41,9 @@
|
|||||||
[groups.instances]
|
[groups.instances]
|
||||||
count = 1
|
count = 1
|
||||||
percentage = 0.0
|
percentage = 0.0
|
||||||
[groups.build]
|
|
||||||
selectors = ["testground"]
|
|
||||||
[groups.run]
|
[groups.run]
|
||||||
[groups.run.test_params]
|
[groups.run.test_params]
|
||||||
role = "miner"
|
role = "miner"
|
||||||
clients = "1"
|
|
||||||
miners = "1"
|
|
||||||
balance = "2000"
|
|
||||||
sectors = "10"
|
|
||||||
random_beacon_type = "local-drand"
|
|
||||||
|
|
||||||
|
|
||||||
[[groups]]
|
[[groups]]
|
||||||
@ -56,16 +54,9 @@
|
|||||||
[groups.instances]
|
[groups.instances]
|
||||||
count = 1
|
count = 1
|
||||||
percentage = 0.0
|
percentage = 0.0
|
||||||
[groups.build]
|
|
||||||
selectors = ["testground"]
|
|
||||||
[groups.run]
|
[groups.run]
|
||||||
[groups.run.test_params]
|
[groups.run.test_params]
|
||||||
role = "client"
|
role = "client"
|
||||||
clients = "1"
|
|
||||||
miners = "1"
|
|
||||||
balance = "2000"
|
|
||||||
sectors = "10"
|
|
||||||
random_beacon_type = "local-drand"
|
|
||||||
|
|
||||||
|
|
||||||
[[groups]]
|
[[groups]]
|
||||||
@ -73,8 +64,6 @@
|
|||||||
[groups.instances]
|
[groups.instances]
|
||||||
count = 3
|
count = 3
|
||||||
percentage = 0.0
|
percentage = 0.0
|
||||||
[groups.build]
|
|
||||||
selectors = ["testground"]
|
|
||||||
[groups.run]
|
[groups.run]
|
||||||
[groups.run.test_params]
|
[groups.run.test_params]
|
||||||
role = "drand"
|
role = "drand"
|
||||||
|
@ -9,6 +9,14 @@
|
|||||||
builder = "docker:go"
|
builder = "docker:go"
|
||||||
runner = "local:docker"
|
runner = "local:docker"
|
||||||
|
|
||||||
|
[global.run.test_params]
|
||||||
|
clients = "1"
|
||||||
|
miners = "1"
|
||||||
|
balance = "2000"
|
||||||
|
sectors = "10"
|
||||||
|
random_beacon_type = "local-drand"
|
||||||
|
genesis_timestamp_offset = "0"
|
||||||
|
|
||||||
[[groups]]
|
[[groups]]
|
||||||
id = "bootstrapper"
|
id = "bootstrapper"
|
||||||
[groups.resources]
|
[groups.resources]
|
||||||
@ -20,11 +28,7 @@
|
|||||||
[groups.run]
|
[groups.run]
|
||||||
[groups.run.test_params]
|
[groups.run.test_params]
|
||||||
role = "bootstrapper"
|
role = "bootstrapper"
|
||||||
clients = "1"
|
|
||||||
miners = "1"
|
|
||||||
balance = "2000"
|
|
||||||
sectors = "10"
|
|
||||||
random_beacon_type = "local-drand"
|
|
||||||
|
|
||||||
[[groups]]
|
[[groups]]
|
||||||
id = "miners"
|
id = "miners"
|
||||||
@ -37,12 +41,6 @@
|
|||||||
[groups.run]
|
[groups.run]
|
||||||
[groups.run.test_params]
|
[groups.run.test_params]
|
||||||
role = "miner"
|
role = "miner"
|
||||||
clients = "1"
|
|
||||||
miners = "1"
|
|
||||||
balance = "2000"
|
|
||||||
sectors = "10"
|
|
||||||
random_beacon_type = "local-drand"
|
|
||||||
|
|
||||||
|
|
||||||
[[groups]]
|
[[groups]]
|
||||||
id = "clients"
|
id = "clients"
|
||||||
@ -55,12 +53,6 @@
|
|||||||
[groups.run]
|
[groups.run]
|
||||||
[groups.run.test_params]
|
[groups.run.test_params]
|
||||||
role = "client"
|
role = "client"
|
||||||
clients = "1"
|
|
||||||
miners = "1"
|
|
||||||
balance = "2000"
|
|
||||||
sectors = "10"
|
|
||||||
random_beacon_type = "local-drand"
|
|
||||||
|
|
||||||
|
|
||||||
[[groups]]
|
[[groups]]
|
||||||
id = "drand"
|
id = "drand"
|
||||||
@ -70,4 +62,3 @@
|
|||||||
[groups.run]
|
[groups.run]
|
||||||
[groups.run.test_params]
|
[groups.run.test_params]
|
||||||
role = "drand"
|
role = "drand"
|
||||||
drand_period = "1s"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user