kubenix/docs/content/examples/testing/default.nix
Bryton Hall eb3ec20f46 flake: fix testing by hardcoding system
This is meant as a stopgap. I'm not quite sure how but we should use
the current system (which is not available under builtins in a pure
evaluation).
2023-06-03 03:08:37 -04:00

15 lines
331 B
Nix

{ kubenix ? import ../../../.. }:
kubenix.evalModules.x86_64-linux {
module = { kubenix, ... }: {
imports = [ kubenix.modules.testing ];
testing = {
tests = [ ./test.nix ];
common = [{
features = [ "k8s" ];
options = {
kubernetes.version = "1.24";
};
}];
};
};
}