Commit Graph

132 Commits

Author SHA1 Message Date
Zahary Karadjov ac1072b4bb Add ./run-medalla-beacon-node script 2020-11-07 01:25:02 +02:00
Ștefan Talpalaru f3254fd754
dist: add version and book (#1965) 2020-11-06 17:26:03 +01:00
Ștefan Talpalaru c7d8b81c86 dist: add Medalla binary and starting script 2020-11-06 01:29:03 +02:00
Ștefan Talpalaru cde970c513
dist: build on Ubuntu 20.04 (LTS) (#1949)
And a new Make target: "dist-test" - it simply runs the beacon_node
binary produced by "make dist", with "--help", inside a Debian Bullseye
image.
2020-11-04 00:46:23 +01:00
Zahary Karadjov 14b2d4324d openarray -> openArray 2020-11-03 23:23:10 +02:00
Ștefan Talpalaru 1ae3fb90ba
Linux AMD64 binary distribution (#1844)
* Linux AMD64 binary distribution

The builds are reproducible, as long as our base Docker Hub image
remains available.

tl;dr: `make dist`

* use UTC dates
2020-10-15 12:19:41 +00:00
Zahary Karadjov 10cfd1ec37 Adds the Spedina testnet; Upgrades the spec presets to spec v0.12.3
Other changes:

* Removed all references to Altona
* Refactored the Makefile to avoid code duplication
2020-09-22 18:51:51 +03:00
Viktor Kirilov d9f9949ef0 use a separate process for the private keys (Off by default) - there is a new signing_process binary which loads all validators of the beacon node and the BN dictates through stdin of the signing process what to be signed and when and reads from stdout of the process 2020-09-02 12:47:00 +03:00
Ștefan Talpalaru 0654e3daaf
entry_point.sh: account for local modifications 2020-08-04 03:12:42 +02:00
Ștefan Talpalaru 7b5411a86e
Medalla-related changes [skip ci] (#1419) 2020-08-03 23:58:13 +02:00
Zahary Karadjov d58668157a Use consistent naming for the synonyms 'deposits-dir' and 'validators-dir' 2020-08-02 23:00:43 +03:00
Ștefan Talpalaru 88a9629c2b
bump submodules 2020-07-14 03:01:23 +02:00
Ștefan Talpalaru 476568ac59 add "--web3-url" option [skip ci] 2020-07-11 19:00:19 +03:00
Ștefan Talpalaru 61c6926263 fix docker/shared_testnet/entry_point.sh [skip ci] 2020-07-11 19:00:19 +03:00
Zahary Karadjov 87928e0069
Documentation; 'deposits create' can now ask for a private key 2020-07-10 18:18:14 +03:00
Ștefan Talpalaru c9883dc05b
shared_testnet: more docs 2020-07-01 15:28:35 +02:00
Ștefan Talpalaru 3cd14c44e6
docker/shared_testnet/altona_validators.sh 2020-06-29 17:22:36 +02:00
Ștefan Talpalaru 6c31b3f01c
shared_testnet/entry_point.sh: "--network" option 2020-06-29 15:10:49 +02:00
Ștefan Talpalaru b10920bcd0
shared_testnet: docs 2020-06-29 13:38:26 +02:00
Ștefan Talpalaru 41a4e47857
shared_testnet: lower RAM usage during build 2020-06-28 21:41:00 +02:00
Ștefan Talpalaru c78486240e
shared_testnet: support newlines in options 2020-06-28 18:18:49 +02:00
Ștefan Talpalaru 2cf0cbddf9
shared_testnet: support old getopt 2020-06-28 04:38:11 +02:00
Ștefan Talpalaru d85ae34245
shared_testnet: validator creation [skip ci] 2020-06-28 03:51:00 +02:00
Ștefan Talpalaru 66a9ff7be1
Dockerfile: beacon_node needs SIGINT to shut down gracefully 2020-06-27 20:14:36 +02:00
Ștefan Talpalaru c0c1a7164b
odocker/shared_testnet/README.md: formatting 2020-06-27 02:08:15 +02:00
Ștefan Talpalaru 12d58d30fc
docker/shared_testnet/README.md: more commands 2020-06-27 02:06:59 +02:00
Ștefan Talpalaru f78314e43e
shared_testnet: fix Dockerfile 2020-06-26 23:42:02 +02:00
Ștefan Talpalaru 675024a989
new Docker image for shared testnets 2020-06-26 17:26:18 +02:00
Ștefan Talpalaru f3a8666bb3
run 6 nodes per testnet [skip ci] 2020-06-22 21:51:47 +02:00
Zahary Karadjov fdaf419e41 Address review comments 2020-06-11 17:40:08 +03:00
Zahary Karadjov e3378e52ac Distribute the keystore secret files to the testnet hosts 2020-06-11 17:40:08 +03:00
Zahary Karadjov a8113cf2bc Restore the local sim to a working state 2020-06-11 17:40:08 +03:00
Ștefan Talpalaru 3a6a9f8135 generate Grafana dashboards for remote testnet nodes 2020-06-03 12:44:16 +03:00
Ștefan Talpalaru 04045ae943
Dockerfile: cleanup 2020-05-21 18:22:03 +02:00
Ștefan Talpalaru 0df191b559
Docker fix 2020-05-20 16:38:20 +02:00
Ștefan Talpalaru 46a99c35f0
bump vendor/nimbus-build-system 2020-05-20 15:55:31 +02:00
Ștefan Talpalaru 96431bfd86
post-merge fixes 2020-04-08 23:09:52 +02:00
Ștefan Talpalaru b574799088
Merge branch 'devel' 2020-04-08 22:54:18 +02:00
Ștefan Talpalaru 9fb1fd4a5c
add --compatibility to accept cpu/mem limits
For more details see:
https://github.com/status-im/infra-nimbus/issues/12
2020-03-26 19:07:19 +01:00
Zahary Karadjov 64fbad1efa Some build fixes required for pushing testnet0 2020-03-23 16:13:11 +02:00
Zahary Karadjov 91888874d8 [skip ci] remove an obsolete comment 2020-03-23 14:59:33 +02:00
Zahary Karadjov 232d07467f Remove the run_in_docker wrapper script 2020-03-23 14:59:33 +02:00
Zahary Karadjov d7c36a677e Remove p2pd from the build recipes 2020-03-23 14:59:33 +02:00
Ștefan Talpalaru 532fac69f3
manage_testnet_hosts.nims: sometimes containers cannot be stopped
because they are not running
2020-02-26 17:59:31 +01:00
Ștefan Talpalaru fbb16d8aa3
bump vendor/nim-libbacktrace 2020-02-20 22:06:40 +01:00
Ștefan Talpalaru 7d774b908a
Dockerfile changes 2020-02-13 19:17:58 +01:00
Ștefan Talpalaru 06322385d9
lightweight stack traces
- plus some light test runner refactoring and some Makefile cosmetic changes
- compile tools with LOG_LEVEL=TRACE in CI
- bump a couple of submodules
2020-02-13 17:54:53 +01:00
Ștefan Talpalaru e54f738715
testnets: replace watchtower with direct container management [skip ci] 2020-02-11 17:45:52 +01:00
Ștefan Talpalaru 6007b01d47
testnet: don't use -march=native when building the Docker image [skip ci]
(because we run that Docker image both locally and remotely, we can't
use the server's "-march" either)
- reduce the genesis offset to 5 minutes
2020-02-09 03:22:42 +01:00
Stefan Talpalaru 662debf008
testnet: change remote log level to TRACE 2020-02-06 17:51:45 +01:00
Ștefan Talpalaru 0aaf8a7555
docker/Makefile: mark phony targets [skip ci] 2020-01-29 12:01:41 +01:00
Zahary Karadjov b1c247fa4a
Change the testnet servers domain names 2020-01-28 22:28:52 +02:00
Jacek Sieka 2a67ac3c05 trie -> kv store
* simplify data storage to key-value, tries are not relevant for NBC
* locked-down version of lmdb dependency
* easier to build / maintain on various platforms
2020-01-20 13:39:37 +00:00
Zahary Karadjov a641331448
Reduce the sync-related tracing in the testnets [skip ci] 2019-12-03 13:07:43 +02:00
Zahary Karadjov 897176761d
even more tracing for testnet1 [skip ci] 2019-11-27 11:21:45 +02:00
Zahary Karadjov 7617e293a9 Make testnet1 identical to testnet0 2019-11-26 02:45:25 +02:00
Jacek Sieka fd4de5de0f
start untangling beaconnode (#589)
* Move BeaconNode type to its own file (fewer imports)
* disentangle sync protocol/request manager
* fix some old nimisms
* de-fear some logs
* simplify eth1 data production
* add stack tracing to release builds
* drop release compile flag for testnet
2019-11-25 15:36:25 +01:00
Ștefan Talpalaru 8f60f3c031 testnet: switch to a debug build [skip ci]
so we can see stack traces in the logs
2019-11-20 13:53:24 +00:00
Zahary Karadjov 67991065d6
Cache the Nim build in docker; Use unique keys for the testnet bootstrap nodes 2019-11-19 02:05:46 +02:00
Ștefan Talpalaru f4273f7b89 Docker changes [skip ci]
- use a Debian Bullseye image
- use the distro's packages whenever possible
- cache as much as possible of the Git repos and tool binaries locally
- restrict Docker image pushing to specific branches; no build
  restrictions, to allow for easy development
2019-11-18 18:09:23 +00:00
Zahary Karadjov 9af418c30d
Bugfix: the testnet nim flags were not being passed to Docker properly [skip ci] 2019-11-13 01:28:00 +00:00
Zahary Karadjov f40675509a Make all testnet env file values optional [skip CI]
Also removes some usages of SHARD_COUNT
2019-11-12 23:43:38 +00:00
Zahary Karadjov 5a6a8e9520 Finalizing setup for testnet1; Auto-restart of the docker containers after testnet resets 2019-11-12 19:08:12 +00:00
Zahary Karadjov 47940928a6
Reduce compilation differences between client and server nodes 2019-11-11 23:30:21 +00:00
Zahary Karadjov ac5aabd569 Use the latest confutils 2019-11-11 23:29:36 +00:00
Zahary Karadjov 627b60dc10 Use 4 validating nodes in testnet0 2019-11-11 23:29:36 +00:00
Zahary Karadjov 13068c6b57 Safer testnet resets
* Delete the node database on all containers when resetting a testnet
* Add a simple mechanism for switching the URL of the eth2-testnets repo
* More flexible code for validator assignments
2019-11-11 23:29:36 +00:00
Ștefan Talpalaru e8a64e4206
Dockerfile: less verbosity, faster build [skip ci] 2019-11-07 02:32:59 +01:00
Zahary Karadjov 14374504cf
Finalization experiements
* Switched to FloodSub
* Testnet0 switched to the minimal preset. All validators deployed on the master node.
2019-11-05 03:13:16 +02:00
Zahary Karadjov 8124dbb93c
Remove the --nat:none forcing in Docker 2019-11-01 17:15:53 +02:00
Zahary Karadjov efa6d2d08e
Fix some obsolete paths and delete obsolete scripts 2019-10-29 19:16:32 +02:00
Zahary Karadjov 1ef9f458ac
Remove hard-coded variables from the manage_testnet_hosts script 2019-10-29 19:16:32 +02:00
Zahary Karadjov 3da4d4f23a
Remove some obsolete code 2019-10-29 19:16:32 +02:00
Zahary Karadjov f5fb4277b4
Testnet reset script fixes 2019-10-29 19:16:32 +02:00
Zahary Karadjov f7eb924518
Fix a mysterious Makefile issue
The GIT_REVISION variable was being set to "" by default.
2019-10-29 02:54:40 +02:00
Zahary Karadjov 34737b48f0
Allow enabling the metrics in the docker builds 2019-10-29 02:37:36 +02:00
Zahary Karadjov ba0037738b
Removed all code related to the old network metadata files
Also switched to a more "standard" naming convention for the
command-line parameters.
2019-10-29 01:04:52 +02:00
Zahary Karadjov d3f88929da Integrate nim-prompt 2019-10-07 23:56:34 +09:00
Zahary Karadjov df7531f9bf
More testnet scripts fixes cherry-picked from the interop branch 2019-09-26 19:07:38 +03:00
Zahary Karadjov 0eaa433e84
Automated scripts for resetting the Status testnets
For detailed instructions, please see

https://github.com/status-im/nimbus-private/blob/master/testnets-maintenance.md
2019-09-26 18:58:51 +03:00
Zahary Karadjov e59bb6ecab
Switch testnet1 to the minimal preset, so it's compatible with interop clients 2019-09-26 18:58:51 +03:00
Zahary Karadjov d1b1ecf86b
Add docker build scripts 2019-09-10 12:19:03 -04:00