Registry
Shipplane Lite includes two built-in task types. Each workflow task must use one of these types or a custom task type.
Fetch the live definitions, including parameter descriptions, from a running instance:
@shipplane/local_cmd
Runs a command on the local machine.
@shipplane/remote_cmd
Runs a command on a remote host over SSH.
The command runs under bash when the host has it, otherwise sh, with set -e and — where the shell supports it — set -o pipefail. A multi-line command stops at the first failing line.
Host key verification
On the first connection to a host, its key fingerprint is pinned to ~/.shipplane/known_hosts.json. Later connections fail if the key changes.
Rebuilding a host gives it a new key. To trust the new one, remove that host's entry from ~/.shipplane/known_hosts.json and run again.
Exit codes
The task output is the command's exit code as a string, readable by dependent tasks via ctx.outputs.
By default a non-zero exit fails the task. Set allow_failure: true to let the workflow continue and branch on the code instead:
A command killed by a signal has no exit code, so it fails the task even with allow_failure set.
Task params are passed through verbatim, so reading another task's output needs a custom task type — ctx.outputs["healthcheck"] holds the string.
Custom task types
Add task types by assigning one TaskRegistry to registry in your config file. Custom types extend the two built-in types rather than replacing them.
The config accepts one TaskRegistry. Register every custom task type on that registry instance.