mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
WIP: IFD issue
This commit is contained in:
parent
e823a93100
commit
e7227cfe8c
2 changed files with 12 additions and 6 deletions
11
flake.nix
11
flake.nix
|
|
@ -76,13 +76,16 @@
|
|||
else pkgs.runCommandNoCC "testing-suite-config-assertions-for-${suite.name}-failed" {} "exit 1";
|
||||
mkExamples = attrs:
|
||||
(import ./examples {inherit evalModules;})
|
||||
({registry = "docker.io/gatehub";} // attrs);
|
||||
({registry = "docker.io/gatehub";} // attrs);
|
||||
mkK8STests = attrs:
|
||||
(import ./tests {inherit evalModules;})
|
||||
({registry = "docker.io/gatehub";} // attrs);
|
||||
in {
|
||||
# TODO: access "success" derivation with nice testing utils for nice output
|
||||
nginx-example = wasSuccess (mkExamples {}).nginx-deployment.config.testing;
|
||||
#tests-k8s-1_19 = wasSuccess (mkK8STests {k8sVersion = "1.19";});
|
||||
# tests-k8s-1_20 = wasSuccess (mkK8STests {k8sVersion = "1.20";});
|
||||
# tests-k8s-1_21 = wasSuccess (mkK8STests {k8sVersion = "1.21";});
|
||||
tests-k8s-1_19 = wasSuccess (mkK8STests {k8sVersion = "1.19";});
|
||||
tests-k8s-1_20 = wasSuccess (mkK8STests {k8sVersion = "1.20";});
|
||||
tests-k8s-1_21 = wasSuccess (mkK8STests {k8sVersion = "1.21";});
|
||||
};
|
||||
}
|
||||
))
|
||||
|
|
|
|||
|
|
@ -236,8 +236,11 @@ in {
|
|||
}: let
|
||||
evaledSubmodule' = evalModules {
|
||||
inherit specialArgs;
|
||||
modules = config.modules ++ [./base.nix];
|
||||
check = false;
|
||||
modules = config.modules ++ [./base.nix] ++ [
|
||||
{
|
||||
_module.args.check = false;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
evaledSubmodule =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue