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
{ lib
2
, buildGoModule
3
, fetchFromGitHub
0
0
4
}:
5
6
buildGoModule rec {
···
22
"-X=main.version=${version}"
23
"-X=main.commit=${src.rev}"
24
];
0
0
0
0
0
0
0
25
26
meta = with lib; {
27
description = "Kubernetes object analysis with recommendations for improved reliability and security";
···
1
{ lib
2
, buildGoModule
3
, fetchFromGitHub
4
+
, testers
5
+
, kube-score
6
}:
7
8
buildGoModule rec {
···
24
"-X=main.version=${version}"
25
"-X=main.commit=${src.rev}"
26
];
27
+
28
+
passthru.tests = {
29
+
version = testers.testVersion {
30
+
package = kube-score;
31
+
command = "kube-score version";
32
+
};
33
+
};
34
35
meta = with lib; {
36
description = "Kubernetes object analysis with recommendations for improved reliability and security";