Skip to content
WIP

This guide is a work in progress. Barry is also a work in progress.

barry workers

Machines that run this Barry’s workflow activities, and the owners this machine works for.

barry workers [options] [command]
Subcommand Description
invite Invite a machine to run workflow activities for this Barry; prints a join token, shown once.
join Join an owner as one of its workers, from the token barry workers invite printed there.
list Workers this Barry invited, and owners this machine joined.
status The bag jobs this machine can run for an owner, and why any are not offered.
rotate Issue a worker a new credential; the old one keeps working for five minutes.
revoke Remove a worker; its next call to this Barry is refused and its running activities stop.
leave Stop working for an owner this machine joined.

Invite a machine to run workflow activities for this Barry; prints a join token, shown once.

barry workers invite [options] <name>
Argument Required
name Required
Option Description
--url <url> The https address the worker should call (default: the route hosting.yaml publishes for workflows.runtime)
--jobs <jobs> Comma-separated versioned jobs this worker may claim (default: any advertised job)
--expires-in <seconds> Expire an unused invite after this many seconds (default: no expiry for unscoped legacy-compatible tokens; 86400 for scoped tokens)

Join an owner as one of its workers, from the token barry workers invite printed there.

barry workers join [options] <token>
Argument Required
token Required

Workers this Barry invited, and owners this machine joined.

barry workers list [options]
Option Description
--json Print as JSON.

The bag jobs this machine can run for an owner, and why any are not offered.

barry workers status [options]

Issue a worker a new credential; the old one keeps working for five minutes.

barry workers rotate [options] <worker>
Argument Required
worker Required
Option Description
--url <url> The https address the worker should call.

Remove a worker; its next call to this Barry is refused and its running activities stop.

barry workers revoke [options] <worker>
Argument Required
worker Required

Stop working for an owner this machine joined.

barry workers leave [options] <owner>
Argument Required
owner Required

Every command also accepts -h, --help. All system commands.