Commit Graph

345 Commits

Author SHA1 Message Date
vyzo
2bfbc6a314
Merge pull request #55 from filecoin-project/fix/bug
use the role map, luke!
2020-06-24 14:07:21 +03:00
vyzo
0e924edf0e use the role map, luke! 2020-06-24 14:02:20 +03:00
vyzo
448bbf3710
generic test plan scaffolding, with baseline plan (#39)
* test plan scaffolding

* generify the testplan role dispatch

* manifest.toml

* initial go.mod and go.sum

* correct name

* gomod: update from build

* node construction in scaffolding

* fix test runner return type

* remove offending comments

* add initial composition, and fix context bug

* debug lines

* check errors from node construction

* specify Repo after Online option

* add power/proof type initialization code

* fix baseline composition

* use new docker-images (build/run) introduced in the #48 PR

* upgrade go-sdk to master (#51)

* fix types for run.InvokeMap

* fix miner actor sequence address

* explictly specify listen address for nodes on the data network

* make a separate full node for the miner

* initialize the wallet for the full node before creating the storage node

* go mod tidy

* also set the listen address for the miner node

* circleci to build the soup testplan

* extract topics

* test runner: pass the role map to doRun for generic runner

* use a wrapper TestEnvironment to encapsulate the runenv and initCtx

* embed RunEnv and InitContext into TestEnvironment for better ergonomics

* remove empty import

* extract stateReady

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
2020-06-24 12:52:23 +02:00
Raúl Kripalani
1907fe2a91
update team in README.md. 2020-06-23 20:00:14 +01:00
Anton Evangelatov
021c0386f8
add circleci build job (#52) 2020-06-23 19:59:39 +01:00
Yusef Napora
f72616981e
Merge pull request #43 from filecoin-project/feat/composer
Add "composer" configuration UI
2020-06-23 11:20:47 -04:00
Anton Evangelatov
6eddd62a73 handle get_host_ip on macos 2020-06-23 10:02:05 -04:00
Anton Evangelatov
306efa66c7 random fixes 2020-06-23 10:02:05 -04:00
Yusef Napora
0bfaa46ce7 add readme 2020-06-23 10:02:05 -04:00
Yusef Napora
91b9cdfae5 make sure each group gets its own param objects 2020-06-23 10:02:05 -04:00
Yusef Napora
6f12d797d2 stringify test params 2020-06-23 10:02:05 -04:00
Yusef Napora
86a4d6f607 allow renaming groups via ui 2020-06-23 10:02:05 -04:00
Yusef Napora
a60a4c507a fix groups for existing compositions 2020-06-23 10:02:05 -04:00
Yusef Napora
7bbde459f3 refactor groups ui 2020-06-23 10:02:05 -04:00
Yusef Napora
4a961401fc set default builder & runner from manifest 2020-06-23 10:02:05 -04:00
Yusef Napora
9eab4cfa0d new composition flow working e2e, some rough edges 2020-06-23 10:02:05 -04:00
Yusef Napora
92409c321c skip docker build if SKIP_BUILD is set 2020-06-23 10:02:05 -04:00
Yusef Napora
9e348c049b test runner working in docker 2020-06-23 10:02:05 -04:00
Yusef Napora
c9dbf908b5 build testground and copy to run image 2020-06-23 10:02:05 -04:00
Yusef Napora
202cdda358 update global config with manifest 2020-06-23 10:02:05 -04:00
Yusef Napora
6eae66728b create new composition or load existing 2020-06-23 10:02:05 -04:00
Yusef Napora
e262320348 launch panel server from docker 2020-06-23 10:02:05 -04:00
Yusef Napora
9323fd896a wip, jupyter in docker 2020-06-23 10:02:00 -04:00
Raúl Kripalani
f29141b855
simplify the docker build base and runtime images + remove the go.rice trickery (#48)
* adjust the prototype for building oni test plans.

- We no longer clone the entire lotus codebase.
- We only clone and build the ffi module in the build image.
- The runtime image no longer builds the ffi module.
- The runtime image uses go-paramfetch to fetch the parameters
  (which are not expected to change).
- We use filecoin-project/lotus#2097 to not have to deal with
  go.rice trickery for things we don't actually need to use.

* add filecoin-ffi submodule (commit ca281af); fix replace directive.

* remove stale file.

* tag build base images.

* fix build.sh.

* delete filecoin-ffi submodule from root.

* add filecoin-ffi submodule under extra/filecoin-ffi.

* adjust everything to use extra sources TG feature.
2020-06-23 15:20:47 +02:00
Anton Evangelatov
6f8706818d
move docker images (#47) 2020-06-22 19:14:45 +02:00
Anton Evangelatov
512915b4c9
use runtime image for lotus testplans (#35)
* use runtime image

* no need to compile with `make 2k`

* use new go-sdk /2 (#36)

* use new go-sdk

* use custom runtime image (#38)

* improve runtime image

* remove redundant runners

* enable go build cache

* remove replace lotus directive

* add git clone for lotus as part of manifest.toml

* use base build image

* compile `lotus-testground` on `current master` from Lotus (#41)

* automated scripts to build/push base build and runtime images

* go mod tidy and new version of lotus in manifest

* fix types

* fix storage miner (#42)

* fix storage miner

* update runtime image to ubuntu
2020-06-22 17:17:42 +02:00
Anton Evangelatov
c176f24d05
correct commit (#34) 2020-06-18 15:52:29 +02:00
Anton Evangelatov
087e60299b
Merge pull request #30 from filecoin-project/lotus-testground-initial
testplan instantiating lotus nodes in-memory
2020-06-18 14:54:44 +02:00
Anton Evangelatov
73c5153ef1 lock version for lotus, that testplan compiles with 2020-06-18 14:05:11 +02:00
Anton Evangelatov
2863b5a8c6 remove Dockerfile 2020-06-17 19:05:30 +02:00
Anton Evangelatov
1b92795d93 remove Makefile 2020-06-17 19:05:00 +02:00
Anton Evangelatov
3cc6fb6c6e compile and run lotus net with docker:go 2020-06-17 19:02:04 +02:00
Anton Evangelatov
3ca1593919 build with docker:generic 2020-06-17 18:17:28 +02:00
Anton Evangelatov
6f4599be9a initial commit 2020-06-17 16:36:11 +02:00
Raúl Kripalani
4b6a677b57
test scenario request issue template: fix markup. 2020-06-11 14:44:30 +01:00
Raúl Kripalani
6e9dbf4c18 Add "Test scenario request" issue template 2020-06-11 14:42:27 +01:00
Raúl Kripalani
3d891e26dd
add declarative labels to repo. (#6) 2020-06-11 13:17:16 +01:00
Raúl Kripalani
139f7f6322 add a notes folder. 2020-06-11 11:02:41 +01:00
Rob Matarangas
a5e4bf63c5
Delete label-syncer.yml 2020-06-10 16:29:07 -07:00
Rob Matarangas
2af3fd4a8c
Merge pull request #3 from filecoin-project/Robmat05-patch-2
insert discomfort labels.yml
2020-06-10 16:01:34 -07:00
Rob Matarangas
69ae58f7ba
Create labels.yml 2020-06-10 16:00:35 -07:00
Rob Matarangas
7e7b19b904
Merge pull request #2 from filecoin-project/Robmat05-patch-1
Create label-syncer.yml
2020-06-10 15:37:49 -07:00
Rob Matarangas
f4e6231358
Create label-syncer.yml
Installing Labeler workflow
2020-06-10 15:37:32 -07:00
Raúl Kripalani
0c909251aa
Update README.md 2020-06-10 21:04:31 +01:00
Raúl Kripalani
2ef46a3165
Initial commit 2020-06-09 14:19:25 +01:00