garm/runner/pool
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
..
cache.go Attempt to use the scalset API and caching 2025-08-24 22:36:44 +00:00
common.go Attempt to use the scalset API and caching 2025-08-24 22:36:44 +00:00
pool.go Add agent mode 2026-02-08 00:27:47 +02:00
stub_client.go Ensure scale set exists 2025-08-23 18:55:08 +00:00
util.go Cache jobs in pool manager 2025-10-05 00:49:41 +03:00
util_test.go Add copyright header 2025-05-20 09:43:29 +00:00
watcher.go Cache jobs in pool manager 2025-10-05 00:49:41 +03:00