diff options
| author | Julian Blake Kongslie | 2020-10-30 16:04:16 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2020-10-30 17:33:31 -0700 |
| commit | 3e2d71d7b135cc6980cc10a4108130236734551e (patch) | |
| tree | ec52715eab33236c10f01ab3f47c913f110ec032 /man | |
| download | olamic-3e2d71d7b135cc6980cc10a4108130236734551e.tar.xz | |
Initial version.release/1
Diffstat (limited to 'man')
| -rw-r--r-- | man/olamic-enqueue.1.md | 24 | ||||
| -rw-r--r-- | man/olamic-worker.1.md | 36 |
2 files changed, 60 insertions, 0 deletions
diff --git a/man/olamic-enqueue.1.md b/man/olamic-enqueue.1.md new file mode 100644 index 0000000..15434cc --- /dev/null +++ b/man/olamic-enqueue.1.md | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | % OLAMIC-ENQUEUE(1) | ||
| 2 | % Julian B Kongslie | ||
| 3 | % October 2020 | ||
| 4 | |||
| 5 | # NAME | ||
| 6 | |||
| 7 | olamic-enqueue - create a new task for olamic | ||
| 8 | |||
| 9 | # SYNOPSIS | ||
| 10 | |||
| 11 | **olamic-enqueue** **/path/to/queue** **/url/for/git/repo** **git-commit-hash** [**VAR**=**VALUE** ...] | ||
| 12 | |||
| 13 | # DESCRIPTION | ||
| 14 | |||
| 15 | **olamic-enqueue** creates a new task within the specified queue which will | ||
| 16 | clone the given repository at the given commit. It reads from stdin a script to | ||
| 17 | run within the checkout. Any additional variables passed on the command line | ||
| 18 | will be available to the script when it runs. | ||
| 19 | |||
| 20 | When **olamic-enqueue** completes, it prints the UUID of the created task. | ||
| 21 | |||
| 22 | # SEE ALSO | ||
| 23 | |||
| 24 | olamic-worker(1) | ||
diff --git a/man/olamic-worker.1.md b/man/olamic-worker.1.md new file mode 100644 index 0000000..d558f47 --- /dev/null +++ b/man/olamic-worker.1.md | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | % OLAMIC-WORKER(1) | ||
| 2 | % Julian B Kongslie | ||
| 3 | % October 2020 | ||
| 4 | |||
| 5 | # NAME | ||
| 6 | |||
| 7 | olamic-worker - run olamic tasks | ||
| 8 | |||
| 9 | # SYNOPSIS | ||
| 10 | |||
| 11 | **olamic-worker** | ||
| 12 | |||
| 13 | # DESCRIPTION | ||
| 14 | |||
| 15 | **olamic-worker** will continuously try to pull a new task from the olamic | ||
| 16 | queue, and run it. It uses its current working directory as a scratch space. | ||
| 17 | |||
| 18 | # ENVIRONMENT VARIABLES | ||
| 19 | |||
| 20 | **OLAMIC_EMAIL** | ||
| 21 | : The default email to complain to if a task fails. This can (and typically | ||
| 22 | will) be overridden on a per-task basis. | ||
| 23 | |||
| 24 | **OLAMIC_QUEUE_HOST** | ||
| 25 | : The host where the olamic queue lives. Defaults to the local machine. | ||
| 26 | |||
| 27 | **OLAMIC_QUEUE_DIR** | ||
| 28 | : The directory where the olamic queue lives. Defaults to /srv/olamic/queue. | ||
| 29 | |||
| 30 | **OLAMIC_WORKER_PERIOD** | ||
| 31 | : How long the worker sleeps for when it can't find a task. Defaults to one | ||
| 32 | minute. | ||
| 33 | |||
| 34 | # SEE ALSO | ||
| 35 | |||
| 36 | olamic-enqueue(1) | ||
