3
0
Fork 0
forked from mirrors/nixpkgs

grafana-agent: add NixOS passthru test

This commit is contained in:
zimbatm 2022-06-15 12:24:46 +02:00
parent 31b47913f3
commit 1c7f2a67a0
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, systemd }:
{ lib, buildGoModule, fetchFromGitHub, systemd, nixosTests }:
buildGoModule rec {
pname = "grafana-agent";
@ -36,6 +36,8 @@ buildGoModule rec {
$out/bin/agent
'';
passthru.tests.grafana-agent = nixosTests.grafana-agent;
meta = with lib; {
description = "A lightweight subset of Prometheus and more, optimized for Grafana Cloud";
license = licenses.asl20;