Skip to content

Commit 79ed634

Browse files
committed
Add node exporter to build infra
1 parent d35e3df commit 79ed634

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

cookbooks/boxcutter_backhaul/metadata.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
depends 'boxcutter_jfrog'
1010
depends 'boxcutter_nfs'
1111
depends 'boxcutter_onepassword'
12+
depends 'boxcutter_prometheus'
1213
depends 'boxcutter_sonatype'
1314
depends 'boxcutter_tailscale'
1415
depends 'fb_nginx'

cookbooks/boxcutter_backhaul/recipes/default.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
}.include?(node['hostname'])
2222

2323
if nexus_hosts
24+
include_recipe 'boxcutter_prometheus::node_exporter'
25+
2426
storage_blob_store_name = 'default'
2527
node.default['boxcutter_sonatype']['nexus_repository']['repositories'] = {
2628
'ros-apt-proxy' => {

cookbooks/boxcutter_builder/metadata.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
depends 'boxcutter_github'
1111
depends 'boxcutter_nvidia'
1212
depends 'boxcutter_onepassword'
13+
depends 'boxcutter_prometheus'
1314
depends 'boxcutter_tailscale'
1415
depends 'boxcutter_ubuntu_desktop'
1516
depends 'fb_networkd'

cookbooks/boxcutter_builder/recipes/default.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
}
2222

2323
if arm64_self_hosted_runner_list.include?(node['hostname'])
24+
include_recipe 'boxcutter_prometheus::node_exporter'
25+
2426
package 'jq'
2527

2628
node.default['boxcutter_docker']['enable_cleanup'] = false
@@ -61,6 +63,8 @@
6163
}
6264

6365
if new_amd64_self_hosted_runner_list.include?(node['hostname'])
66+
include_recipe 'boxcutter_prometheus::node_exporter'
67+
6468
package 'jq'
6569

6670
node.default['boxcutter_docker']['enable_cleanup'] = false

0 commit comments

Comments
 (0)