2020-06-24 10:52:23 +00:00
|
|
|
name = "lotus-soup"
|
|
|
|
extra_sources = { "exec:go" = ["../extra/filecoin-ffi"] }
|
|
|
|
|
|
|
|
[defaults]
|
|
|
|
builder = "docker:go"
|
|
|
|
runner = "local:docker"
|
|
|
|
|
|
|
|
[builders."docker:go"]
|
|
|
|
enabled = true
|
|
|
|
build_base_image = "iptestground/oni-buildbase:v1"
|
|
|
|
runtime_image = "iptestground/oni-runtime:v1"
|
|
|
|
enable_go_build_cache = true
|
|
|
|
skip_runtime_image = false
|
|
|
|
|
|
|
|
[runners."local:docker"]
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
[runners."cluster:k8s"]
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
[[testcases]]
|
|
|
|
name = "lotus-baseline"
|
|
|
|
instances = { min = 1, max = 100, default = 5 }
|
|
|
|
|
|
|
|
[testcases.params]
|
|
|
|
clients = { type = "int", default = 1 }
|
|
|
|
miners = { type = "int", default = 1 }
|
|
|
|
balance = { type = "int", default = 1 }
|
|
|
|
sectors = { type = "int", default = 1 }
|
|
|
|
role = { type = "string" }
|
2020-06-24 17:39:06 +00:00
|
|
|
|
2020-06-25 14:55:44 +00:00
|
|
|
random_beacon_type = { type = "enum", default = "mock", options = ["mock", "local-drand", "external-drand"] }
|
2020-06-24 17:39:06 +00:00
|
|
|
|
2020-06-25 14:55:44 +00:00
|
|
|
# Params relevant to drand nodes. drand nodes should have role="drand", and must all be
|
|
|
|
# in the same composition group. There must be at least threshold drand nodes.
|
|
|
|
# To get lotus nodes to actually use the drand nodes, you must set random_beacon_type="local-drand"
|
|
|
|
# for the lotus node groups.
|
2020-06-24 17:39:06 +00:00
|
|
|
drand_period = { type = "duration", default="10s" }
|
|
|
|
drand_threshold = { type = "int", default = 2 }
|
2020-06-25 14:55:44 +00:00
|
|
|
drand_gossip_relay = { type = "bool", default = true }
|