12
0

24 Commits

Author SHA256 Message Date
133334b98f Import openSUSE:Leap:16.0 modifications 2025-08-12 11:58:31 +02:00
bf9300ad4f Accepting request 1281120 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1281120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=24
2025-05-30 12:37:46 +00:00
5a37348aa1 Accepting request 1254051 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1254051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=23
2025-03-18 16:42:09 +00:00
012970b494 Accepting request 1240368 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1240368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=22
2025-01-27 19:54:23 +00:00
0cfc40f0d9 Accepting request 1171565 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1171565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=21
2024-05-03 17:46:17 +00:00
61bc1e6f5d Accepting request 1152874 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1152874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=20
2024-02-28 18:47:28 +00:00
d586062341 Accepting request 1139928 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1139928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=19
2024-01-19 22:02:44 +00:00
b3944d35b3 Accepting request 1132625 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1132625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=18
2023-12-12 18:32:21 +00:00
7f6dd1433e Accepting request 1129939 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1129939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=17
2023-11-30 21:01:39 +00:00
848e64153a Accepting request 1109479 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1109479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=16
2023-09-07 19:13:47 +00:00
dbe2c2a8f2 Accepting request 1087423 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1087423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=15
2023-05-17 08:53:15 +00:00
5d9158a395 Accepting request 1066404 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1066404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=14
2023-02-17 15:45:53 +00:00
a43f93ab3d Accepting request 990647 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/990647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=13
2022-07-22 17:21:26 +00:00
662f7d08dd Accepting request 969424 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/969424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=12
2022-04-12 19:50:48 +00:00
705c09ee3b Accepting request 962719 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/962719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=11
2022-03-18 15:42:59 +00:00
0c0572aa40 Accepting request 959295 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/959295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=10
2022-03-05 15:27:37 +00:00
942f451425 Accepting request 922154 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/922154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=9
2021-09-29 18:19:11 +00:00
6bf62ca248 Accepting request 852577 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/852577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=8
2020-12-08 12:24:08 +00:00
160108c3bc Accepting request 845949 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/845949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=7
2020-11-04 17:27:43 +00:00
cf0b336e11 Accepting request 832969 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/832969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=6
2020-09-08 20:51:23 +00:00
d0020658fe Accepting request 721455 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/721455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=5
2019-08-07 12:01:17 +00:00
7f9dbf0677 Accepting request 697175 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/697175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=4
2019-04-24 11:57:11 +00:00
c42fb95460 Accepting request 694777 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/694777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=3
2019-04-17 08:09:50 +00:00
Stephan Kulow
49fb7dfff0 Accepting request 672873 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/672873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-alertmanager?expand=0&rev=2
2019-02-24 16:13:55 +00:00
11 changed files with 140 additions and 494 deletions

View File

@@ -1,4 +1,4 @@
From 407e5faf4924e1e77bf782fd6e143c412676371b Mon Sep 17 00:00:00 2001
From 09b9b978c3da4a8b431030cadc685ea2be68528e Mon Sep 17 00:00:00 2001
From: Jan Fajerski <jfajerski@suse.com>
Date: Fri, 8 Feb 2019 12:14:47 +0100
Subject: [PATCH] Adjust default settings
@@ -9,10 +9,10 @@ Signed-off-by: Jan Fajerski <jfajerski@suse.com>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/alertmanager/main.go b/cmd/alertmanager/main.go
index 30b02447..6f2635e4 100644
index b645aa3..c91dc69 100644
--- a/cmd/alertmanager/main.go
+++ b/cmd/alertmanager/main.go
@@ -143,8 +143,8 @@ func run() int {
@@ -199,8 +199,8 @@ func run() int {
}
var (
@@ -22,7 +22,4 @@ index 30b02447..6f2635e4 100644
+ dataDir = kingpin.Flag("storage.path", "Base path for data storage.").Default("/var/lib/prometheus/alertmanager").String()
retention = kingpin.Flag("data.retention", "How long to keep data for.").Default("120h").Duration()
maintenanceInterval = kingpin.Flag("data.maintenance-interval", "Interval between garbage collection and snapshotting to disk of the silences and the notification logs.").Default("15m").Duration()
maxSilences = kingpin.Flag("silences.max-silences", "Maximum number of silences, including expired silences. If negative or zero, no limit is set.").Default("0").Int()
--
2.47.1
alertGCInterval = kingpin.Flag("alerts.gc-interval", "Interval between alert GC.").Default("30m").Duration()

View File

@@ -1,98 +0,0 @@
diff --git a/go.mod b/go.mod
index 886f16f3..ca7c42d3 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,8 @@
module github.com/prometheus/alertmanager
-go 1.22.0
+go 1.23.0
+
+toolchain go1.24.3
require (
github.com/KimMachineGun/automemlimit v0.7.0
@@ -43,8 +45,8 @@ require (
go.uber.org/atomic v1.11.0
go.uber.org/automaxprocs v1.6.0
golang.org/x/mod v0.22.0
- golang.org/x/net v0.33.0
- golang.org/x/text v0.21.0
+ golang.org/x/net v0.36.0
+ golang.org/x/text v0.22.0
golang.org/x/tools v0.28.0
gopkg.in/telebot.v3 v3.3.8
gopkg.in/yaml.v2 v2.4.0
@@ -93,10 +95,10 @@ require (
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/metric v1.24.0 // indirect
go.opentelemetry.io/otel/trace v1.24.0 // indirect
- golang.org/x/crypto v0.31.0 // indirect
+ golang.org/x/crypto v0.35.0 // indirect
golang.org/x/oauth2 v0.24.0 // indirect
- golang.org/x/sync v0.10.0 // indirect
- golang.org/x/sys v0.28.0 // indirect
+ golang.org/x/sync v0.11.0 // indirect
+ golang.org/x/sys v0.30.0 // indirect
google.golang.org/protobuf v1.35.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/go.sum b/go.sum
index 8b90e154..79f0edeb 100644
--- a/go.sum
+++ b/go.sum
@@ -550,8 +550,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U=
-golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
+golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
+golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -636,8 +636,8 @@ golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su
golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
-golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
-golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
+golang.org/x/net v0.36.0 h1:vWF2fRbw4qslQsQzgFqZff+BItCvGFQqKzKIzx1rmoA=
+golang.org/x/net v0.36.0/go.mod h1:bFmbeoIPfrw4sMHNhb4J9f6+tPziuGjq7Jk/38fxi1I=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -672,8 +672,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220513210516-0976fa681c29/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
-golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
+golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w=
+golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -752,8 +752,8 @@ golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
-golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
+golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -765,8 +765,8 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
-golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
-golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
+golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
+golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=

View File

@@ -0,0 +1,13 @@
Index: alertmanager-0.26.0/.promu.yml
===================================================================
--- alertmanager-0.26.0.orig/.promu.yml
+++ alertmanager-0.26.0/.promu.yml
@@ -10,7 +10,7 @@ build:
path: ./cmd/alertmanager
- name: amtool
path: ./cmd/amtool
- flags: -a
+ flags: -a -buildmode pie
tags:
all:
- netgo

View File

@@ -1,14 +1,14 @@
<services>
<service name="obs_scm" mode="manual">
<service name="obs_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/prometheus/alertmanager</param>
<param name="exclude">.git</param>
<param name="exclude">.github</param>
<param name="revision">v0.28.1</param>
<param name="revision">refs/tags/v0.26.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="set_version" mode="manual">
<param name="versionrewrite-pattern">^\D*([\d.]+)$</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">alertmanager</param>
</service>
<service name="tar" mode="buildtime"/>
@@ -16,7 +16,7 @@
<param name="file">alertmanager-*.tar</param>
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="manual">
<param name="archive">alertmanager-0.28.1.obscpio</param>
<service name="go_modules" mode="disabled">
<param name="archive">alertmanager-0.26.0.obscpio</param>
</service>
</services>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/prometheus/alertmanager</param>
<param name="changesrevision">d7b4f0c7322e7151d6e3b1e31cbc15361e295d8d</param></service></servicedata>
<param name="changesrevision">c238d88b714827114af5c8bc1f38dd183d4e74cf</param></service></servicedata>

BIN
alertmanager-0.26.0.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2906ecbcac2a7335de11f66cddb7dcad9bf560a4f3382578937d068751038262
size 8022541

View File

@@ -1,4 +1,4 @@
name: alertmanager
version: 0.28.1
mtime: 1741356286
commit: b2099eaa2c9ebc25edb26517cb9c732738e93910
version: 0.26.0
mtime: 1692862323
commit: d7b4f0c7322e7151d6e3b1e31cbc15361e295d8d

View File

@@ -1,217 +1,7 @@
-------------------------------------------------------------------
Tue May 27 16:18:58 UTC 2025 - Witek Bedyk <witold.bedyk@suse.com>
Tue Feb 27 11:41:27 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
- Security: Fix proxy bypassing using IPv6 zone IDs
(CVE-2025-22870, bsc#1238686):
* Add 0002-Bump-x-net.patch
- Use `manual` build service
- Drop Go packaging macros
- Add testing
-------------------------------------------------------------------
Fri Mar 7 17:32:09 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 0.28.1:
* [ENHANCEMENT] Improved performance of inhibition rules when
using Equal labels. #4119
* [ENHANCEMENT] Improve the documentation on escaping in UTF-8
matchers. #4157
* [ENHANCEMENT] Update alertmanager_config_hash metric help to
document the hash is not cryptographically strong. #4210
* [BUGFIX] Fix panic in amtool when using --verbose. #4218
* [BUGFIX] Fix templating of channel field for Rocket.Chat. #4220
* [BUGFIX] Fix rocketchat_configs written as rocket_configs in
docs. #4217
* [BUGFIX] Fix usage for --enable-feature flag. #4214
* [BUGFIX] Trim whitespace from OpsGenie API Key. #4195
* [BUGFIX] Fix Jira project template not rendered when searching
for existing issues. #4291
* [BUGFIX] Fix subtle bug in JSON/YAML encoding of inhibition
rules that would cause Equal labels to be omitted. #4292
* [BUGFIX] Fix header for slack_configs in docs. #4247
* [BUGFIX] Fix weight and wrap of Microsoft Teams notifications.
#4222
* [BUGFIX] Fix format of YAML examples in configuration.md. #4207
-------------------------------------------------------------------
Wed Jan 15 11:50:27 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 0.28.0:
* [CHANGE] Templating errors in the SNS integration now return an
error. #3531 #3879
* [CHANGE] Adopt log/slog, drop go-kit/log #4089
* [FEATURE] Add a new Microsoft Teams integration based on Flows
#4024
* [FEATURE] Add a new Rocket.Chat integration #3600
* [FEATURE] Add a new Jira integration #3590 #3931
* [FEATURE] Add support for GOMEMLIMIT, enable it via the feature
flag --enable-feature=auto-gomemlimit. #3895
* [FEATURE] Add support for GOMAXPROCS, enable it via the feature
flag --enable-feature=auto-gomaxprocs. #3837
* [FEATURE] Add support for limits of silences including the
maximum number of active and pending silences, and the maximum
size per silence (in bytes). You can use the flags
--silences.max-silences and --silences.max-silence-size-bytes
to set them accordingly #3852 #3862 #3866 #3885 #3886 #3877
* [FEATURE] Muted alerts now show whether they are suppressed or
not in both the /api/v2/alerts endpoint and the Alertmanager
UI. #3793 #3797 #3792
* [ENHANCEMENT] Add support for content, username and avatar_url
in the Discord integration. content and username also support
templating. #4007
* [ENHANCEMENT] Only invalidate the silences cache if a new
silence is created or an existing silence replaced - should
improve latency on both GET api/v2/alerts and POST
api/v2/alerts API endpoint. #3961
* [ENHANCEMENT] Add image source label to Dockerfile. To get
changelogs shown when using Renovate #4062
* [ENHANCEMENT] Build using go 1.23 #4071
* [ENHANCEMENT] Support setting a global SMTP TLS configuration.
#3732
* [ENHANCEMENT] The setting room_id in the WebEx integration can
now be templated to allow for dynamic room IDs. #3801
* [ENHANCEMENT] Enable setting message_thread_id for the Telegram
integration. #3638
* [ENHANCEMENT] Support the since and humanizeDuration functions
to templates. This means users can now format time to more
human-readable text. #3863
* [ENHANCEMENT] Support the date and tz functions to templates.
This means users can now format time in a specified format and
also change the timezone to their specific locale. #3812
* [ENHANCEMENT] Latency metrics now support native histograms.
#3737
* [ENHANCEMENT] Add full width to adaptive card for msteamsv2
#4135
* [ENHANCEMENT] Add timeout option for webhook notifier. #4137
* [ENHANCEMENT] Update config to allow showing secret values when
marshaled #4158
* [ENHANCEMENT] Enable templating for Jira project and issue_type
#4159
* [BUGFIX] Fix the SMTP integration not correctly closing an SMTP
submission, which may lead to unsuccessful dispatches being
marked as successful. #4006
* [BUGFIX] The ParseMode option is now set explicitly in the
Telegram integration. If we don't HTML tags had not been parsed
by default. #4027
* [BUGFIX] Fix a memory leak that was caused by updates silences
continuously. #3930
* [BUGFIX] Fix hiding secret URLs when the URL is incorrect.
#3887
* [BUGFIX] Fix a race condition in the alerts - it was more of a
hypothetical race condition that could have occurred in the
alert reception pipeline. #3648
* [BUGFIX] Fix a race condition in the alert delivery pipeline
that would cause a firing alert that was delivered earlier to
be deleted from the aggregation group when instead it should
have been delivered again. #3826
* [BUGFIX] Fix version in APIv1 deprecation notice. #3815
* [BUGFIX] Fix crash errors when using url_file in the Webhook
integration. #3800
* [BUGFIX] fix Route.ID() returns conflicting IDs. #3803
* [BUGFIX] Fix deadlock on the alerts memory store. #3715
* [BUGFIX] Fix amtool template render when using the default
values. #3725
* [BUGFIX] Fix webhook_url_file for both the Discord and
Microsoft Teams integrations. #3728 #3745
* [BUGFIX] Fix wechat api link #4084
* [BUGFIX] Fix build info metric #4166
* [BUGFIX] Fix UTF-8 not allowed in Equal field for inhibition
rules #4177
- rebase patch 0001-Default-settings.patch to get it to apply
cleanly
- remove patch 0002-Set-build-flags.patch and instead set GO_FLAGS
environment variable in the spec file
-------------------------------------------------------------------
Mon Mar 18 19:27:36 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 0.27.0:
* [CHANGE] Discord Integration: Enforce max length in message.
#3597
* [CHANGE] API: Removal of all api/v1/ endpoints. These endpoints
now log and return a deprecation message and respond with a
status code of 410. #2970
* [FEATURE] UTF-8 Support: Introduction of support for any UTF-8
character as part of label names and matchers. Please read more
below. #3453, #3483, #3567, #3570
* [FEATURE] Metrics: Introduced the experimental feature flag
--enable-feature=receiver-name-in-metrics to include the
receiver name in the following metrics: #3045
alertmanager_notifications_total,
alertmanager_notifications_failed_totall,
alertmanager_notification_requests_total,
alertmanager_notification_requests_failed_total,
alertmanager_notification_latency_seconds
* [FEATURE] Metrics: Introduced a new gauge named
alertmanager_inhibition_rules that counts the number of
configured inhibition rules. #3681
* [FEATURE] Metrics: Introduced a new counter named
alertmanager_alerts_supressed_total that tracks muted alerts,
it contains a reason label to indicate the source of the mute.
#3565
* [ENHANCEMENT] Discord Integration: Introduced support for
webhook_url_file. #3555
* [ENHANCEMENT] Microsoft Teams Integration: Introduced support
for webhook_url_file. #3555
* [ENHANCEMENT] Microsoft Teams Integration: Add support for
summary. #3616
* [ENHANCEMENT] Metrics: Notification metrics now support two new
values for the label reason, contextCanceled and
contextDeadlineExceeded. #3631
* [ENHANCEMENT] Email Integration: Contents of auth_password_file
are now trimmed of prefixed and suffixed whitespace. #3680
* [BUGFIX] amtool: Fixes the error scheme required for webhook
url when using amtool with --alertmanager.url. #3509
* [BUGFIX] Mixin: Fix AlertmanagerFailedToSendAlerts,
AlertmanagerClusterFailedToSendAlerts, and
AlertmanagerClusterFailedToSendAlerts to make sure they ignore
the reason label. #3599
* Removal of API v1
The Alertmanager v1 API has been deprecated since January 2019
with the release of Alertmanager v0.16.0. With the release of
version 0.27.0 it is now removed.
A successful HTTP request to any of the v1 endpoints will log
and return a deprecation message while responding with a status
code of 410.
Please ensure you switch to the v2 equivalent endpoint in your
integrations before upgrading.
* Alertmanager support for all UTF-8 characters in matchers and
label names
Starting with Alertmanager v0.27.0, we have a new parser for
matchers that has a number of backwards incompatible changes.
While most matchers will be forward-compatible, some will not.
Alertmanager is operating a transition period where it supports
both UTF-8 and classic matchers, so it's entirely safe to
upgrade without any additional configuration. With that said,
we recommend the following:
If this is a new Alertmanager installation, we recommend
enabling UTF-8 strict mode before creating an Alertmanager
configuration file. You can enable strict mode with
alertmanager --config.file=config.yml
--enable-feature="utf8-strict-mode".
If this is an existing Alertmanager installation, we recommend
running the Alertmanager in the default mode called fallback
mode before enabling UTF-8 strict mode. In this mode,
Alertmanager will log a warning if you need to make any changes
to your configuration file before UTF-8 strict mode can be
enabled. Alertmanager will make UTF-8 strict mode the default
in the next two versions, so it's important to transition as
soon as possible.
Irrespective of whether an Alertmanager installation is a new
or existing installation, you can also use amtool to validate
that an Alertmanager configuration file is compatible with
UTF-8 strict mode before enabling it in Alertmanager server by
running amtool check-config config.yml and inspecting the log
messages.
Should you encounter any problems, you can run the Alertmanager
with just the classic parser enabled by running alertmanager
--config.file=config.yml --enable-feature="classic-mode". If
so, please submit a bug report via GitHub issues.
-------------------------------------------------------------------
Tue Feb 27 11:20:52 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
- Use %patch -P N instead of deprecated %patchN
-------------------------------------------------------------------
Mon Dec 11 12:15:12 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>
@@ -219,158 +9,100 @@ Mon Dec 11 12:15:12 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>
- Do not create PIE for s390x architecture
-------------------------------------------------------------------
Tue Nov 21 16:24:41 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>
Tue Nov 21 15:32:43 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>
- Rebase 0001-Default-settings.patch
- Drop 0002-Update-prometheus-client-to-version-1.11.1.patch
fixed upstream (now uses v1.15.1)
- Drop 0003-Update-prometheus-exporter-toolkit-to-0.7.3.patch
fixed upstream (now uses v0.10.0)
- Add 0002-Set-build-flags.patch
- Require Go 1.20 or newer for building
- Remove not used build flags
- Create position independent executables (PIE)
- Do not disable stripping the binaries
- Disable striping the binaries only for SLE 15 SP3
- Add System/Monitoring group tag
- Do not generate automatically changelog entries
-------------------------------------------------------------------
Mon Aug 28 11:12:49 UTC 2023 - daniel@molkentin.de
- Update to version 0.26.0:
- Rework service file to use obscpio
* run tar and recompress services at buildtime
* do not generate automatically changelog entries
- Update to version 0.26.0 (jsc#PED-7353):
https://github.com/prometheus/alertmanager/releases/tag/v0.26.0
* (CVE-2023-40577, bsc#1218838): Fix stored XSS via the
/api/v1/alerts endpoint in the Alertmanager UI
* Fast Forward the `main` branch to align with 0.26
* Check the validity of the generatorURL field
* Fix year in 0.26.0-rc.0 entry (#3468)
* Release: fix the version formatting (#3467)
* Revert "Release: Fix version format (#3465)" (#3466)
* Release: Fix version format (#3465)
* Cut v0.26.0 rc.0 (#3447)
* Update docs for slack_config (#3455)
* Treat error response payloads from Slack as errors (#3121)
* Bump github.com/benbjohnson/clock from 1.3.3 to 1.3.5 (#3434)
* Bump github.com/go-openapi/errors from 0.20.3 to 0.20.4 (#3413)
* Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#3414)
* Bump github.com/aws/aws-sdk-go from 1.44.234 to 1.44.317 (#3448)
* if 9093/9094 port is in use, test case will fail (#3320)
* Log the GroupKey and alerts in retry (#3438)
* Update email assets after #3420 (#3440)
* cluster: fix panic when `tls_client_config` is empty
* update the circleCI go orb
* Mixin: Pin the mixtool version in CircleCI
* Update email.html to use "https://schema.org" instead of "https://schema.org" (#3420)
* Bump github.com/prometheus/common from 0.42.0 to 0.44.0
* Build with Go 1.20
* Fix example matchers in docs
* Update common Prometheus files
* fixing the field name for pagerduty image_config as per code https://pkg.go.dev/github.com/prometheus/alertmanager/config\#PagerdutyImage
* Log a warning when repeat_interval is less than group_interval (#3389)
* Add msteams (#3324)
* Document difference between tab and newline in tests (#3383)
* Bump github.com/prometheus/exporter-toolkit from 0.9.1 to 0.10.0
* Bump github.com/cenkalti/backoff/v4 from 4.2.0 to 4.2.1
* Bump github.com/go-openapi/runtime from 0.25.0 to 0.26.0
* Bump go.uber.org/atomic from 1.10.0 to 1.11.0
* Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1
* Bump golang.org/x/net from 0.8.0 to 0.10.0
* notify/webhook: trim space from url_file content
* Add more tests to TestMatchers (#3362)
* Add tests to TestMatchers (#3357)
* Cluster: Add memberlist label configuration option (#3354)
* api/v2: Delete silence respond with 404 when silence is not found (#3352)
* Add support for pushover devices (#3318)
* Slack Notifier: Only return an error when it actually occurs (#3350)
* Bump golang.org/x/text from 0.8.0 to 0.9.0
* Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0
* Bump github.com/benbjohnson/clock from 1.3.0 to 1.3.3
* Bump github.com/rs/cors from 1.8.3 to 1.9.0
* Bump gopkg.in/telebot.v3 from 3.1.2 to 3.1.3
* fix: change receiver model pointer to value (#3338)
* add reason code to slack notifier (#3252)
* fix wechat notifier response field name (#3330)
* add reason code to notifiers (#3307)
* Bump github.com/aws/aws-sdk-go from 1.44.211 to 1.44.234
* Bump github.com/go-openapi/strfmt from 0.21.3 to 0.21.7
* Bump github.com/hashicorp/golang-lru/v2 from 2.0.1 to 2.0.2
* Bump golang.org/x/tools from 0.6.0 to 0.7.0
* docs: document the new proxy-related settings
* Update common Prometheus files
* Add receiver name to the alerts page (#3289)
* Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2
* Metrics: Silence maintenance success and failure (#3285)
* Metrics: Notification log maintenance success and failure (#3286)
* Fix comments as per Josh's feedback (#3284)
* Fix corruption in templates that use title function (#3278)
* Added note on data retention to documentation for repeat_interval (#3147)
* Make TrimSpace available for use in the template (#3281)
* support loading webhook URL from a file (#3223)
* Bump golang.org/x/tools from 0.4.0 to 0.6.0
* Bump github.com/go-openapi/validate from 0.22.0 to 0.22.1 (#3269)
* Bump golang.org/x/text from 0.6.0 to 0.7.0
* Bump github.com/stretchr/testify from 1.8.1 to 1.8.2
* Bump github.com/aws/aws-sdk-go from 1.44.191 to 1.44.211
* replace atomic for uber fix atomic
* Fix silences flaky test
* Seperate the template creating functions for as-lib use (#3225)
* fix gracefully-exiting stuck due to adding one more for `WaitGroup` (#3260)
* Update common Prometheus files (#3257)
* Add `--id` flag to `amtool silence query` (#3241)
* Implement Stringer interface for Pairs and KVs (#3256)
* Set cache control headers in V2 API to mirror V1 (#3195)
* add status code label to the numTotalFailedNotifications metric (#3094)
* mark webhook URL as a secret (#3228)
* Bump golang.org/x/net from 0.4.0 to 0.5.0
* Bump github.com/aws/aws-sdk-go from 1.44.171 to 1.44.191
* Bump golang.org/x/text from 0.5.0 to 0.6.0
* Bump github.com/gofrs/uuid from 4.3.1+incompatible to 4.4.0+incompatible
* Bump github.com/go-openapi/spec from 0.20.7 to 0.20.8
* Support loading Telegram bot token from file
* Update common Prometheus files
* Refactor nflog configuration options to make it similar to Silences. (#3220)
* support loading pushover secrets from files (#3200)
* Multiple improvements to Alertmanager configuration docs
* Changes receiver and inhibition rules arrays to slices of value items
* test: reduce flakiness of acceptance tests
* Add missing docs for Discord notifier
* Bump github.com/rs/cors from 1.8.2 to 1.8.3
* Bump github.com/aws/aws-sdk-go from 1.44.162 to 1.44.171
* Telegram default parse_mode has been changed to HTML
* Synchronize common files from prometheus/prometheus (#3191)
* bump:hashicorp/golang-lru to v2,aws-sdk-go,prometheus/common (#3182)
* feat: add template.FromGlobsWithAdditionalFuncs (#3174)
* Fixup: make signal handlers a bit simpler.
-------------------------------------------------------------------
Wed Mar 22 10:08:02 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- rework spec file to use obscpio
- run tar and recompress services at buildtime
-------------------------------------------------------------------
Wed Feb 15 12:39:10 UTC 2023 - Ferdinand Thiessen <rpm@fthiessen.de>
* Configuration: Fix empty list of receivers and inhibit_rules
would cause the alertmanager to crash
* Templating: Fixed a race condition when using the title
function. It is now race-safe
* API: Fixed duplicate receiver names in the api/v2/receivers API
endpoint
* API: Attempting to delete a silence now returns the correct
status code, 404 instead of 500
* Clustering: Fixes a panic when tls_client_config is empty
* Webhook: url is now marked as a secret. It will no longer show
up in the logs as clear-text
* Metrics: New label reason for
alertmanager_notifications_failed_total metric to indicate the
type of error of the alert delivery
* Clustering: New flag --cluster.label, to help to block any
traffic that is not meant for the cluster
* Integrations: Add Microsoft Teams as a supported integration
- Update to version 0.25.0:
* New notifier: Webex
* telegram: use HTML template with HTML parse mode
* Add support for reading VictorOps API key from file
* Add support for reading PagerDuty secrets from files
* Add timezone support to time intervals.
* Allow first day of week to be Sunday or Monday
* Enable HTTP 2 again
* Secure cluster traffic via mutual TLS
* EmailConfig: Use CanonicalMIMEHeaderKey instead of TitleCasing for headers
* Reduce memory utilization in downstream projects creating
multiple Alertmanager instances
* Correcting the condition for updating a silence
Earlier was checking upto nanosecond precision but reduced to second
as the UI only sends upto millisecond
* Remove the dedicated field to APIURL in favour of the configuration one
* Remove the `bot_token`
* Fix casing in victorops log message
* Fix one last log level that I missed
https://github.com/prometheus/alertmanager/releases/tag/v0.25.0
* Fail configuration loading if api_key and api_key_file are
defined at the same time
* Fix the alertmanager_alerts metric to avoid counting resolved
alerts as active. Also added a new alertmanager_marked_alerts
metric that retain the old behavior
* Trim contents of Slack API URLs when reading from files
* amtool: Avoid panic when the label value matcher is empty
* Fail configuration loading if api_url is empty for OpsGenie
* Fix email template for resolved notifications
* Update documentation
* Update dependencies
- Update required Go version to 1.19
- Rebased 0001-Default-settings.patch
- Drop 0002-Update-prometheus-client-to-version-1.11.1.patch
fixed upstream (now uses v1.14.0)
* Add proxy_url support for OAuth2 in HTTP client configuration
* Reload TLS certificate and key from disk when updated
* Add Discord integration
* Add Webex integration
* Add min_version support to select the minimum TLS version in
HTTP client configuration
* Add max_version support to select the maximum TLS version in
HTTP client configuration
* Emit warning logs when truncating messages in notifications
* Support HEAD method for the /-/healty and /-/ready endpoints
* Add support for reading global and local SMTP passwords from
files
* UI: Add 'Link' button to alerts in list
* UI: Allow to choose the first day of the week as Sunday or
Monday
- Update to version 0.24.0:
https://github.com/prometheus/alertmanager/releases/tag/v0.24.0
* Fix HTTP client configuration for the SNS receiver
* Fix unclosed file descriptor after reading the silences
snapshot file
* Fix field names for mute_time_intervals in JSON marshaling
* Ensure that the root route doesn't have any matchers
* Truncate the message's title to 1024 chars to avoid hitting
Slack limits
* Fix the default HTML email template (email.default.html) to
match with the canonical source
* Detect SNS FIFO topic based on the rendered value
* Avoid deleting and recreating a silence when an update is
possible
* api/v2: Return 200 OK when deleting an expired silence
* amtool: Fix the silence's end date when adding a silence. The
end date is (start date + duration) while it used to be
(current time + duration). The new behavior is consistent with
the update operation
* Add the /api/v2 prefix to all endpoints in the OpenAPI
specification and generated client code
* Add --cluster.tls-config experimental flag to secure cluster
traffic via mutual TLS
* Add Telegram integration
-------------------------------------------------------------------
Fri Mar 10 10:34:36 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>
- Prevent authentication bypass via cache poisoning
(bsc#1208051, CVE-2022-46146)
- Add 0003-Update-prometheus-exporter-toolkit-to-0.7.3.patch
-------------------------------------------------------------------
Tue Jul 19 08:10:44 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>
@@ -592,7 +324,7 @@ Fri Feb 8 10:42:37 UTC 2019 - Jan Fajerski <jan.fajerski@suse.com>
-------------------------------------------------------------------
Thu Mar 15 12:46:43 UTC 2018 - jan.fajerski@suse.com
- fix config token in alermanager.yml hipchat_url -> hipchat_api_url
- fix config token in alermanager.yml hipchat_url -> hipchat_api_url
-------------------------------------------------------------------
Wed Mar 14 07:34:17 UTC 2018 - jan.fajerski@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package golang-github-prometheus-alertmanager
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,9 +15,8 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: golang-github-prometheus-alertmanager
Version: 0.28.1
Version: 0.26.0
Release: 0
Summary: Prometheus Alertmanager
License: Apache-2.0
@@ -29,16 +28,22 @@ Source2: prometheus-alertmanager.service
Source3: alertmanager.yml
# Lifted from Debian's alertmanager package
Patch1: 0001-Default-settings.patch
Patch2: 0002-Bump-x-net.patch
# Build as position independent executables (PIE)
Patch2: 0002-Set-build-flags.patch
BuildRequires: fdupes
BuildRequires: golang-github-prometheus-promu >= 0.12.0
BuildRequires: golang(API) >= 1.23
BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.20
Requires(pre): group(prometheus)
Requires(pre): user(prometheus)
Provides: prometheus-alertmanager = %{version}
ExcludeArch: s390
%{?systemd_ordering}
%if 0%{?sle_version} == 150300 && !0%{?is_opensuse}
%{go_nostrip}
%endif
%description
The Alertmanager handles alerts sent by client applications such as the
Prometheus server. It takes care of deduplicating, grouping, and routing
@@ -46,20 +51,22 @@ them to the correct receiver integration such as email, PagerDuty, or
OpsGenie. It also takes care of silencing and inhibition of alerts.
%prep
%ifarch s390x
%autosetup -N -a1 -n alertmanager-%{version}
%patch -P 1 -p1
%else
%autosetup -a1 -p1 -n alertmanager-%{version}
%endif
%build
%ifarch %{ix86} armv7l armv7hl s390x
export BUILD_CGO_FLAG="--cgo"
%endif
%ifnarch ppc64
export GOFLAGS="-buildmode=pie"
%endif
promu build -v $BUILD_CGO_FLAG
%goprep github.com/prometheus/alertmanager
GOPATH=%{_builddir}/go promu build -v
%install
install -D -m0755 %{_builddir}/alertmanager-%{version}/alertmanager %{buildroot}/%{_bindir}/prometheus-alertmanager
%goinstall
install -D -m0755 %{_builddir}/alertmanager-%{version}/alertmanager %{buildroot}/%{_bindir}/alertmanager
install -D -m0755 %{_builddir}/alertmanager-%{version}/amtool %{buildroot}/%{_bindir}/amtool
mv %{buildroot}%{_bindir}/alertmanager %{buildroot}%{_bindir}/prometheus-alertmanager
install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/prometheus-alertmanager.service
install -Dd -m 0755 %{buildroot}%{_sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcprometheus-alertmanager
@@ -69,11 +76,6 @@ install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/alertmanager
%fdupes %{buildroot}/%{_prefix}
%check
go test -short -x `go list ./... | grep -v cluster`
%{buildroot}%{_bindir}/prometheus-alertmanager --version
%{buildroot}%{_bindir}/amtool --version
%pre
%service_add_pre prometheus-alertmanager.service

BIN
vendor.tar.gz (Stored with Git LFS)

Binary file not shown.