Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : cirello.io/runner

Command runner is a very ugly and simple structured command executer that monitor file changes to trigger process restarts. Create a file name Procfile in the root of the project you want to run, and add the following content: Special process types: - workdir: the working directory. Environment variables are expanded. It follows the same rules for exec.Command.Dir. - observe: a space separated list of file patterns to scan for. It uses filepath.Match internally. File patterns preceded with exclamation mark (!) will not trigger builds. - ignore: a space separated list of ignored directories relative to workdir, typically vendor directories. - build*: process type name prefixed by "build" are always executed first and in order of declaration. On failure, they halt the initialization. - waitfor (in process type): target hostname and port that the runner will probe before starting the process type. - restart (in process type): "always" will restart the process type at every build; "fail" will restart the process type on failure; "temporary" will start the service once and not restart it on rebuilds; "loop" will restart the process when it naturally terminates. - group (in process type): group of processes that depend on each other. If a process type fails, it will halt all others in the same group. If the "restart" parameter is not set to "always" or "fail", the affected process types will halt and not restart. - sticky (in build process types): a sticky build is not interrupted when file changes are detected. - optional (in process types): does not start this process unless explicit told so. The process type must be part of a group.

Registry - Source - Documentation - JSON
purl: pkg:golang/cirello.io/runner
Keywords: orchestrator, procfile, runner
License: Apache-2.0
Latest release: 2 months ago
First release: over 5 years ago
Namespace: cirello.io
Dependent repositories: 1
Stars: 5 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago

    Loading...
    Readme
    Loading...