Commit Graph

30 Commits

Author SHA1 Message Date
Alex Willmer 99ca4a50af ansible: Add service_playbook.yml & supporting roles
This playbook

 - Installs Gecko dependencies
 - Clones & builds ava-build/gecko
 - Creates an ava user
 - Installs Gecko in /usr/bin
 - Creates and installs a staking certificate
 - Installs Gecko as a Systemd service called "ava"
 - Configures /var/lib/ava/db as the database
 - Configures /var/log/ava as the log destination
 - Starts the service
2020-05-09 23:01:23 +01:00
Alex Willmer bba45ed183 ansible: Add git defaults to ansible-build role 2020-05-09 22:52:04 +01:00
Stephen Buttolph 582236bd22
Merge branch 'master' into ansible-roles 2020-04-30 17:34:50 -04:00
Alex Willmer 383b363540 ansible: Factor out ava-start role
Also took the opportunity to
 - break the ava command over multiple lines, for cleaner diffs
 - quote the command line parameters, to handle potential whitespace

Due to how YAML collapses whitespace, the rendered command will not
contain any newline characters.
2020-04-30 22:14:39 +01:00
Alex Willmer 595fada412 ansible: Factor out ava-reset role 2020-04-30 22:14:00 +01:00
Alex Willmer 33f0201e23 ansible: Factor out ava-build role 2020-04-30 22:14:00 +01:00
Alex Willmer 4b7e0989d1 ansible: Factor out ava-stop role 2020-04-30 22:14:00 +01:00
Alex Willmer 6cfff89c1e ansible: Use native ping module 2020-04-30 21:58:25 +01:00
Alex Willmer f5d3142bea build: Add ansible-lint exceptions for pre-existing lint 2020-04-30 21:54:09 +01:00
Stephen Buttolph 34af9fb7f7
Merge branch 'master' into platformvm-proposal-accept 2020-04-28 19:35:13 -04:00
StephenButtolph e25e0356ba Added multiple inventories + bumped patch version 2020-04-28 16:09:47 -04:00
Dan Laine 592fb896ff check that binaries actually exist 2020-04-26 14:28:36 -04:00
Dan Laine 2e10a6517f add build successful msg 2020-04-23 17:55:05 -04:00
StephenButtolph 436972b928 Added kill script 2020-04-22 19:52:37 -04:00
StephenButtolph a3e3e5f21e changed ansible back to the testnet 2020-04-21 13:55:01 -04:00
StephenButtolph 14f178612e added plugin dir flag 2020-04-21 01:57:10 -04:00
StephenButtolph 6bcedf1d64 wip 2020-04-20 20:00:36 -04:00
Determinant 765bffecda use `checkout` 2020-04-19 18:24:32 -04:00
StephenButtolph a1e10c7332 Change coreth dependency to use tag 2020-04-19 18:19:05 -04:00
Determinant f3f55108b9 use salticidae-go v0.1.0 2020-04-19 18:08:08 -04:00
StephenButtolph 50fde3841c update ami 2020-04-18 23:45:18 -04:00
Stephen Buttolph 42baab2881
Move Geth to a plugin connected at runtime
* removed coreth + geth dependency for the C-chain, still have nat + crypto dependencies

* Added first past of nat traversal

* Removed go-eth dependency for secp256k1

* renamed db files to not repeat the package title

* Added rpcdb, untested

* Added rpcdb tests

* removed defer from loop

* cleaned up tests

* Started working on the rpc chain VM

* First pass of vm plugin support

* Added http over grpc

* added beta support for http handlers

* updated vms for the rpcvms

* Added error returns for factories

* Added EVM back to the genesis

* Added the EVM factory

* Added EVM aliasing, fixed nil pointer bugs during shutdown

* Added plugin folder

* Removed plugins folder, add default params for the plugin dir

* Added http RPC test

* Added cascade evm genesis

* Removed debug line

* removed more debug lines

* Cleaned up import statement

* Changed default plugin dir to ./plugins

* build evm plugin auto in the build script
2020-04-16 11:39:20 -04:00
StephenButtolph 4050be294b Updated ansible bootstraps + default params 2020-04-03 13:40:08 -04:00
StephenButtolph c814d42611 Finished adding snowball tests 2020-04-01 02:19:43 -04:00
StephenButtolph 69acc2bfff updated ansible args 2020-03-31 22:42:14 -04:00
StephenButtolph 4072408b73 Changed branch to cascade 2020-03-31 19:25:25 -04:00
StephenButtolph 2ab3886eb7 updated ansible 2020-03-31 19:22:00 -04:00
Alex Willmer a718b32c6a scripts: Add a hashbang, so aws create.py can be run directly 2020-03-29 16:42:01 +01:00
Alex Willmer bf1a94611e scripts: Use argparse for create.py arguments
This gives better feedback on what arguments are required

$ python3 scripts/aws/create.py
usage: create.py [-h] numBootstraps numNodes
create.py: error: the following arguments are required: numBootstraps,
numNodes

$ python3 scripts/aws/create.py -h
usage: create.py [-h] numBootstraps numNodes

Start a number of AVA nodes on Amazon EC2

positional arguments:
  numBootstraps
  numNodes

optional arguments:
  -h, --help     show this help message and exit
2020-03-29 16:39:51 +01:00
StephenButtolph b9e34e3b15 init repo 2020-03-10 15:20:34 -04:00