rayonism: deploy Geth node for steklo testnet

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

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-04-29 14:34:39 +02:00
parent ba8644873b
commit 1ce2b2c7fb
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,21 @@
---
# Geth node
geth_service_name: 'nimbus-steklo'
geth_cont_image: 'ethereum/client-go@sha256:ac3cbd85ba801989a263263b318f68f6342a373c26b2d949ca925846ec06980b'
geth_account_pass: '{{lookup("passwordstore", "service/Nimbus-Geth/password")}}'
geth_sync_mode: 'fast'
geth_init_enabled: true
geth_init_url: 'https://raw.githubusercontent.com/protolambda/steklo/92da84796d820855c8a42870f5ad2ad7e669527c/eth1_config.json'
geth_init_sha256: '7c826454da40b158f21124e9721ee5531e841b68d4888169f4227598d32b6e35'
geth_extra_flags:
- '--catalyst'
- '--miner.etherbase 0x6Afe05557279c2060937aE5559Fa6108405a83CC'
# Hack fix for `invalid peer config: light peer count (100) >= total peer count (0)`
- '--light.maxpeers=-1'
# WARNING: This is a hack to avoid providing network flag.
geth_network_name: 'mainnet'
# Beacon node
beacon_node_network: 'steklo'
beacon_node_cont_tag: 'qmerge-large'

18
ansible/rayonism.yml Normal file
View File

@ -0,0 +1,18 @@
---
- name: 'Verify Ansible versions'
hosts: all
run_once: true
connection: local
tags: always
gather_facts: false
tasks:
- local_action: command ./versioncheck.py
changed_when: false
- name: Configure rayonism node
become: true
# To avoid clashing/duplicate validators.
any_errors_fatal: true
hosts: 'nimbus.rayonism'
roles:
- { role: infra-role-geth, tags: infra-role-geth }

View File

@ -71,7 +71,7 @@
- name: infra-role-geth
src: git@github.com:status-im/infra-role-geth.git
version: 682b6ffeb3e6b1c713057d8497b32f60505c4f10
version: 27ff1d257bb3aeba1496de97b2a604eff40c3188
scm: git
- name: infra-role-geth-exporter