# README
Motion Devnet Integration Test Suite
This integration allows you to spin up a complete devnet including Lotus, Boost, Singularity, and Motion, in order to test round trip deal flow. It includes an integration test that covers all steps of a motion deal workflow, including storing to a filecoin provider and retrieving data back via trustless HTTP retrieval.
It's intended both as an integration test to run in CI, and a platform for developers to spin up test nets so they can try out new Motion features they are working on.
Command reference
All devnets are spun up with make
. Key commands:
make devnet/up
- will spin up a boost / lotus devnetmake motionlarity/up
- will spin up motion and singularity pre-configured to make deals with a lotus/boost devnet. if a lotus / boost devnet is not already spun up, this will spin one upmake test
- this will run the integration test on top of the motion/singularity/boost/lotus devnets. It will spin up all required networks that are not already runningmake motionalirity/down
-- this will shut down motion and singularity processesmake devnet/down
-- this will shut down the boost/lotus devnet. If singularity and motion processes running, it will shut them down as well
Using local singularity
Motion processes that are spun up with this test suite automatically use the code that is in the local repository on the current branch.
However, Singularity processes are by default spun up with a remote image. If you want to spin up Singularity using a local code repository as the base, you'll want to specify SINGULARITY_LOCAL_DOCKERFILE
as the path to your local singularity repo. For example, if you store your go repositories on the traditional go src folder hierarchy, you can use:
SINGULARITY_LOCAL_DOCKERFILE=../../../../data-preservation-programs/singularity make motionlarity/up