feat: refactor tests

This commit is contained in:
Jaka Hudoklin 2019-02-17 19:42:01 +01:00
parent 0d68a401f0
commit b4c4f17cc9
No known key found for this signature in database
GPG key ID: 916062A1C4748647
10 changed files with 3 additions and 2 deletions

View file

@ -27,5 +27,6 @@ let
submodules = ./submodules.nix;
k8s = ./k8s;
istio = ./istio;
testing = ./testing;
};
in kubenix

View file

@ -45,7 +45,7 @@ in {
path = generateIstio ./istio/istio-schema.json;
}];
test = import ./test {
tests = import ./tests {
inherit pkgs lib kubenix;
};

View file

@ -12,7 +12,7 @@ listToAttrs (map (version: let
version' = replaceStrings ["."] ["_"] version;
in nameValuePair "v${version'}" (evalModules {
modules = [
./modules/testing.nix
kubenix.testing
{
imports = [kubenix.k8s kubenix.submodules];