From 1063be8c16b99d5d302f78f4773e0f7cd9643eb8 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Tue, 29 Jul 2025 17:20:46 +0200 Subject: [PATCH] add explanatory comment --- deployment/data-model-test.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deployment/data-model-test.nix b/deployment/data-model-test.nix index 72f05354..2bb5de55 100644 --- a/deployment/data-model-test.nix +++ b/deployment/data-model-test.nix @@ -20,6 +20,15 @@ in _class = "nix-unit"; test-eval = { + /** + This tests a very simple arrangement that features all ingredients of the Fediversity business logic: + application, resource, environment, deployment; and wires it all up in one end-to-end exercise. + - The dummy resource is a login shell made available for some user. + - The dummy application is `hello` that requires a shell to be deployed. + - The dummy environment is a single NixOS VM that hosts one login shell, for the operator. + - The dummy configuration enables the `hello` application. + This will produce a NixOps4 deployment for a NixOS VM with a login shell for the operator and `hello` available. + */ expr = let fediversity = eval (