Commit Graph

71 Commits

Author SHA1 Message Date
Sridhar Ratnakumar
0ed39f17e6 Run nixpkgs-fmt 2023-06-19 11:03:10 -04:00
Sridhar Ratnakumar
2bb8536757 test: systemd: report if pc exits abrutly 2023-06-19 11:02:38 -04:00
Sridhar Ratnakumar
c6b1ea6426 test: systemd: do not run as root user 2023-06-19 11:02:34 -04:00
Sridhar Ratnakumar
895426fad2 test: Fix systemd service name (to be unique) 2023-06-19 11:02:29 -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
Sridhar Ratnakumar
06697488d3 Obviate writeShellApplication in 'command' 2023-06-09 17:31:59 -04:00
Sridhar Ratnakumar
e46b51dc23
Merge pull request #16 from Platonic-Systems/submodule
Add submodule type for YAML format
2023-06-09 17:13:57 -04:00
Sridhar Ratnakumar
c837b8851f Allow 'environment' to be attrset 2023-06-09 17:10:39 -04:00
Sridhar Ratnakumar
7f624ce916 Fix yq yaml conversion 2023-06-09 17:10:39 -04:00
Sridhar Ratnakumar
00389cd1cd Add debug option (dumps YAML) 2023-06-09 17:10:39 -04:00
Sridhar Ratnakumar
230955df9e Add submodule type for YAML file 2023-06-09 17:10:39 -04:00
Sridhar Ratnakumar
f2ec5b572a api: consistently use 'outputs' submodule 2023-06-09 15:09:23 -04:00
Sridhar Ratnakumar
248d02a4ff Refactor: separate out cli options 2023-06-09 15:02:14 -04:00
Sridhar Ratnakumar
15ad16e938
Merge pull request #15 from Platonic-Systems/split
Refactor: split into modules
2023-06-09 14:58:57 -04:00
Sridhar Ratnakumar
c5cd60e66c Decouple individual process-compose module
Also add a 'outputs.package' option.
2023-06-09 14:56:42 -04:00
Sridhar Ratnakumar
ed02f6ba19 Move settings def to its own module 2023-06-09 14:50:17 -04:00
Sridhar Ratnakumar
7d49fbd3c6
Allow per-config tui/port options (#14)
To do this, we must restructure the options such as that the top-level
option is an attrset of submodules. Each submodule then can have its own
port/tui (cli) options.
2023-06-09 14:33:59 -04:00
Sridhar Ratnakumar
a1fb056f11 Make test.sh build example; also set -e 2023-06-09 14:29:38 -04:00
Sridhar Ratnakumar
ea29723d37 We only support the 'up' subcommand 2023-06-09 14:21:22 -04:00
Sridhar Ratnakumar
8ca3cebc7e test: use tui option 2023-06-09 14:15:15 -04:00
Sridhar Ratnakumar
a7125624f6 ci: Fix actions 2023-06-09 14:15:15 -04:00
Sridhar Ratnakumar
d6723f2de3 Allow test.sh to be run from any dir 2023-06-09 14:13:05 -04:00
Sridhar Ratnakumar
e39066d920 refactor: create ./nix 2023-06-09 14:12:46 -04:00
Sridhar Ratnakumar
d1ea79e452 test: autoformat nix 2023-06-09 13:46:01 -04:00
Shivaraj B H
90b67885e0
Add tui; make port nullable (#10)
* add disable-tui option

* decouple extra CLI args and rename disable-tui opt

* refactor extraCliArgs default

* default port to null

---------

Co-authored-by: Shivaraj <shivaraj@shivaraj-macbookpro.tailcdff4.ts.net>
2023-06-09 13:44:52 -04:00
Sridhar Ratnakumar
2b6fe3361f
Add test (#13) 2023-06-09 13:39:11 -04:00
Sridhar Ratnakumar
32bd49bb44
readme: Doesn't produce apps output anymore 2023-06-08 19:08:57 -04:00
Sridhar Ratnakumar
6700a98f25
readme: typo 2023-06-08 16:54:57 -04:00