worker

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MIT Imports: 2 Imported by: 0

README

worker

Build Status codecov Go Report Card License Release

Introduction

worker is the worker of distbuild written in Go.

Prerequisites

  • Go >= 1.17.0

Run

git clone https://github.com/distbuild/worker.git

cd worker
version=latest make build
./bin/worker --config-file="$PWD/config/config.yml"

Docker

git clone https://github.com/distbuild/worker.git

cd worker
version=latest make docker
docker run -v "$PWD"/config:/tmp ghcr.io/distbuild/worker:latest --config-file="/tmp/config.yml"

Usage

usage: worker --config-file=CONFIG-FILE [<flags>]

distbuild worker

Flags:
  --help                     Show context-sensitive help (also try --help-long
                             and --help-man).
  --version                  Show application version.
  --config-file=CONFIG-FILE  Config file (.yml)

Settings

worker parameters can be set in the directory config.

An example of configuration in config.yml:

apiVersion: v1
kind: worker
metadata:
  name: worker
spec:

License

Project License can be found here.

Reference

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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