runner

command module
v1.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

runner

Build Status codecov Go Report Card License Tag

Introduction

runner is the runner of pipego written in Go.

Prerequisites

  • Go >= 1.18.0

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": "task",
      "file": {
        "content": "bytes",
        "gzip": true
      },
      "commands": [
        "cmd1",
        "argv1"
      ],
      "livelog": 5000
    }
  }
}

file: Script file in Bash

  • content: bytes

    The shebang in content should be one of below:

    • #!/bin/bash
    • #!/usr/bin/env bash
  • gzip: bool

commands: Command and arguments

livelog: Maximum lines in livelog

License

Project License can be found here.

Reference

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package runner implements a directed acyclic graph task runner with deterministic teardown.
Package runner implements a directed acyclic graph task runner with deterministic teardown.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL