Commit Graph

94 Commits

Author SHA1 Message Date
Shivaraj B H
2a84a6c2c9
Merge PC configs in Nix (#43) 2023-08-23 13:09:45 -04:00
Shivaraj B H
4b9478181d
Process as test (VM -> Native test) (#39)
Also remove `debug` option
2023-08-21 11:01:38 -04:00
shivaraj-bh
9c77cd4860 set default port of swagger endpoint to 0 2023-08-17 09:41:11 -04:00
shivaraj-bh
bacdaf54ff add exit_on_end process option 2023-08-04 16:49:47 -04:00
Sridhar Ratnakumar
0e2aab0ba1 example: update parent flake in lock 2023-07-20 12:23:13 -04:00
Adrian
332cf7a041
feat(wrapper): allow calling sub-commands other than up (#35)
tui and config file are set via env vars, which do not trigger errors for
sub-commands which do not expect corresponding command line flags

port is still set via command line argument since it is the only global one

also: make port and tui option non-nullable (see: https://github.com/Platonic-Systems/process-compose-flake/issues/34#issuecomment-1644128112)
2023-07-20 12:12:40 -04:00
Sridhar Ratnakumar
12cf28de0e doc: title 2023-07-18 16:56:53 -04:00
Sridhar Ratnakumar
7b54d8ae19 doc: sidebar pos 2023-07-18 16:43:54 -04:00
Sridhar Ratnakumar
be08283860 docs: prepare for zero-to-flakes 2023-07-18 10:48:45 -04:00
Shivaraj B H
67949a2e1c
change settings type (#33)
Co-authored-by: Sridhar Ratnakumar <srid@users.noreply.github.com>
2023-07-17 15:37:08 -04:00
Sridhar Ratnakumar
36a80ef0ec Switch to nixci for test.sh 2023-07-14 14:42:25 -04:00
Sridhar Ratnakumar
2aa84559e0 Add nixci configuration 2023-07-14 14:39:19 -04:00
Sridhar Ratnakumar
417fb6e9aa Remove submoduleWith 2023-07-14 09:45:33 -04:00
Sridhar Ratnakumar
2086f1e89d
readme: promote proc-flake re: reliability 2023-07-01 12:22:57 -04:00
Sridhar Ratnakumar
5bdb90b856 example: reintroduce env var for demo 2023-06-20 18:09:08 -04:00
Sridhar Ratnakumar
74624745c1 example: use nix var to simplify (consistent with 'port') 2023-06-20 18:08:07 -04:00
Sridhar Ratnakumar
a5bb6e365c example: nixpkgs-fmt 2023-06-20 18:05:17 -04:00
Sridhar Ratnakumar
47afddae52 Don't wrap command in writeShellApplication; fixes #22 2023-06-20 18:00:50 -04:00
Sridhar Ratnakumar
11636ffc4d
readme: Add shell as well 2023-06-19 18:23:22 -04:00
Sridhar Ratnakumar
28bb6fc7b2 readme: Clarify why we deviate from YAML schema 2023-06-19 18:18:29 -04:00
Sridhar Ratnakumar
1483bd7fec readme: link to services-flake 2023-06-19 17:59:09 -04:00
Sridhar Ratnakumar
db8eea803c Remove services (#23)
Moved to https://github.com/juspay/services-flake
2023-06-19 17:57:39 -04:00
Sridhar Ratnakumar
dd1dff0070
Add devenv-like services (starting with postgresql) (#17)
- Add hello service
- Add postgresql service
- Add tests for service
2023-06-19 13:13:25 -04:00
Sridhar Ratnakumar
56f4f01dd4 Run nixpkgs-fmt 2023-06-19 11:03:57 -04:00
Sridhar Ratnakumar
4cadf42101 test: systemd: report if pc exits abrutly 2023-06-19 11:03:57 -04:00
Sridhar Ratnakumar
92a5d0b8ba test: systemd: do not run as root user 2023-06-19 11:03:57 -04:00
Sridhar Ratnakumar
b473a92135 test: Fix systemd service name (to be unique) 2023-06-19 11:03:57 -04:00
Sridhar Ratnakumar
9a2c53b473 example: update inputs 2023-06-16 20:27:02 -04:00
Sridhar Ratnakumar
a108d48136
Update CHANGELOG.md 2023-06-16 20:26:28 -04:00
Ben Levy
5841c100ec Fix definiton of probe.exec
types.submodule defaults to assuming the contents are a config. When using liveness_probe.exec.command you get an error due to the exec submodule not being defined correctly.
2023-06-16 20:25:43 -04:00
Sridhar Ratnakumar
ef453a6ce5
Merge pull request #18 from Platonic-Systems/nixosTest
Add `nixosTest` capability
2023-06-14 15:40:12 -04:00
Sridhar Ratnakumar
345cd83f33 readme: port 2023-06-14 15:38:25 -04:00
Sridhar Ratnakumar
232333f89e readme: how to contribute 2023-06-14 15:37:32 -04:00
Sridhar Ratnakumar
641ae9fa27 test.sh: check for NixOS 2023-06-14 13:58:02 -04:00
Sridhar Ratnakumar
97e7dd23d4 Ignore checks if set to null 2023-06-14 13:08:22 -04:00
Sridhar Ratnakumar
9f5b1e6f22 test: add check only on Linux 2023-06-14 13:04:18 -04:00
Sridhar Ratnakumar
bbc4d756d5 Simplify ExecStart 2023-06-14 12:07:32 -04:00
Sridhar Ratnakumar
7fc9abf8e1 Rename to wait_until; add example 2023-06-14 12:07:25 -04:00
Sridhar Ratnakumar
6d6303a912 Remove ./test (./example has a test now) 2023-06-13 18:13:40 -04:00
Sridhar Ratnakumar
e86d5cb68c example: DRY port 2023-06-13 18:09:10 -04:00
Sridhar Ratnakumar
9b4a7886f7 test: add library, and check example for readiness 2023-06-13 18:01:35 -04:00
Sridhar Ratnakumar
3964517bb9 example: add readiness_probe for sqlite-web 2023-06-13 18:01:11 -04:00
Sridhar Ratnakumar
1fbcf33a9e Reintroduce shell_command; resolves #19
Thus we are no longer dependent on global bash.
2023-06-13 15:18:04 -04:00
Sridhar Ratnakumar
65d7e4d302 example: add nixosTest 2023-06-13 12:45:39 -04:00
Sridhar Ratnakumar
3e6a7e4e0f Add testScript option 2023-06-13 12:45:26 -04:00
Sridhar Ratnakumar
b5e97b110d add changelog 2023-06-12 18:15:09 -04:00
Sridhar Ratnakumar
3744b6bb07 DRY submoduleWithPkgs 2023-06-12 18:14:13 -04:00
Sridhar Ratnakumar
4b117924f4 Run nixpkgs-fmt 2023-06-12 16:41:22 -04:00
Sridhar Ratnakumar
0d8b40edfa
readme: no more apps 2023-06-09 17:55:52 -04:00
Sridhar Ratnakumar
c206414e7d Remove 'shell' submodule (meaningless) 2023-06-09 17:33:59 -04:00