kube-score: add version test
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
, kube-score
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -23,6 +25,13 @@ buildGoModule rec {
|
||||
"-X=main.commit=${src.rev}"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = kube-score;
|
||||
command = "kube-score version";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Kubernetes object analysis with recommendations for improved reliability and security";
|
||||
homepage = "https://github.com/zegl/kube-score";
|
||||
|
||||
Reference in New Issue
Block a user