mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
example fix
This commit is contained in:
parent
2f2a3be87d
commit
164beed30d
4 changed files with 74 additions and 56 deletions
21
flake.nix
21
flake.nix
|
|
@ -39,12 +39,17 @@
|
|||
in
|
||||
lib'.evalModules (lib.recursiveUpdate
|
||||
{
|
||||
inherit modules;
|
||||
modules =
|
||||
modules
|
||||
++ [
|
||||
{
|
||||
_module.args = {
|
||||
inherit pkgs;
|
||||
name = "default";
|
||||
};
|
||||
}
|
||||
];
|
||||
specialArgs = {inherit kubenix;};
|
||||
args = {
|
||||
inherit pkgs;
|
||||
name = "default";
|
||||
};
|
||||
}
|
||||
attrs');
|
||||
in {
|
||||
|
|
@ -74,9 +79,9 @@
|
|||
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";});
|
||||
};
|
||||
}
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue