miannet,sepolia,holesky: run update jobs every 2 hours

Otherwise we get a massive CPU load spike that makes nodes unavailable.

Also fix nim flags variable names.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-06-11 08:16:54 +02:00
parent 68c347973f
commit 82b65e6918
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
5 changed files with 8 additions and 10 deletions

View File

@ -65,7 +65,7 @@ smart_metrics_listen_port: 9633
# Nimbus ------------------------------
beacon_node_log_level: DEBUG
# Builds
beacon_node_build_nim_flags: >-
beacon_node_update_build_nim_flags: >-
-d:testnet_servers_image
-d:noSignalHandler
-d:libp2p_protobuf_metrics

View File

@ -81,9 +81,8 @@ node_name_to_branch_map:
libp2p: 'nim-libp2p-auto-bump-unstable'
chronos: 'nim-chronos-auto-bump-unstable'
# Builds
beacon_node_build_frequency: 'daily'
beacon_node_build_start_time: '{{ node.get("build_start", omit) }}'
beacon_node_build_nim_flags: '-d:noSignalHandler {{ node.get("nim_flags", "") }}'
beacon_node_update_frequency: '*-*-* {{ "%02d" | format(idx * 2) }}:00:00'
beacon_node_update_build_nim_flags: '-d:noSignalHandler {{ node.get("nim_flags", "") }}'
beacon_node_update_build_targets: ['nimbus_beacon_node', 'ncli_db']
beacon_node_nim_commit: '{{ node.get("nim_commit", "") }}'
# Monitoring

View File

@ -54,7 +54,7 @@ beacon_node_max_peers: '{{ node.get("max_peers", 320) }}'
beacon_node_firewall_libp2p_open: '{{ node.get("open_libp2p_ports", true) }}'
# Builds
beacon_node_update_build: '{{ beacon_node_repo_branch != "stable" }}'
beacon_node_build_frequency: '*-*-* {{ 12 + idx }}:00:00'
beacon_node_update_frequency: '*-*-* {{ "%02d" | format(idx * 2) }}:00:00'
# Tuning
beacon_node_cores_per_node: '{{ (ansible_processor_vcpus / nodes_layout[hostname]|length) | round(0, "ceil") | int }}'
beacon_node_threads: '{{ (node.branch == "libp2p") | ternary(1, beacon_node_cores_per_node) }}'

View File

@ -36,7 +36,7 @@ beacon_node_extra_flags: '{{ node.extra_flags if node.extra_flags is defined els
beacon_node_payload_builder_enabled: '{{ node.get("payload_builder", false) }}'
beacon_node_payload_builder_url: 'https://boost-relay-sepolia.flashbots.net/ '
# Updates
beacon_node_update_frequency: 'daily'
beacon_node_update_frequency: '*-*-* {{ "%02d" | format(idx * 2) }}:00:00'
beacon_node_update_build_nim_flags: '-d:noSignalHandler {{ node.get("nim_flags", "") }}'
beacon_node_update_build_targets: ['nimbus_beacon_node', 'ncli_db']
# Monitoring

View File

@ -18,10 +18,9 @@ beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ beacon_node_
beacon_node_network: 'sepolia'
beacon_node_repo_branch: 'unstable'
beacon_node_nim_commit: '{{ node.get("nim_commit", "") }}'
beacon_node_build_nim_flags: '-d:noSignalHandler {{ node.get("nim_flags", "") }}'
#Builds
beacon_node_build_frequency: 'daily'
# Builds
beacon_node_update_frequency: 'daily'
beacon_node_update_build_nim_flags: '-d:noSignalHandler {{ node.get("nim_flags", "") }}'
# Monitoring
beacon_node_validator_monitor_auto: true
beacon_node_validator_monitor_details: true