diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-03-24 22:05:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 22:05:36 +0100 |
commit | 0e1cac923d7c9287106e76d565c0d0d7218371f1 (patch) | |
tree | 077edc2ff0587c26bc903dd3f4cce69786444ea1 /nixos/tests | |
parent | 83a2696de8a93dea32b8d5ba63602f8e3b2edf28 (diff) | |
parent | ea7101783c474ba072fa565e3ecc0e5c530ef61b (diff) | |
download | nixlib-0e1cac923d7c9287106e76d565c0d0d7218371f1.tar nixlib-0e1cac923d7c9287106e76d565c0d0d7218371f1.tar.gz nixlib-0e1cac923d7c9287106e76d565c0d0d7218371f1.tar.bz2 nixlib-0e1cac923d7c9287106e76d565c0d0d7218371f1.tar.lz nixlib-0e1cac923d7c9287106e76d565c0d0d7218371f1.tar.xz nixlib-0e1cac923d7c9287106e76d565c0d0d7218371f1.tar.zst nixlib-0e1cac923d7c9287106e76d565c0d0d7218371f1.zip |
Merge pull request #286685 from max-niederman/photonvision
photonvision: init at 2024.2.3
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/all-tests.nix | 1 | ||||
-rw-r--r-- | nixos/tests/photonvision.nix | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 2c08fdba6c98..604ddf5469dd 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -695,6 +695,7 @@ in { pgmanage = handleTest ./pgmanage.nix {}; pgvecto-rs = handleTest ./pgvecto-rs.nix {}; phosh = handleTest ./phosh.nix {}; + photonvision = handleTest ./photonvision.nix {}; photoprism = handleTest ./photoprism.nix {}; php = handleTest ./php {}; php81 = handleTest ./php { php = pkgs.php81; }; diff --git a/nixos/tests/photonvision.nix b/nixos/tests/photonvision.nix new file mode 100644 index 000000000000..2cadaa4bc02e --- /dev/null +++ b/nixos/tests/photonvision.nix @@ -0,0 +1,21 @@ +import ./make-test-python.nix ({ pkgs, lib, ... }: +{ + name = "photonvision"; + + nodes = { + machine = { pkgs, ... }: { + services.photonvision = { + enable = true; + }; + }; + }; + + testScript = '' + start_all() + machine.wait_for_unit("photonvision.service") + machine.wait_for_open_port(5800) + ''; + + meta.maintainers = with lib.maintainers; [ max-niederman ]; +}) + |