nimbus.prater: fix naming of libp2p services

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-10-05 14:30:16 +02:00
parent 89cbff6b52
commit 6df0c868df
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 12 additions and 10 deletions

View File

@ -3,7 +3,9 @@ beacon_node_network: 'prater'
beacon_node_repo_branch: '{{ node.branch }}'
# TODO Drop this once all nodes have an number.
service_number: '{{ node.get("num", False) | ternary(("-%02d"|format(node.get("num", 0))), "") }}'
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ node.branch }}{{ service_number }}'
# TODO Libp2p branch names are far too long.
branch_short: '{{ node.branch_short is defined | ternary(node.branch_short, node.branch) }}'
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ branch_short }}{{ service_number }}'
# Ports
beacon_node_discovery_port: '{{ 9000 + port_offset }}'
beacon_node_listening_port: '{{ 9000 + port_offset }}'
@ -51,12 +53,6 @@ nodes_layout:
"unstable-large-03.aws-eu-central-1a.nimbus.prater":
- { branch: 'unstable', start: 30000, end: 32500 }
# 1250 validators per node
'u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater':
- { branch: 'unstable-libp2p-stable', start: 37500, end: 38750 }
'u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater':
- { branch: 'unstable-libp2p-unstable', start: 38750, end: 40000 }
# 2500 validators per node
'metal-01.he-eu-hel1.nimbus.prater':
- { branch: 'stable', num: 1, start: 10000, end: 12500, build_freq: '*-*-* 12:00:00' }
@ -85,3 +81,9 @@ nodes_layout:
- { branch: 'stable', build_start: '13:00:00' }
- { branch: 'testing', build_start: '15:00:00' }
- { branch: 'unstable', build_start: '16:00:00' }
# 1250 validators per node
'u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater':
- { branch: 'nim-libp2p-auto-bump', start: 37500, end: 38750, branch_short: 'libp2p-stable' }
'u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater':
- { branch: 'nim-libp2p-auto-bump-unstable', start: 38750, end: 40000, branch_short: 'libp2p-unstable' }

View File

@ -46,17 +46,17 @@
- name: infra-role-beacon-node-linux
src: git@github.com:status-im/infra-role-beacon-node-linux.git
version: cb79f67a8da89b0e519d3267462a19af0d6e087d
version: 31abbf8d8c019b024487de903d9b5237c1973519
scm: git
- name: infra-role-beacon-node-windows
src: git@github.com:status-im/infra-role-beacon-node-windows.git
version: 235f5fcc1b0a073bc19d44030f88bf221aac39f6
version: 2bbbc277dfb9b4c12d984acb5698ad76190bf1f1
scm: git
- name: infra-role-beacon-node-macos
src: git@github.com:status-im/infra-role-beacon-node-macos.git
version: 0aa4959dcc5ede1ab4c7fc62a2ea2d03e731b2e8
version: 39180ccb244e2e689f7f8e068011e2d613e08fd9
scm: git
- name: infra-role-nimbus-eth1