mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
wip k3s support
This commit is contained in:
parent
7a93fdce23
commit
0f8a36710c
5 changed files with 151 additions and 7 deletions
|
|
@ -6,10 +6,11 @@ with lib;
|
|||
imports = [ kubenix.modules.test ./module.nix ];
|
||||
|
||||
test = {
|
||||
distro = "k3s";
|
||||
name = "nginx-deployment";
|
||||
description = "Test testing nginx deployment";
|
||||
testScript = ''
|
||||
kube.wait_until_succeeds("docker load < ${config.docker.images.nginx.image}")
|
||||
kube.wait_until_succeeds("docker load --input='${config.docker.images.nginx.image}'")
|
||||
kube.wait_until_succeeds("kubectl apply -f ${config.kubernetes.result}")
|
||||
|
||||
kube.succeed("kubectl get deployment | grep -i nginx")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue