Commit Graph

48 Commits

Author SHA1 Message Date
Determinant 7591e93e08 remove go-plugin logging; use coreth 0.2.5 2020-06-23 17:36:20 -04:00
StephenButtolph cfd5256220 merged 2020-06-07 18:15:49 -04:00
Determinant 01f6a779fb finish the IP filter feature 2020-06-07 17:30:16 -04:00
Determinant d7f931cfe4 bump coreth version 2020-06-07 17:03:07 -04:00
Determinant 70ab3160ce make JSON-RPC local by default; add basic logging for C-Chain 2020-06-05 15:00:12 -04:00
StephenButtolph 0c42ca883c bump coreth version 2020-05-30 14:36:16 -04:00
Dan Laine e406d08aa4 add go mod support 2020-05-26 08:56:52 -04:00
StephenButtolph 47915da344 bumped timeout to 60s to support virtualized tests 2020-05-25 22:45:02 -04:00
StephenButtolph 858658a61f Updated cascade IPs 2020-05-25 17:57:22 -04:00
StephenButtolph ced58c7d2e set gopath correctly in the build script 2020-05-25 14:00:23 -04:00
StephenButtolph a016a290d3 removed salticidae env handling 2020-05-23 17:22:34 -04:00
StephenButtolph 34909f72f5 removed xputtests to get the build to pass 2020-05-18 14:57:31 -04:00
Stephen Buttolph b818b3c11f
Merge branch 'master' into bash-strict 2020-05-12 21:37:19 -04:00
StephenButtolph b96ff7099e Fixed test-inventory key location 2020-05-11 23:21:08 -04:00
StephenButtolph f820b48d96 Merge remote-tracking branch 'upstream/master' into go-signals 2020-05-11 21:58:25 -04:00
Alex Willmer fdff7839b3 build: Fail loudly if bash variables are unset, or a pipeline errors
These bash options increase the robustness of bash scripts, increasing
the chances that errors are spotted, instead of passing silently.

errexit was already enabled (by bash -e) if the scripts were invoked as

path/to/script.sh

However bash -e would not take effect if the script was invoked as

bash path/to/script.sh

The long form of the options is used to serve as an memory aide for
readers unfamiliar with bash options.
2020-05-11 20:48:02 +01:00
Stephen Buttolph 4bb2325c51
Merge branch 'master' into vms-avm-shutdown-locking 2020-05-08 13:37:25 -04:00
StephenButtolph c43d9f5b2f Cahgned kill_playbook to send proper signal 2020-05-07 12:04:04 -04: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
Alex Willmer db56cccd4c
Merge branch 'master' into vms-avm-shutdown-locking 2020-04-28 22:16:25 +01: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
Alex Willmer 95cca6f29c build: Reduce go test timeout to 30 seconds
The timeout was previously the go test default, 10 minutes
2020-04-19 13:48:36 +01: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