huskies: merge 1138 story In-container huskies self-update — huskies upgrade pulls a fresh binary without docker rebuild

This commit is contained in:
dave
2026-05-18 13:28:53 +00:00
parent d10634c7d6
commit 0ec5c05de8
6 changed files with 590 additions and 2 deletions
+5
View File
@@ -62,6 +62,11 @@ pub fn build_gateway_route(state_arc: Arc<GatewayState>) -> impl poem::Endpoint
"/gateway/agents/:id/assign",
poem::post(gateway_assign_agent_handler),
)
// Binary self-update: serve the gateway binary so sleds can download it.
.at(
"/api/huskies-binary",
poem::get(crate::http::serve_binary_handler),
)
.data(state_arc)
}