Skip to content

Add build or prepare command to processes #429

@tqwewe

Description

@tqwewe

Feature Request

Add a build or prepare field to processes for running building a process before running it.

Use Case:

Many processes when working with Rust need to be built before running. Health-checks don't play nicely with this when the process takes a while to build. Having processes be able to be built with an arbitrary command, which health checks wait for would be ideal.

processes:
  http_server:
    build: cargo build -p http_server # alternatively could be named `prepare`
    command: ./target/debug/http_server
    readiness_probe: ...
    liveness_probe: ...

Who Benefits From The Change(s)?

People working with compiled languages such as Rust, C, etc.

Alternative Approaches

Make health checks retry continuously, though this is not ideal.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions