summary refs log tree commit diff
path: root/nixos/tests/all-tests.nix
diff options
context:
space:
mode:
authorEuan Kemp <euank@euank.com>2020-04-17 07:39:54 -0700
committerGitHub <noreply@github.com>2020-04-17 16:39:54 +0200
commitbc138f407f9cc1206dd13aa233f2d870936e10bd (patch)
treebdc1f8e55eb2e2857a3f828327c79393bb7205b2 /nixos/tests/all-tests.nix
parenta7b3a6982a89fa98a56a98818750e69e10f079f3 (diff)
downloadnixpkgs-bc138f407f9cc1206dd13aa233f2d870936e10bd.tar
nixpkgs-bc138f407f9cc1206dd13aa233f2d870936e10bd.tar.gz
nixpkgs-bc138f407f9cc1206dd13aa233f2d870936e10bd.tar.bz2
nixpkgs-bc138f407f9cc1206dd13aa233f2d870936e10bd.tar.lz
nixpkgs-bc138f407f9cc1206dd13aa233f2d870936e10bd.tar.xz
nixpkgs-bc138f407f9cc1206dd13aa233f2d870936e10bd.tar.zst
nixpkgs-bc138f407f9cc1206dd13aa233f2d870936e10bd.zip
nixos/k3s: add initial k3s service
* nixos/k3s: simplify config expression

* nixos/k3s: add config assertions and trim unneeded bits

* nixos/k3s: add a test that k3s works; minor module improvements

This is a single-node test. Eventually we should also have a multi-node
test to verify the agent bit works, but that one's more involved.

* nixos/k3s: add option description

* nixos/k3s: add defaults for token/serveraddr

Now that the assertion enforces their presence, we dont' need to use the typesystem for it.

* nixos/k3s: remove unneeded sudo in test

* nixos/k3s: add to test list
Diffstat (limited to 'nixos/tests/all-tests.nix')
-rw-r--r--nixos/tests/all-tests.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 4f60892488a..5adfd6afd6a 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -146,6 +146,7 @@ in
   jellyfin = handleTest ./jellyfin.nix {};
   jenkins = handleTest ./jenkins.nix {};
   jirafeau = handleTest ./jirafeau.nix {};
+  k3s = handleTest ./k3s.nix {};
   kafka = handleTest ./kafka.nix {};
   keepalived = handleTest ./keepalived.nix {};
   kerberos = handleTest ./kerberos/default.nix {};