nimbus.holesky: reuse prater macos host

Currently without any execution clients as we don't have any roles to
run Geth or other clients on a MacOS host.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-02-06 19:56:05 +01:00
parent f5597aa77d
commit e2a119a673
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
9 changed files with 48 additions and 38 deletions

View File

@ -40,7 +40,7 @@
- name: Bootstrap MacOS hosts - name: Bootstrap MacOS hosts
become: true become: true
hosts: hosts:
- nimbus-prater-macos - nimbus-holesky-macm2
roles: roles:
- role: infra-role-bootstrap-macos - role: infra-role-bootstrap-macos
when: ansible_system == 'Darwin' when: ansible_system == 'Darwin'

View File

@ -82,6 +82,7 @@ node_name_to_branch_map:
chronos: 'nim-chronos-auto-bump-unstable' chronos: 'nim-chronos-auto-bump-unstable'
# Builds # Builds
beacon_node_build_frequency: 'daily' 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_build_nim_flags: '-d:noSignalHandler {{ node.get("nim_flags", "") }}'
# Monitoring # Monitoring
beacon_node_validator_monitor_auto: true beacon_node_validator_monitor_auto: true

View File

@ -9,6 +9,15 @@
- local_action: command ./versioncheck.py - local_action: command ./versioncheck.py
changed_when: false changed_when: false
- name: Deploy Holesky MacOS Beacon Nodes
become: true
serial: '{{ serial|default(1) }}'
hosts: nimbus-holesky-macm2
vars_files: layout/holesky.yml
tasks:
- include_role: name=infra-role-beacon-node-macos
with_items: '{{ nodes_layout[hostname] }}'
loop_control: { loop_var: node, index_var: idx }
- name: Deploy Holesky Beacon Nodes - name: Deploy Holesky Beacon Nodes
become: true become: true

View File

@ -38,7 +38,7 @@ linux-05.ih-eu-mda1.nimbus.prater hostname=linux-05.ih-eu-mda1.nimbus.prater ans
linux-06.ih-eu-mda1.nimbus.mainnet hostname=linux-06.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.101 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-06.ih-eu-mda1.nimbus.mainnet.statusim.net linux-06.ih-eu-mda1.nimbus.mainnet hostname=linux-06.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.101 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-06.ih-eu-mda1.nimbus.mainnet.statusim.net
linux-06.ih-eu-mda1.nimbus.prater hostname=linux-06.ih-eu-mda1.nimbus.prater ansible_host=194.33.40.233 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-06.ih-eu-mda1.nimbus.prater.statusim.net linux-06.ih-eu-mda1.nimbus.prater hostname=linux-06.ih-eu-mda1.nimbus.prater ansible_host=194.33.40.233 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-06.ih-eu-mda1.nimbus.prater.statusim.net
linux-07.ih-eu-mda1.nimbus.mainnet hostname=linux-07.ih-eu-mda1.nimbus.mainnet ansible_host=185.181.229.82 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-07.ih-eu-mda1.nimbus.mainnet.statusim.net linux-07.ih-eu-mda1.nimbus.mainnet hostname=linux-07.ih-eu-mda1.nimbus.mainnet ansible_host=185.181.229.82 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-07.ih-eu-mda1.nimbus.mainnet.statusim.net
macm1-01.ih-eu-mda1.nimbus.prater hostname=macm1-01.ih-eu-mda1.nimbus.prater ansible_host=185.181.230.76 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=macm1-01.ih-eu-mda1.nimbus.prater.statusim.net macm2-01.ih-eu-mda1.nimbus.holesky hostname=macm2-01.ih-eu-mda1.nimbus.holesky ansible_host=185.181.230.76 env=nimbus stage=holesky data_center=ih-eu-mda1 region=eu-mda1 dns_entry=macm2-01.ih-eu-mda1.nimbus.holesky.statusim.net
mainnet-01.aws-eu-central-1a.nimbus.geth hostname=mainnet-01.aws-eu-central-1a.nimbus.geth ansible_host=18.196.208.138 env=nimbus stage=geth data_center=aws-eu-central-1a region=eu-central-1a dns_entry=mainnet-01.aws-eu-central-1a.nimbus.geth.statusim.net mainnet-01.aws-eu-central-1a.nimbus.geth hostname=mainnet-01.aws-eu-central-1a.nimbus.geth ansible_host=18.196.208.138 env=nimbus stage=geth data_center=aws-eu-central-1a region=eu-central-1a dns_entry=mainnet-01.aws-eu-central-1a.nimbus.geth.statusim.net
metal-01.ih-eu-mda1.nimbus.eth1 hostname=metal-01.ih-eu-mda1.nimbus.eth1 ansible_host=194.33.40.237 env=nimbus stage=eth1 data_center=ih-eu-mda1 region=eu-mda1 dns_entry=metal-01.ih-eu-mda1.nimbus.eth1.statusim.net metal-01.ih-eu-mda1.nimbus.eth1 hostname=metal-01.ih-eu-mda1.nimbus.eth1 ansible_host=194.33.40.237 env=nimbus stage=eth1 data_center=ih-eu-mda1 region=eu-mda1 dns_entry=metal-01.ih-eu-mda1.nimbus.eth1.statusim.net
metal-01.ih-eu-mda1.nimbus.fluffy hostname=metal-01.ih-eu-mda1.nimbus.fluffy ansible_host=194.33.40.238 env=nimbus stage=fluffy data_center=ih-eu-mda1 region=eu-mda1 dns_entry=metal-01.ih-eu-mda1.nimbus.fluffy.statusim.net metal-01.ih-eu-mda1.nimbus.fluffy hostname=metal-01.ih-eu-mda1.nimbus.fluffy ansible_host=194.33.40.238 env=nimbus stage=fluffy data_center=ih-eu-mda1 region=eu-mda1 dns_entry=metal-01.ih-eu-mda1.nimbus.fluffy.statusim.net
@ -119,7 +119,7 @@ linux-05.ih-eu-mda1.nimbus.prater
linux-06.ih-eu-mda1.nimbus.mainnet linux-06.ih-eu-mda1.nimbus.mainnet
linux-06.ih-eu-mda1.nimbus.prater linux-06.ih-eu-mda1.nimbus.prater
linux-07.ih-eu-mda1.nimbus.mainnet linux-07.ih-eu-mda1.nimbus.mainnet
macm1-01.ih-eu-mda1.nimbus.prater macm2-01.ih-eu-mda1.nimbus.holesky
metal-01.ih-eu-mda1.nimbus.eth1 metal-01.ih-eu-mda1.nimbus.eth1
metal-01.ih-eu-mda1.nimbus.fluffy metal-01.ih-eu-mda1.nimbus.fluffy
metal-02.ih-eu-mda1.nimbus.fluffy metal-02.ih-eu-mda1.nimbus.fluffy
@ -182,6 +182,9 @@ geth-08.ih-eu-mda1.nimbus.holesky
geth-09.ih-eu-mda1.nimbus.holesky geth-09.ih-eu-mda1.nimbus.holesky
geth-10.ih-eu-mda1.nimbus.holesky geth-10.ih-eu-mda1.nimbus.holesky
[nimbus-holesky-macm2]
macm2-01.ih-eu-mda1.nimbus.holesky
[nimbus-holesky-neth] [nimbus-holesky-neth]
neth-01.ih-eu-mda1.nimbus.holesky neth-01.ih-eu-mda1.nimbus.holesky
neth-02.ih-eu-mda1.nimbus.holesky neth-02.ih-eu-mda1.nimbus.holesky
@ -207,9 +210,6 @@ linux-07.ih-eu-mda1.nimbus.mainnet
stable-small-01.aws-eu-central-1a.nimbus.mainnet stable-small-01.aws-eu-central-1a.nimbus.mainnet
stable-small-02.aws-eu-central-1a.nimbus.mainnet stable-small-02.aws-eu-central-1a.nimbus.mainnet
[nimbus-prater-macos]
macm1-01.ih-eu-mda1.nimbus.prater
[nimbus-prater-metal] [nimbus-prater-metal]
linux-01.ih-eu-mda1.nimbus.prater linux-01.ih-eu-mda1.nimbus.prater
linux-02.ih-eu-mda1.nimbus.prater linux-02.ih-eu-mda1.nimbus.prater
@ -267,6 +267,7 @@ geth-07.ih-eu-mda1.nimbus.holesky
geth-08.ih-eu-mda1.nimbus.holesky geth-08.ih-eu-mda1.nimbus.holesky
geth-09.ih-eu-mda1.nimbus.holesky geth-09.ih-eu-mda1.nimbus.holesky
geth-10.ih-eu-mda1.nimbus.holesky geth-10.ih-eu-mda1.nimbus.holesky
macm2-01.ih-eu-mda1.nimbus.holesky
neth-01.ih-eu-mda1.nimbus.holesky neth-01.ih-eu-mda1.nimbus.holesky
neth-02.ih-eu-mda1.nimbus.holesky neth-02.ih-eu-mda1.nimbus.holesky
neth-03.ih-eu-mda1.nimbus.holesky neth-03.ih-eu-mda1.nimbus.holesky
@ -296,7 +297,6 @@ linux-03.ih-eu-mda1.nimbus.prater
linux-04.ih-eu-mda1.nimbus.prater linux-04.ih-eu-mda1.nimbus.prater
linux-05.ih-eu-mda1.nimbus.prater linux-05.ih-eu-mda1.nimbus.prater
linux-06.ih-eu-mda1.nimbus.prater linux-06.ih-eu-mda1.nimbus.prater
macm1-01.ih-eu-mda1.nimbus.prater
stable-large-01.aws-eu-central-1a.nimbus.prater stable-large-01.aws-eu-central-1a.nimbus.prater
testing-large-01.aws-eu-central-1a.nimbus.prater testing-large-01.aws-eu-central-1a.nimbus.prater
unstable-large-01.aws-eu-central-1a.nimbus.prater unstable-large-01.aws-eu-central-1a.nimbus.prater

View File

@ -183,3 +183,9 @@ nodes_layout:
- { branch: 'testing', start: 84000, end: 89000, el: 'nethermind', vc: false } - { branch: 'testing', start: 84000, end: 89000, el: 'nethermind', vc: false }
- { branch: 'unstable', start: 89000, end: 94000, el: 'nethermind', vc: true } - { branch: 'unstable', start: 89000, end: 94000, el: 'nethermind', vc: true }
- { branch: 'libp2p', start: 94000, end: 100000, el: 'nethermind', vc: false } - { branch: 'libp2p', start: 94000, end: 100000, el: 'nethermind', vc: false }
# MacOS --------------------------------------------------------------------------
'macm2-01.ih-eu-mda1.nimbus.holesky': # 0 each (FIXME: No exec client.)
- { branch: 'stable', build_start: '13:00:00' }
- { branch: 'testing', build_start: '15:00:00' }
- { branch: 'unstable', build_start: '17:00:00' }

View File

@ -12,11 +12,6 @@ nodes_layout:
'unstable-large-01.aws-eu-central-1a.nimbus.prater': # 2000 each 'unstable-large-01.aws-eu-central-1a.nimbus.prater': # 2000 each
- { branch: 'unstable', start: 4000, end: 6000, history: 'archive', payload_builder: true } - { branch: 'unstable', start: 4000, end: 6000, history: 'archive', payload_builder: true }
'macm1-01.ih-eu-mda1.nimbus.prater': # 3000 each
- { branch: 'stable', start: 6000, end: 9000, build_start: '13:00:00' }
- { branch: 'testing', start: 9000, end: 12000, build_start: '15:00:00' }
- { branch: 'unstable', start: 12000, end: 14000, build_start: '17:00:00' }
'windows-01.ih-eu-mda1.nimbus.prater': 'windows-01.ih-eu-mda1.nimbus.prater':
- { branch: 'stable', build_start: '13:00:00' } - { branch: 'stable', build_start: '13:00:00' }
- { branch: 'testing', build_start: '15:00:00' } - { branch: 'testing', build_start: '15:00:00' }
@ -24,16 +19,16 @@ nodes_layout:
# Innova Hosting # Innova Hosting
'linux-01.ih-eu-mda1.nimbus.prater': # 0 each 'linux-01.ih-eu-mda1.nimbus.prater': # 0 each
- { branch: 'stable', start: 14000, end: 16000, build_freq: '*-*-* 13:00:00' } - { branch: 'stable', start: 6000, end: 8000, build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', start: 16000, end: 18000, build_freq: '*-*-* 15:00:00' } - { branch: 'testing', start: 8000, end: 10000, build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', start: 18000, end: 20000, build_freq: '*-*-* 17:00:00', public_api: true } - { branch: 'unstable', start: 10000, end: 12000, build_freq: '*-*-* 17:00:00', public_api: true }
- { branch: 'libp2p', build_freq: '*-*-* 19:00:00' } - { branch: 'libp2p', start: 12000, end: 14000, build_freq: '*-*-* 19:00:00' }
'linux-02.ih-eu-mda1.nimbus.prater': # 1 each 'linux-02.ih-eu-mda1.nimbus.prater': # 1 each
- { branch: 'stable', start: 20000, end: 20001, build_freq: '*-*-* 13:00:00' } - { branch: 'stable', start: 14000, end: 16000, build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', start: 20001, end: 20002, build_freq: '*-*-* 15:00:00', public_api: true } - { branch: 'testing', start: 16000, end: 18000, build_freq: '*-*-* 15:00:00', public_api: true }
- { branch: 'unstable', start: 20002, end: 20003, build_freq: '*-*-* 17:00:00', nethermind: true } - { branch: 'unstable', start: 18000, end: 20000, build_freq: '*-*-* 17:00:00', nethermind: true }
- { branch: 'libp2p', start: 20003, end: 20004, build_freq: '*-*-* 19:00:00' } - { branch: 'libp2p', start: 20000, end: 20004, build_freq: '*-*-* 19:00:00' }
'linux-03.ih-eu-mda1.nimbus.prater': # 10 each 'linux-03.ih-eu-mda1.nimbus.prater': # 10 each
- { branch: 'stable', start: 20004, end: 20014, build_freq: '*-*-* 11:00:00' } - { branch: 'stable', start: 20004, end: 20014, build_freq: '*-*-* 11:00:00' }

View File

@ -73,6 +73,22 @@ module "nimbus_nodes_holesky_innova_neth" {
] ]
} }
module "nimbus_nodes_holesky_innova_macm2" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "macm2"
env = "nimbus"
stage = "holesky"
group = "nimbus-holesky-macm2"
region = "eu-mda1"
prefix = "ih"
domain = var.domain
ips = [
"185.181.230.76" # macm2-01.ih-eu-mda1.nimbus.holesky
]
}
/* Community test REST API endpoints. */ /* Community test REST API endpoints. */
resource "cloudflare_record" "unstable_holesky_beacon_api" { resource "cloudflare_record" "unstable_holesky_beacon_api" {
zone_id = local.zones["nimbus.team"] zone_id = local.zones["nimbus.team"]
@ -89,4 +105,3 @@ resource "cloudflare_record" "testing_holesky_beacon_api" {
type = "A" type = "A"
proxied = false proxied = false
} }

View File

@ -13,10 +13,10 @@ output "hosts" {
module.nimbus_nodes_prater_unstable_large.hosts, module.nimbus_nodes_prater_unstable_large.hosts,
module.nimbus_nodes_prater_innova.hosts, module.nimbus_nodes_prater_innova.hosts,
module.nimbus_nodes_prater_windows_innova.hosts, module.nimbus_nodes_prater_windows_innova.hosts,
module.nimbus_nodes_prater_macm1_innova.hosts,
module.nimbus_nodes_sepolia_innova.hosts, module.nimbus_nodes_sepolia_innova.hosts,
module.nimbus_nodes_holesky_innova_geth.hosts, module.nimbus_nodes_holesky_innova_geth.hosts,
module.nimbus_nodes_holesky_innova_erigon.hosts, module.nimbus_nodes_holesky_innova_erigon.hosts,
module.nimbus_nodes_holesky_innova_neth.hosts, module.nimbus_nodes_holesky_innova_neth.hosts,
module.nimbus_nodes_holesky_innova_macm2.hosts,
) )
} }

View File

@ -155,19 +155,3 @@ resource "cloudflare_record" "era_prater" {
type = "A" type = "A"
proxied = true proxied = true
} }
module "nimbus_nodes_prater_macm1_innova" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "macm1"
env = "nimbus"
stage = "prater"
group = "nimbus-prater-macos"
region = "eu-mda1"
prefix = "ih"
domain = var.domain
ips = [
"185.181.230.76" # macm1-01.ih-eu-mda1.nimbus.prater
]
}