tokenbridge/deployment
Przemyslaw Rzad 48efc618e4
Update deployment bridge (#37)
* Removed obsolete upgradable-wo-parity.

* Renamed deployment-bridge/bridge-nodejs to deployment-bridge/oracle

* Renamed deployment-bridge to deployment.

* Added linting to readme.

* Added linting.

* Migrated circle-ci to 2.1

* Revert "Migrated circle-ci to 2.1"

2ce36b1934c02e2c6900884ac932d6bfdbffc3cb

* Ansible-linting only bugs.

* Updated readme, finished ansible-lint.

* Fixed CI error.

* Verbose.

* Using differnt docker.

* Linting only bugs.

* Revert "Added linting to readme."

b5890b884750fe8a7ebe4c1c1361b2a60b1690f9

* Added readme for merging.
2019-05-10 14:04:20 +02:00
..
oracle Update deployment bridge (#37) 2019-05-10 14:04:20 +02:00
.gitignore Update deployment bridge (#37) 2019-05-10 14:04:20 +02:00
lint.sh Update deployment bridge (#37) 2019-05-10 14:04:20 +02:00
README.md Update deployment bridge (#37) 2019-05-10 14:04:20 +02:00

POA Token Bridge / Deployment

Ansible playbooks for deploying cross-chain bridges.

Overview

Please refer to the POA Token Bridge overview first of all.

These playbooks are designed to automate the deployment process for cross-chain bridges on bridge validator nodes. This process installs the bridge as a service and sets .env configurations on a remote server. Playbooks for the current token-bridge deployment are located in the bridge-nodejs folder.

Rust Bridge Playbooks

The Rust bridge is not currently in production, but an Ansible playbook is developed for this implementation. It is available in the upgradable-wo-parityfolder.

Dependencies

The playbooks automatically install Docker, docker-compose, Python, Gitand it dependencies (such as curl, ca-certificates, apt-transport-https, etc.). Install Ansible to launch playbooks.

Linting

yarn ansible-lint

Configuration

Please see the bridge-nodejs README for configuration and execution details.

Bridge service commands

The Bridge service is named poabridge. Use the default SysVinit commands to start, stop, restart, and rebuild the service and to check the status of the service.

Commands format:

sudo service poabridge [start|stop|restart|status|rebuild]

Contributing

See the CONTRIBUTING document for contribution, testing and pull request protocol.

License

License: LGPL v3.0

This project is licensed under the GNU Lesser General Public License v3.0. See the LICENSE file for details.