-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4995 from filecoin-project/lock-lotus-version-in-…
…testplan rename oni/lotus-soup imports to testplans/lotus-soup and go get lotus@master on trigger
- Loading branch information
Showing
17 changed files
with
321 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
ARG GO_VERSION=1.14.2 | ||
ARG GO_VERSION=1.15.6 | ||
|
||
FROM golang:${GO_VERSION}-buster | ||
|
||
RUN apt-get update && apt-get install -y ca-certificates llvm clang mesa-opencl-icd ocl-icd-opencl-dev jq gcc git pkg-config bzr libhwloc-dev | ||
|
||
ARG FILECOIN_FFI_COMMIT=1985275547f222e8c97a8ab70b5cc26bc1fa50b1 | ||
ARG FILECOIN_FFI_COMMIT=62f89f108a6a8fe9ad6ed52fb7ffbf8594d7ae5c | ||
ARG FFI_DIR=/extern/filecoin-ffi | ||
|
||
ARG BLST_COMMIT=1cbb16ed9580dcd3e9593b71221fcf2a048faaef | ||
ARG BLST_DIR=/extern/blst | ||
|
||
RUN mkdir -p ${FFI_DIR} \ | ||
&& git clone https://github.com/filecoin-project/filecoin-ffi.git ${FFI_DIR} \ | ||
&& cd ${FFI_DIR} \ | ||
&& git checkout ${FILECOIN_FFI_COMMIT} \ | ||
&& make | ||
|
||
RUN mkdir -p ${BLST_DIR} \ | ||
&& git clone https://github.com/supranational/blst.git ${BLST_DIR} \ | ||
&& cd ${BLST_DIR} \ | ||
&& git checkout ${BLST_COMMIT} | ||
|
||
RUN ldconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
testplans/lotus-soup/_compositions/baseline-docker-1-1.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[metadata] | ||
name = "lotus-soup" | ||
author = "" | ||
|
||
[global] | ||
plan = "lotus-soup" | ||
case = "deals-e2e" | ||
total_instances = 3 | ||
builder = "docker:go" | ||
runner = "local:docker" | ||
|
||
[global.build] | ||
selectors = ["testground"] | ||
|
||
[global.run_config] | ||
exposed_ports = { pprof = "6060", node_rpc = "1234", miner_rpc = "2345" } | ||
|
||
[global.build_config] | ||
enable_go_build_cache = true | ||
|
||
[global.run.test_params] | ||
clients = "1" | ||
miners = "1" | ||
genesis_timestamp_offset = "0" | ||
balance = "20000000" # These balances will work for maximum 100 nodes, as TotalFilecoin is 2B | ||
sectors = "10" | ||
random_beacon_type = "mock" | ||
mining_mode = "natural" | ||
|
||
[[groups]] | ||
id = "bootstrapper" | ||
[groups.instances] | ||
count = 1 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "bootstrapper" | ||
|
||
[[groups]] | ||
id = "miners" | ||
[groups.instances] | ||
count = 1 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "miner" | ||
|
||
[[groups]] | ||
id = "clients" | ||
[groups.instances] | ||
count = 1 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "client" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
[metadata] | ||
name = "lotus-soup" | ||
author = "" | ||
|
||
[global] | ||
plan = "lotus-soup" | ||
case = "deals-e2e" | ||
total_instances = 3 | ||
builder = "docker:go" | ||
runner = "cluster:k8s" | ||
|
||
[global.build] | ||
selectors = ["testground"] | ||
|
||
[global.run_config] | ||
exposed_ports = { pprof = "6060", node_rpc = "1234", miner_rpc = "2345" } | ||
|
||
[global.build_config] | ||
push_registry=true | ||
go_proxy_mode="remote" | ||
go_proxy_url="http://localhost:8081" | ||
registry_type="aws" | ||
|
||
[global.run.test_params] | ||
clients = "1" | ||
miners = "1" | ||
genesis_timestamp_offset = "0" | ||
balance = "20000000" # These balances will work for maximum 100 nodes, as TotalFilecoin is 2B | ||
sectors = "10" | ||
random_beacon_type = "mock" | ||
mining_mode = "natural" | ||
|
||
[[groups]] | ||
id = "bootstrapper" | ||
[groups.resources] | ||
memory = "512Mi" | ||
cpu = "1000m" | ||
[groups.instances] | ||
count = 1 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "bootstrapper" | ||
|
||
[[groups]] | ||
id = "miners" | ||
[groups.resources] | ||
memory = "4096Mi" | ||
cpu = "1000m" | ||
[groups.instances] | ||
count = 1 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "miner" | ||
|
||
[[groups]] | ||
id = "clients" | ||
[groups.resources] | ||
memory = "1024Mi" | ||
cpu = "1000m" | ||
[groups.instances] | ||
count = 1 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "client" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
[metadata] | ||
name = "lotus-soup" | ||
author = "" | ||
|
||
[global] | ||
plan = "lotus-soup" | ||
case = "deals-e2e" | ||
total_instances = 4 | ||
builder = "docker:go" | ||
runner = "cluster:k8s" | ||
|
||
[global.build] | ||
selectors = ["testground"] | ||
|
||
[global.run_config] | ||
exposed_ports = { pprof = "6060", node_rpc = "1234", miner_rpc = "2345" } | ||
|
||
[global.build_config] | ||
push_registry=true | ||
go_proxy_mode="remote" | ||
go_proxy_url="http://localhost:8081" | ||
registry_type="aws" | ||
|
||
[global.run.test_params] | ||
clients = "2" | ||
miners = "1" | ||
genesis_timestamp_offset = "0" | ||
balance = "20000000" # These balances will work for maximum 100 nodes, as TotalFilecoin is 2B | ||
sectors = "10" | ||
random_beacon_type = "mock" | ||
mining_mode = "natural" | ||
|
||
[[groups]] | ||
id = "bootstrapper" | ||
[groups.resources] | ||
memory = "512Mi" | ||
cpu = "1000m" | ||
[groups.instances] | ||
count = 1 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "bootstrapper" | ||
|
||
[[groups]] | ||
id = "miners" | ||
[groups.resources] | ||
memory = "4096Mi" | ||
cpu = "1000m" | ||
[groups.instances] | ||
count = 1 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "miner" | ||
|
||
[[groups]] | ||
id = "clients" | ||
[groups.resources] | ||
memory = "1024Mi" | ||
cpu = "1000m" | ||
[groups.instances] | ||
count = 2 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "client" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
[metadata] | ||
name = "lotus-soup" | ||
author = "" | ||
|
||
[global] | ||
plan = "lotus-soup" | ||
case = "deals-e2e" | ||
total_instances = 7 | ||
builder = "docker:go" | ||
runner = "cluster:k8s" | ||
|
||
[global.build] | ||
selectors = ["testground"] | ||
|
||
[global.run_config] | ||
exposed_ports = { pprof = "6060", node_rpc = "1234", miner_rpc = "2345" } | ||
|
||
[global.build_config] | ||
push_registry=true | ||
go_proxy_mode="remote" | ||
go_proxy_url="http://localhost:8081" | ||
registry_type="aws" | ||
|
||
[global.run.test_params] | ||
clients = "3" | ||
miners = "3" | ||
genesis_timestamp_offset = "0" | ||
balance = "20000000" # These balances will work for maximum 100 nodes, as TotalFilecoin is 2B | ||
sectors = "10" | ||
random_beacon_type = "mock" | ||
mining_mode = "natural" | ||
|
||
[[groups]] | ||
id = "bootstrapper" | ||
[groups.resources] | ||
memory = "512Mi" | ||
cpu = "1000m" | ||
[groups.instances] | ||
count = 1 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "bootstrapper" | ||
|
||
[[groups]] | ||
id = "miners" | ||
[groups.resources] | ||
memory = "4096Mi" | ||
cpu = "1000m" | ||
[groups.instances] | ||
count = 3 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "miner" | ||
|
||
[[groups]] | ||
id = "clients" | ||
[groups.resources] | ||
memory = "1024Mi" | ||
cpu = "1000m" | ||
[groups.instances] | ||
count = 3 | ||
percentage = 0.0 | ||
[groups.run] | ||
[groups.run.test_params] | ||
role = "client" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.