tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
kube-score: add version test
figsoda
2 years ago
a112a598
b9fb0b5d
+9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
cluster
kube-score
default.nix
+9
pkgs/applications/networking/cluster/kube-score/default.nix
···
1
1
{ lib
2
2
, buildGoModule
3
3
, fetchFromGitHub
4
4
+
, testers
5
5
+
, kube-score
4
6
}:
5
7
6
8
buildGoModule rec {
···
22
24
"-X=main.version=${version}"
23
25
"-X=main.commit=${src.rev}"
24
26
];
27
27
+
28
28
+
passthru.tests = {
29
29
+
version = testers.testVersion {
30
30
+
package = kube-score;
31
31
+
command = "kube-score version";
32
32
+
};
33
33
+
};
25
34
26
35
meta = with lib; {
27
36
description = "Kubernetes object analysis with recommendations for improved reliability and security";