scheduler

Build Status
codecov
Go Report Card
License
Release

Introduction

scheduler is the scheduler of distbuild written in Go.

Prerequisites

  • Go >= 1.17.0

Run

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

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

Docker

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

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

Usage

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

distbuild scheduler

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

scheduler parameters can be set in the directory config.

An example of configuration in config.yml:

apiVersion: v1
kind: scheduler
metadata:
  name: scheduler
spec:

License

Project License can be found here.

Reference

GitHub

View Github