feat: refactor file structure module interfaces and other

This commit is contained in:
Jaka Hudoklin 2019-03-07 23:23:07 +01:00
parent 12a1c920c4
commit eac2d78667
No known key found for this signature in database
GPG key ID: 6A08896BFD32BD95
36 changed files with 58 additions and 139 deletions

View file

@ -16,13 +16,9 @@ let
version' = replaceStrings ["."] ["_"] version;
in nameValuePair "v${version'}" (kubenix.evalModules {
modules = [
kubenix.testing
kubenix.modules.testing
{
imports = [kubenix.k8s kubenix.submodules];
kubernetes.version = version;
testing.throwError = throwError;
testing.e2e = e2e;
testing.tests = [
@ -40,7 +36,7 @@ let
./module.nix
];
testing.defaults = ({kubenix, ...}: {
imports = [kubenix.k8s];
imports = [kubenix.modules.k8s];
kubernetes.version = version;
_module.args.images = images;
});