Daemonization and/or readiness check #35
Replies: 4 comments 5 replies
-
An alternative, potentially more granular implementation is to specify the above with a repeatable |
Beta Was this translation helpful? Give feedback.
-
To tell you the truth I have been thinking about this feature for some time now. Personally, most of the time I use tmux, even for local terminals, but I see how it will benefit the project to not have to learn and install an additional tool. I will close the 2 open issues and have fun with daemonizing it :) |
Beta Was this translation helpful? Give feedback.
-
Yeah, after some googling I also saw that it's not a simple graph TD;
TestA-->ProcA;
TestA-->ProcB;
TestA-->ProcC;
TestB-->TestA
Cleanup-->TestB
The tests can run when A,B,C are ready and exit on failure if TestA or TestB fails, with this configuration: |
Beta Was this translation helpful? Give feedback.
-
so is there analog of |
Beta Was this translation helpful? Give feedback.
-
It would be great to have explicit support for daemonization of process-compose.
Since the project already has an HTTP RPC API and a disable TUI flag, the next logical step would be to have a:
equivalent.
For local development this is not a big concern for most, although there are people that prefer not to have a TUI
They just haven't used process-compose's. 😂
In a CI environment the lack of this feature becomes apparent.
Let's say you described your service dependency tree in process-compose and you need the full tree running AND ready to be able to run your integration tests.
It would be insanely convenient to have a simple CI script like:
You can kind of achieve this today with cachix/devenv#83 (comment) but it's POSIX API specific (no windows).
Thoughts? :) @F1bonacc1
Beta Was this translation helpful? Give feedback.
All reactions