-
Notifications
You must be signed in to change notification settings - Fork 13
Testrunner
Tommie McAfee edited this page Mar 22, 2017
·
1 revision
Sequoia can be used to quickly spin up a clean set of containers for use with testrunner.
Prior to running this be sure to check out the testrunner submodule:
git submodule update --init --recursiveNow we can quickly run any test by passing the 'testrunner' arg to sequoia:
./sequoia testrunner -command \
"-i b/resources/4-nodes-template.ini -c conf/simple.conf"You can run this command as many times as you want and each time new containers will start.
If instead you wanted to manually run a testrunner test, simply provide the --exec option and you will have a debeugging environment to run your tests:
./sequoia testrunner \
-command "-i b/resources/4-nodes-template.ini -c conf/simple.conf" \
--execTo build a new testrunner image, run in exec mode, then do a commit + tag + push
./sequoia testrunner \
-command "-i b/resources/4-nodes-template.ini -c conf/simple.conf" \
--exec
git pull
docker commit 780ccd0e22ed # returns sha256:12e341ff1
docker tag 12e341ff1 sequoiatools/testrunner
docker push sequoiatools/testrunner