eks-node-viewer: add version test

This commit is contained in:
figsoda 2023-06-11 23:17:17 -04:00
parent 451d527a2b
commit 271a8420c7

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, testers, eks-node-viewer }:
buildGoModule rec {
pname = "eks-node-viewer";
@ -21,6 +21,12 @@ buildGoModule rec {
"-X=main.version=${version}"
];
passthru.tests = {
version = testers.testVersion {
package = eks-node-viewer;
};
};
meta = with lib; {
description = "Tool to visualize dynamic node usage within a cluster";
homepage = "https://github.com/awslabs/eks-node-viewer";