garm/util
Gabriel Adrian Samfira 42cfd1b3c6 Add agent mode
This change adds a new "agent mode" to GARM. The agent enables GARM to
set up a persistent websocket connection between the garm server and the
runners it spawns. The goal is to be able to easier keep track of state,
even without subsequent webhooks from the forge.

The Agent will report via websockets when the runner is actually online,
when it started a job and when it finished a job.

Additionally, the agent allows us to enable optional remote shell between
the user and any runner that is spun up using agent mode. The remote shell
is multiplexed over the same persistent websocket connection the agent
sets up with the server (the agent never listens on a port).

Enablement has also been done in the web UI for this functionality.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2026-02-08 00:27:47 +02:00
..
appdefaults Add agent mode 2026-02-08 00:27:47 +02:00
github Attempt to use the scalset API and caching 2025-08-24 22:36:44 +00:00
logging.go Make the debug-log command more useful 2025-08-27 13:21:56 +00:00
util.go Use tmp storage while uploading, use tx where needed 2025-10-08 22:22:58 +03:00
util_nix.go Use tmp storage while uploading, use tx where needed 2025-10-08 22:22:58 +03:00
util_test.go Add SPA UI for GARM 2025-08-16 09:09:13 +00:00
util_windows.go Use tmp storage while uploading, use tx where needed 2025-10-08 22:22:58 +03:00