This commit is contained in:
David Arnold 2021-05-06 16:07:24 -04:00
parent bbc5e3d477
commit 1bd3fe4d4e
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08
22 changed files with 49 additions and 609 deletions

View file

@ -4,7 +4,6 @@ in
{ pkgs ? import (fetch "nixpkgs") { }
, nixosPath ? toString (fetch "nixpkgs") + "/nixos"
, lib ? pkgs.lib
, e2e ? true
, throwError ? true
}:
@ -28,7 +27,7 @@ let
};
runK8STests = k8sVersion: import ./tests {
inherit pkgs lib kubenix k8sVersion e2e throwError nixosPath;
inherit pkgs lib kubenix k8sVersion throwError nixosPath;
};
in
rec {
@ -69,13 +68,6 @@ rec {
k8s-1_21 = runK8STests "1.21";
};
test-results = pkgs.recurseIntoAttrs (mapAttrs
(_: t: pkgs.recurseIntoAttrs {
results = pkgs.recurseIntoAttrs t.results;
result = t.result;
})
tests);
test-check =
if !(all (test: test.success) (attrValues tests))
then throw "tests failed"