mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
collect kube versions into a single file
This commit is contained in:
parent
f251d55857
commit
7fb2bf9578
10 changed files with 25023 additions and 16805 deletions
19
flake.nix
19
flake.nix
|
|
@ -118,15 +118,16 @@
|
|||
mkK8STests = attrs:
|
||||
(import ./tests {inherit evalModules;})
|
||||
({registry = "docker.io/gatehub";} // attrs);
|
||||
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_23 = wasSuccess (mkK8STests {k8sVersion = "1.23";});
|
||||
tests-k8s-1_24 = wasSuccess (mkK8STests {k8sVersion = "1.24";});
|
||||
};
|
||||
in
|
||||
{
|
||||
# TODO: access "success" derivation with nice testing utils for nice output
|
||||
nginx-example = wasSuccess (mkExamples {}).nginx-deployment.config.testing;
|
||||
}
|
||||
// builtins.listToAttrs (builtins.map (v: {
|
||||
name = "test-k8s-${builtins.replaceStrings ["."] ["_"] v}";
|
||||
value = wasSuccess (mkK8STests {k8sVersion = v;});
|
||||
})
|
||||
(import ./versions.nix).versions);
|
||||
}
|
||||
))
|
||||
// {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue