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. |
barry workers invite
Section titled “barry workers invite”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) |
barry workers join
Section titled “barry workers join”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 |
barry workers list
Section titled “barry workers list”Workers this Barry invited, and owners this machine joined.
barry workers list [options]| Option | Description |
|---|---|
--json |
Print as JSON. |
barry workers status
Section titled “barry workers status”The bag jobs this machine can run for an owner, and why any are not offered.
barry workers status [options]barry workers rotate
Section titled “barry workers rotate”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. |
barry workers revoke
Section titled “barry workers revoke”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 |
barry workers leave
Section titled “barry workers leave”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.