wardn runner

Connect this machine so Wardn's tests run on it, and keep it running as a service.

A runner is a machine of yours that runs Wardn's work in containers. See Runners for the guide; this page lists the commands.

CommandWhat it does
wardn runner startChecks for a container engine, registers the machine as a test worker, and serves runs in the foreground.
wardn runner start --serviceThe same, then installs it as a service that starts with the machine.
wardn runner runServes from a runner that was already set up, without needing your login. What a service runs.
wardn runner statusWhether it is set up and running, the service state, and what Wardn sees of it.
wardn runner stopStops the service, or the process running in another terminal, letting its current runs finish.
wardn runner logs [-f] [-n 100]The runner's log.
wardn runner uninstall [--remove]Removes the service. With --remove, also deletes the runner in Wardn and its files here.

Flags of wardn runner start

FlagDefaultMeaning
--namethe hostnameThe runner's name in Wardn.
--teststrueRun tests.
--agentsfalseAlso run agents on this machine, in isolated containers; see Runners. With --gateway-url, --gateway-ca-file, --model-key-file, --model-key-env, --runtime-image, --sandbox-image, --sandboxes and --allow-private-host.
--servicefalseInstall as a service.
--labelsnonekey=value pairs, comma separated.
--slots2 for a new runnerHow many runs at once.
--enginedocker, else podmanThe container engine command.
--test-agent-binarythis executable on LinuxA Linux build of wardn or wardn-test-agent for test containers.
--network, --callback-urlthe host network when Wardn is localHow test containers reach Wardn.
--sandboxautoauto keeps each test container to its policy (the deployment under test, the hosts its suite lists, Wardn); off turns that off on this machine, which then runs only suites that allow reduced isolation.
--replacefalseTake over a runner of that name registered elsewhere.
--drain5mHow long a stopping runner waits for its runs.
--dir~/.config/wardn/runner (or WARDN_RUNNER_DIR)Where it keeps its files.

The runner's directory holds runner.json (what it registered as), worker-token (its token, 0600), runner.log and the staging directory of runs in flight. The worker token is the only credential the runner keeps; your login is used to register and not again.

On this page