-
-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
Description
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.