alertmanager: Added nixosTests to passthru.tests
This commit is contained in:
parent
2c6830c47e
commit
0cb65f8e48
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user