runner

Introduction
runner is the runner of pipego written in Go.
Prerequisites
Run
version=latest make build
./bin/runner --listen-url=:29090
Docker
version=latest make docker
docker run ghcr.io/pipego/runner:latest --listen-url=:29090
Usage
usage: runner --listen-url=LISTEN-URL [<flags>]
pipego runner
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
--listen-url=LISTEN-URL Listen URL (host:port)
Protobuf
{
"apiVersion": "v1",
"kind": "runner",
"metadata": {
"name": "runner"
},
"spec": {
"task": {
"name": "task1",
"commands": [
"cmd1",
"argv1"
],
"timeout": {
"time": 10,
"unit": "second"
}
}
}
}
timeout: Enforce time limit
-
time: int
The length of time for which this task will wait before cancelling the commands.
-
unit: string
The unit of the time parameter.
values: second, minute, hour
License
Project License can be found here.
Reference