Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
update everything
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Aug 15, 2023
1 parent 7e4beeb commit ea3cf06
Show file tree
Hide file tree
Showing 33 changed files with 66,783 additions and 66,573 deletions.
2 changes: 1 addition & 1 deletion ansible/cleanup_ethereum.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- hosts: all
- hosts: all,!localhost
serial: "{{ batch_count | default('100%') }}"
become: true
tasks:
Expand Down
4 changes: 2 additions & 2 deletions ansible/inventories/devnet-8/group_vars/all/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ ethstats_secret: "{{ secret_ethstats }}"
# ╚═╝░░╚═╝░╚════╝░╚══════╝╚══════╝  ░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═════╝░

# role: ethpandaops.general.ethereum_genesis
ethereum_genesis_generator_container_image: "ethpandaops/ethereum-genesis-generator:1.3.3"
ethereum_genesis_generator_container_image: "ethpandaops/ethereum-genesis-generator:1.3.4"
ethereum_genesis_generator_version: "{{ ethereum_genesis_generator_container_image.split(':')[-1] }}"
ethereum_genesis_network_seed: "{{ ansible_inventory_sources[0] }}"
ethereum_genesis_chain_id: 7011893058
ethereum_genesis_generator_output_dir: "../network-configs/{{ ethereum_network_name | replace('dencun-', '') }}"
ethereum_genesis_timestamp: 1692095400
ethereum_genesis_timestamp: 1692099000
ethereum_genesis_timedelay: 60
ethereum_genesis_timestamp_relative_cmd:
Linux: "date +%s -d '+45 minutes'"
Expand Down
1 change: 1 addition & 0 deletions ansible/inventories/devnet-8/group_vars/besu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ bootstrap_default_user_authorized_keys_github_team_el:
ethereum_node_el: besu

# role: ethpandaops.general.besu
besu_container_name: execution
besu_container_image: "{{ default_ethereum_client_images.besu }}"
besu_container_env:
VIRTUAL_HOST: "{{ ethereum_node_rcp_hostname }}"
Expand Down
6 changes: 3 additions & 3 deletions ansible/inventories/devnet-8/group_vars/bootnode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ bootstrap_default_user_authorized_keys_github_team_el:
ethereum_node_el: geth

# role: ethpandaops.general.geth
geth_container_name: execution
geth_container_image: "{{ default_ethereum_client_images.geth }}"
geth_container_env:
VIRTUAL_HOST: "{{ ethereum_node_rcp_hostname }}"
Expand All @@ -48,7 +49,6 @@ geth_container_command_extra_args:
- --http.vhosts=*
- --networkid={{ ethereum_network_id }}
- --syncmode=full
- --bootnodes={{ ethereum_el_bootnodes | join(',') }}
- --ethstats={{ inventory_hostname }}:{{ ethstats_secret }}@{{ ethstats_url }}
geth_init_custom_network: true
geth_init_custom_network_genesis_file: "{{ eth_testnet_config_dir }}/genesis.json"
Expand Down Expand Up @@ -78,6 +78,7 @@ validator_bls_sync_files:
ethereum_node_cl: teku

# role: ethpandaops.general.teku
teku_container_name: beacon
teku_container_image: "{{ default_ethereum_client_images.teku }}"
teku_container_env:
VIRTUAL_HOST: "{{ ethereum_node_beacon_hostname }}"
Expand All @@ -91,11 +92,10 @@ teku_container_volumes:
teku_container_command_extra_args:
- --network=/network-config/config.yaml
- --initial-state=/network-config/genesis.ssz
- --p2p-discovery-bootnodes={{ ethereum_cl_bootnodes | join(',') }}
- --p2p-peer-upper-bound=100
- --data-storage-non-canonical-blocks-enabled=true
- --data-storage-mode=PRUNE
- --validators-graffiti={{ ethereum_node_cl }}/{{ ethereum_node_el }}
- --validators-graffiti=bootnode-{{ ethereum_node_cl }}/{{ ethereum_node_el }}
- --logging=info
- --Xlog-include-p2p-warnings-enabled
- --metrics-block-timing-tracking-enabled
Expand Down
1 change: 1 addition & 0 deletions ansible/inventories/devnet-8/group_vars/erigon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ bootstrap_default_user_authorized_keys_github_team_el:
ethereum_node_el: erigon

# role: ethpandaops.general.erigon
erigon_container_name: execution
erigon_container_image: "{{ default_ethereum_client_images.erigon }}"
erigon_container_env:
VIRTUAL_HOST: "{{ ethereum_node_rcp_hostname }}"
Expand Down
5 changes: 5 additions & 0 deletions ansible/inventories/devnet-8/group_vars/ethereumjs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ bootstrap_default_user_authorized_keys_github_team_el:
ethereum_node_el: ethereumjs

# role: ethpandaops.general.ethereumjs
ethereum_node_fact_discovery_el_enode_cmd:
ethereumjs: cat /data/ethereumjs/genesis/rlpx
ethereumjs_container_name: execution
ethereumjs_container_image: "{{ default_ethereum_client_images.ethereumjs }}"
ethereumjs_container_env:
VIRTUAL_HOST: "{{ ethereum_node_rcp_hostname }}"
Expand All @@ -25,4 +28,6 @@ ethereumjs_container_command_extra_args:
- --maxPeers=75
- --isSingleNode=true
- --logLevel=debug


#- --trustedSetup=/network-config/trusted_setup.txt
1 change: 1 addition & 0 deletions ansible/inventories/devnet-8/group_vars/geth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ bootstrap_default_user_authorized_keys_github_team_el:
ethereum_node_el: geth

# role: ethpandaops.general.geth
geth_container_name: execution
geth_container_image: "{{ default_ethereum_client_images.geth }}"
geth_container_env:
VIRTUAL_HOST: "{{ ethereum_node_rcp_hostname }}"
Expand Down
2 changes: 2 additions & 0 deletions ansible/inventories/devnet-8/group_vars/lighthouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ validator_bls_sync_files:
ethereum_node_cl: lighthouse

# role: ethpandaops.general.lighthouse
lighthouse_container_name: beacon
lighthouse_container_image: "{{ default_ethereum_client_images.lighthouse }}"
lighthouse_container_env:
VIRTUAL_HOST: "{{ ethereum_node_beacon_hostname }}"
Expand All @@ -43,6 +44,7 @@ lighthouse_container_command_extra_args:
- --self-limiter=blob_sidecars_by_range:512/10
- --debug-level=debug
#- --checkpoint-sync-url=https://{{secret_nginx_shared_basic_auth.name}}:{{secret_nginx_shared_basic_auth.password}}@bn.teku-nethermind-1.srv.dencun-devnet-7.ethpandaops.io
lightouse_validator_container_name: validator
lighthouse_validator_container_volumes:
- "{{ lighthouse_validator_datadir }}:/validator-data"
- "{{ eth_testnet_config_dir }}:/network-config:ro"
Expand Down
3 changes: 3 additions & 0 deletions ansible/inventories/devnet-8/group_vars/lodestar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ validator_bls_sync_files:
ethereum_node_cl: lodestar

# role: ethpandaops.general.lodestar
lodestar_container_name: beacon
lodestar_container_image: "{{ default_ethereum_client_images.lodestar }}"
lodestar_container_env:
VIRTUAL_HOST: "{{ ethereum_node_beacon_hostname }}"
Expand All @@ -42,6 +43,8 @@ lodestar_container_command_extra_args:
- --nat=true
#- --chain.trustedSetup=/network-config/trusted_setup.txt
#- --checkpointSyncUrl=https://{{secret_nginx_shared_basic_auth.name}}:{{secret_nginx_shared_basic_auth.password}}@bn.teku-nethermind-1.srv.dencun-devnet-7.ethpandaops.io

lodestar_validator_container_name: validator
lodestar_validator_container_volumes:
- "{{ lodestar_validator_datadir }}:/validator-data"
- "{{ eth_testnet_config_dir }}:/network-config:ro"
Expand Down
1 change: 1 addition & 0 deletions ansible/inventories/devnet-8/group_vars/nethermind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ bootstrap_default_user_authorized_keys_github_team_el:
ethereum_node_el: nethermind

# role: ethpandaops.general.nethermind
nethermind_container_name: execution
nethermind_container_image: "{{ default_ethereum_client_images.nethermind }}"
nethermind_container_env:
VIRTUAL_HOST: "{{ ethereum_node_rcp_hostname }}"
Expand Down
2 changes: 1 addition & 1 deletion ansible/inventories/devnet-8/group_vars/nimbus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ validator_bls_sync_files:

# role: ethpandaops.general.ethereum_node
ethereum_node_cl: nimbus

nimbus_container_name: beacon
# role: ethpandaops.general.nimbus
# Checkpointsync
nimbus_checkpoint_sync_enabled: false
Expand Down
2 changes: 2 additions & 0 deletions ansible/inventories/devnet-8/group_vars/prysm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ validator_bls_sync_files:
ethereum_node_cl: prysm

# role: ethpandaops.general.prysm
prysm_container_name: beacon
prysm_container_image: "{{ default_ethereum_client_images.prysm }}"
prysm_container_env:
VIRTUAL_HOST: "{{ ethereum_node_beacon_hostname }}"
Expand Down Expand Up @@ -52,6 +53,7 @@ prysm_container_command_extra_simple_args:
prysm_container_command_extra_bootnode_args: >-
{{ ethereum_cl_bootnodes | map('regex_replace', '^', '--bootstrap-node=') | list }}
prysm_validator_container_name: validator
prysm_validator_container_image: "{{ prysm_container_image }}"
prysm_validator_container_volumes:
- "{{ prysm_validator_datadir }}:/validator-data"
Expand Down
1 change: 1 addition & 0 deletions ansible/inventories/devnet-8/group_vars/reth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ bootstrap_default_user_authorized_keys_github_team_el:
ethereum_node_el: reth

# role: ethpandaops.general.reth
reth_container_name: execution
reth_container_image: "{{ default_ethereum_client_images.reth }}"
reth_container_env:
VIRTUAL_HOST: "{{ ethereum_node_rcp_hostname }}"
Expand Down
1 change: 1 addition & 0 deletions ansible/inventories/devnet-8/group_vars/teku.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ validator_bls_sync_files:
ethereum_node_cl: teku

# role: ethpandaops.general.teku
teku_container_name: beacon
teku_container_image: "{{ default_ethereum_client_images.teku }}"
teku_container_env:
VIRTUAL_HOST: "{{ ethereum_node_beacon_hostname }}"
Expand Down
120 changes: 0 additions & 120 deletions ansible/inventories/devnet-8/inventory.ini

This file was deleted.

54 changes: 27 additions & 27 deletions ansible/playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@
- role: ethpandaops.general.ethereum_genesis
tags: [ethereum_genesis]

- import_playbook: ethpandaops.general.bootstrap_server
vars:
target: "all:!localhost"
tags: [init-server, bootstrap]
# - import_playbook: ethpandaops.general.bootstrap_server
# vars:
# target: "all:!localhost"
# tags: [init-server, bootstrap]

- hosts: all:!localhost
serial: "{{ batch_count | default('100%') }}"
become: true
roles:
# - role: robertdebock.fail2ban
# tags: [init-server, fail2ban]
- role: geerlingguy.docker
tags: [init-server, docker]
- role: geerlingguy.pip
pip_install_packages:
- name: docker
- name: docker-compose
tags: [init-server, pip]
- role: ethpandaops.general.docker_cleanup
tags: [init-server, docker_cleanup]
- role: ethpandaops.general.docker_network
tags: [init-server, docker_network]
- role: ethpandaops.general.node_exporter
tags: [init-server, node_exporter]
- role: ethpandaops.general.prometheus
tags: [init-server, prometheus]
- role: ethpandaops.general.vector
tags: [init-server, vector]
# - hosts: all:!localhost
# serial: "{{ batch_count | default('100%') }}"
# become: true
# roles:
# # - role: robertdebock.fail2ban
# # tags: [init-server, fail2ban]
# - role: geerlingguy.docker
# tags: [init-server, docker]
# - role: geerlingguy.pip
# pip_install_packages:
# - name: docker
# - name: docker-compose
# tags: [init-server, pip]
# - role: ethpandaops.general.docker_cleanup
# tags: [init-server, docker_cleanup]
# - role: ethpandaops.general.docker_network
# tags: [init-server, docker_network]
# - role: ethpandaops.general.node_exporter
# tags: [init-server, node_exporter]
# - role: ethpandaops.general.prometheus
# tags: [init-server, prometheus]
# - role: ethpandaops.general.vector
# tags: [init-server, vector]

- hosts: bootnode
become: true
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/devnet-8/beacon-metrics-gazer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
beacon-metrics-gazer:
image:
repository: dapplion/beacon-metrics-gazer
tag: v0.1.3
tag: latest
fullnameOverride: beacon-metrics-gazer
resources:
requests:
Expand Down
6 changes: 5 additions & 1 deletion kubernetes/devnet-8/blockscout/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ansible managed. Don't change this file manually. Template info: /roles/gen_kubernetes_config/templates/blockscout.yaml.j2,869182d 2023/07/19 10:13
# Ansible managed. Don't change this file manually. Template info: /roles/gen_kubernetes_config/templates/blockscout.yaml.j2,3217385 2023/07/21 12:26

blockscout:
fullnameOverride: blockscout
Expand Down Expand Up @@ -26,6 +26,7 @@ blockscout:

config:
COIN: ETH
DATABASE_URL: postgres://postgres:postgres@blockscout-postgresql:5432/blockscout?ssl=false
DISABLE_EXCHANGE_RATES: "true"
DISABLE_KNOWN_TOKENS: "true"
SHOW_PRICE_CHART: "false"
Expand Down Expand Up @@ -74,3 +75,6 @@ blockscout:

serviceMonitor:
enabled: true

postgresql:
fullnameOverride: blockscout-postgresql
Loading

0 comments on commit ea3cf06

Please sign in to comment.