nimbus.mainnet: enable purging DB for even nodes

https://github.com/status-im/infra-nimbus/issues/98

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-08-10 22:34:21 +02:00
parent b207184ede
commit e3c203c815
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 9 additions and 4 deletions

View File

@ -13,7 +13,8 @@ beacon_node_era_symlink_path: '{{ nimbus_era_files_timer_enabled | ternary(nimbu
beacon_node_discovery_port: '{{ 9000 + idx }}'
beacon_node_listening_port: '{{ 9000 + idx }}'
beacon_node_metrics_port: '{{ 9200 + idx }}'
beacon_node_rest_port: '{{ 9300 + idx }}'
beacon_node_rest_port: '{{ beacon_node_rest_port_base + idx }}'
beacon_node_rest_port_base: 9300
# Firewall
beacon_node_firewall_libp2p_open: '{{ node.get("open_libp2p_ports", true) }}'
# Builds
@ -29,6 +30,10 @@ beacon_node_dist_validators_enabled: false
beacon_node_subscribe_all: true
# HTTP RPC support is unstable
beacon_node_web3_urls: '{{ beacon_node_web3_urls_all | reject("match", "^http://") }}'
# Periodic resync to save space
beacon_node_resync_timer_enabled: '{{ idx % 2 == 1 }}'
beacon_node_resync_timer_frequency: 'weekly'
beacon_node_resync_timer_trusted_api_url: 'http://localhost:{{ beacon_node_rest_port_base }}'
# Purge node DB periodically to test syncing.
nimbus_db_purge_node_service_name: '{{ beacon_node_service_name }}'

View File

@ -36,7 +36,7 @@
- name: oauth-proxy
src: git@github.com:status-im/infra-role-oauth-proxy.git
version: 121d5c05aee4bf59f3ab223c0f16ca368718baa3
version: ff690889d9ad55492ea3b346ad19345c2e9083a9
scm: git
- name: consul-service
@ -46,7 +46,7 @@
- name: infra-role-beacon-node-linux
src: git@github.com:status-im/infra-role-beacon-node-linux.git
version: 1e7e441a06dcbecdd6c0ce050dbffb28c462e7d8
version: aaa9c09a720ea1ff0dc52889e888fe45254c4366
scm: git
- name: infra-role-beacon-node-windows
@ -101,7 +101,7 @@
- name: systemd-timer
src: git@github.com:status-im/infra-role-systemd-timer.git
version: 4009905f62f6bd9e02ceb94346dd06ab2a06fc15
version: ddb42bd2d8b28d0f17f30a8ea2a1672d83714487
scm: git
- name: swap-file