mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-13 00:20:07 +01:00
fixups
This commit is contained in:
parent
bbc5e3d477
commit
1bd3fe4d4e
22 changed files with 49 additions and 609 deletions
10
release.nix
10
release.nix
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue