example fix

This commit is contained in:
GTrunSec 2022-04-02 13:28:07 -07:00
parent 2f2a3be87d
commit 164beed30d
No known key found for this signature in database
GPG key ID: 2368FAFA4ABDD2A0
4 changed files with 74 additions and 56 deletions

View file

@ -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";});
};
}
))