wip: service ordering with nimi - #287
Closed
eljamm wants to merge 8 commits into
Closed
Conversation
Contributor
|
We need to review and merge ngi-nix/nimi#3 to get this working. |
Contributor
Author
I'm testing this against a local copy with that PR checked out. Doesn't seem to be working, but maybe I'm doing something wrong. |
Contributor
Author
|
Added an {
services = {
components = {
python-web = {
command = pkgs.mypkgs.python-web;
readyCheck = pkgs.writeShellScript "check-web-ready" ''
curl -sf http://localhost:5000
'';
};
python-web-hello = {
command = pkgs.hello;
};
};
ordering.python-web-hello.after = [ "python-web" ];
ordering.python-web-hello.afterReady = [ "python-web" ];
};
}$ podman run --rm -it localhost/python-web-app:latest
[2026-04-22T11:06:51Z INFO nimi::cli] Launching process manager...
[2026-04-22T11:06:51Z INFO nimi::process_manager] Starting process manager...
[2026-04-22T11:06:51Z INFO python-web] Running readiness check (/nix/store/idsr00gd8x52lnwqlbdjwi1ghx68gbsh-check-web-ready)
[2026-04-22T11:06:51Z DEBUG python-web] * Serving Flask app 'python_web.app'
[2026-04-22T11:06:51Z DEBUG python-web] * Debug mode: off
[2026-04-22T11:06:51Z ERROR python-web] WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
[2026-04-22T11:06:51Z ERROR python-web] * Running on all addresses (0.0.0.0)
[2026-04-22T11:06:51Z ERROR python-web] * Running on http://127.0.0.1:5000
[2026-04-22T11:06:51Z ERROR python-web] * Running on http://192.168.1.100:5000
[2026-04-22T11:06:51Z ERROR python-web] Press CTRL+C to quit
[2026-04-22T11:06:54Z ERROR python-web] 127.0.0.1 - - [22/Apr/2026 11:06:54] "GET / HTTP/1.1" 200 -
[2026-04-22T11:06:54Z DEBUG python-web-hello] Hello, world! |
eljamm
force-pushed
the
feat/nimi-service-ordering
branch
from
April 22, 2026 11:15
32aa2bf to
3a5e1c0
Compare
eljamm
force-pushed
the
feat/nimi-service-ordering
branch
from
April 22, 2026 11:55
3a5e1c0 to
923930f
Compare
Contributor
|
🚀 UI Preview Deployed
Note: See the checks section at the bottom of this PR. Once the Netlify run is green, you can click Details to visit the deployment directly. |
Merged
Contributor
|
@eljamm , would you please create Nimi PR to https://github.com/ngi-nix/nimi ? |
Contributor
Author
Created ngi-nix/nimi#6 |
Contributor
Author
|
No longer relevant. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.