tokenbridge/deployment-e2e
2021-04-12 14:38:42 -06:00
..
molecule Add oracle service for remote shutdown (#531) 2021-04-12 14:38:42 -06:00
Dockerfile Remove rsync dependency (#213) 2019-09-16 18:34:42 +02:00
molecule.sh Migrate to GitHub actions (#423) 2020-09-02 17:43:48 +03:00
README.md Migrate to GitHub actions (#423) 2020-09-02 17:43:48 +03:00

POA TokenBridge / 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:

./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

./molecule.sh <scenario_name>

Available scenarios:

Scenario Description
oracle Deploys and checks standalone Oracle on Ubuntu host
ui Deploys and checks standalone UI on Ubuntu host

Ultimate E2E tests

For information on the Ultimate tests, please refer to Ultimate.