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