alertmanager: Added nixosTests to passthru.tests

This commit is contained in:
Jonathan Davies 2024-06-02 21:23:21 +01:00
parent 2c6830c47e
commit 0cb65f8e48
No known key found for this signature in database

View File

@ -3,6 +3,7 @@
, buildGoModule
, fetchFromGitHub
, installShellFiles
, nixosTests
}:
buildGoModule rec {
@ -39,6 +40,8 @@ buildGoModule rec {
installShellCompletion amtool.zsh
'';
passthru.tests = { inherit (nixosTests.prometheus) alertmanager; };
meta = with lib; {
description = "Alert dispatcher for the Prometheus monitoring system";
homepage = "https://github.com/prometheus/alertmanager";