zoryn-task-run(1)

ZORYN-TASK-RUN(1) Zoryn Manual ZORYN-TASK-RUN(1)

NAME

zoryn-task-run - Queue a task for build.

SYNOPSIS

zoryn task run [OPTION]… [TASK_ID]

DESCRIPTION

Queue a task for build on gyle/gitery. Wraps ssh gyle task run with all supported options.

If no task ID is specified, zoryn reuses the last task it worked with (recorded by submit, task run ID, task new, ...). When nothing has been recorded yet, gyle's own latest task is used.

ARGUMENTS

TASK_ID
Task ID. If not specified, the last task you worked with is used, falling back to gyle's latest.

OPTIONS

-C DIR
Change to directory DIR before running.
--commit
Commit the task after tests.
-d, --debug
Enable debug output.
--dry-run
Stop right before queueing the task.
--fail-early
Stop building the task after the first error.
--fail-late
Do not stop building the task after the first error.
--hurry
Enable swift mode.
-m MESSAGE
Build reason message. Use -m - to read from stdin. Supports multi-word messages in quotes.
--test-only
Stop after test, do not commit the task.
--unhurry
Disable swift mode.

COMMON OPTIONS

--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.
--version
Show version information.

EXIT STATUS

zoryn task run exits with:

0
on success.
123
on indiscriminate errors reported on standard error.
124
on command line parsing errors.
125
on unexpected internal errors (bugs).

EXAMPLES

Run the latest task:


zoryn task run

Run a specific task:


zoryn task run 123456

Run in test-only mode with a message:


zoryn task run --test-only -m "fix build for aarch64" 123456

Run with fail-early and swift mode:


zoryn task run --fail-early --hurry 123456

Dry run (stop before queueing):


zoryn task run --dry-run 123456

Read build reason from stdin:


echo "long reason" | zoryn task run -m - 123456

SEE ALSO

zoryn(1)

Zoryn 0.46.0