move rolling build config to composition file, not manifest

This commit is contained in:
Anton Evangelatov 2020-06-25 15:24:53 +02:00
parent fa224271a1
commit 8588cce4d5
2 changed files with 12 additions and 20 deletions

View File

@ -5,54 +5,48 @@
[global] [global]
plan = "lotus-soup" plan = "lotus-soup"
case = "lotus-baseline" case = "lotus-baseline"
total_instances = 3 total_instances = 6
builder = "docker:go" builder = "docker:go"
runner = "local:docker" runner = "local:docker"
[global.build_config]
enable_go_build_cache = true
[[groups]] [[groups]]
id = "bootstrapper" id = "bootstrapper"
[groups.resources]
memory = "120Mi"
cpu = "10m"
[groups.instances] [groups.instances]
count = 1 count = 1
percentage = 0.0 percentage = 0.0
[groups.run] [groups.run]
[groups.run.test_params] [groups.run.test_params]
role = "bootstrapper" role = "bootstrapper"
clients = "1" clients = "3"
miners = "1" miners = "2"
balance = "2000000000" balance = "2000000000"
sectors = "10" sectors = "10"
[[groups]] [[groups]]
id = "miners" id = "miners"
[groups.resources]
memory = "120Mi"
cpu = "10m"
[groups.instances] [groups.instances]
count = 1 count = 2
percentage = 0.0 percentage = 0.0
[groups.run] [groups.run]
[groups.run.test_params] [groups.run.test_params]
role = "miner" role = "miner"
clients = "1" clients = "3"
miners = "1" miners = "2"
balance = "2000000000" balance = "2000000000"
sectors = "10" sectors = "10"
[[groups]] [[groups]]
id = "clients" id = "clients"
[groups.resources]
memory = "120Mi"
cpu = "10m"
[groups.instances] [groups.instances]
count = 1 count = 3
percentage = 0.0 percentage = 0.0
[groups.run] [groups.run]
[groups.run.test_params] [groups.run.test_params]
role = "client" role = "client"
clients = "1" clients = "3"
miners = "1" miners = "2"
balance = "2000000000" balance = "2000000000"
sectors = "10" sectors = "10"

View File

@ -9,8 +9,6 @@ runner = "local:docker"
enabled = true enabled = true
build_base_image = "iptestground/oni-buildbase:v1" build_base_image = "iptestground/oni-buildbase:v1"
runtime_image = "iptestground/oni-runtime:v1" runtime_image = "iptestground/oni-runtime:v1"
enable_go_build_cache = true
skip_runtime_image = false
[runners."local:docker"] [runners."local:docker"]
enabled = true enabled = true