tokenbridge/deployment/molecule/TESTING.md
Przemyslaw Rzad 86fe89d3ec
Dockerized molecule (#132)
* Dockerized molecule

* Moved testing.md to subfolder.

* Updated readme

* Readme.
2019-07-08 09:15:17 +02:00

831 B

POA Token Bridge / Deployment Testing

The deployment playbooks are tested using Molecule.

Push remote branch

The deployment playbooks are cloning the monorepository on target hosts, using your current local git branch name. If the branch does not exists on remote, you need to push it.

git push

Alternatively, if there are no changes except the playbooks, you can use the master branch:

CIRCLE_BRANCH=master ./molecule.sh <scenario_name>

In this case master branch will be used as a codebase for Monitor, UI, Oracle and Contracts deployed by your local playbook.

Run the tests

CIRCLE_BRANCH=master ./molecule.sh <scenario_name>

Available scenarios:

Scenario Description
default Deploys oracle on Ubuntu host and checks some assertions