towerops/config
Graham McIntire c7df6a8569
Add CI-triggered mass agent update webhook
POST /api/v1/webhooks/agent-release triggers all connected agents
to self-update via their existing WebSocket channels. Authenticated
with a shared secret (AGENT_WEBHOOK_SECRET env var).

- Add ReleaseChecker.invalidate_cache/0 for fresh GitHub fetch
- Add Agents.list_updatable_agents/0 (enabled + seen < 10min)
- Add Agents.broadcast_mass_update/0 orchestration function
- Add WebhookAuth plug with timing-safe secret comparison
- Add AgentReleaseWebhookController with :webhook pipeline
- Configure AGENT_WEBHOOK_SECRET in dev/test/runtime configs
2026-02-10 13:40:32 -06:00
..
config.exs update hammer 2026-02-08 10:08:31 -06:00
dev.exs Add CI-triggered mass agent update webhook 2026-02-10 13:40:32 -06:00
prod.exs fix: suppress repetitive SNMP MIB resolution errors 2026-02-08 14:09:26 -06:00
runtime.exs Add CI-triggered mass agent update webhook 2026-02-10 13:40:32 -06:00
test.exs Add CI-triggered mass agent update webhook 2026-02-10 13:40:32 -06:00