Commit Graph

63 Commits

Author SHA1 Message Date
Ș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