Release 0.1.0

- add packaging via goreleaser
- finaliza changelog for 0.1.0
- add debian changelog and copyright
- add configuration for golangci-lint
This commit is contained in:
Jan Dittberner 2024-09-26 15:44:21 +02:00
parent 59692ae698
commit 902d4cb310
6 changed files with 232 additions and 8 deletions

View file

@ -2,7 +2,7 @@
object NotificationCommand "matrix-host-notification" {
import "plugin-notification-command"
command = [ SysconfDir + "/icinga2/scripts/matrix-host-notification" ]
command = [ PluginDir + "/matrix-host-notification" ]
arguments += {
"-4" = "$notification_address$"
"-6" = "$notification_address6$"
@ -61,7 +61,7 @@ object NotificationCommand "matrix-host-notification" {
object NotificationCommand "matrix-service-notification" {
import "plugin-notification-command"
command = [ SysconfDir + "/icinga2/scripts/matrix-service-notification" ]
command = [ PluginDir + "/matrix-service-notification" ]
arguments += {
"-4" = {
required = true
@ -99,10 +99,6 @@ object NotificationCommand "matrix-service-notification" {
required = true
value = "$notification_servicestate$"
}
"-t" = {
required = true
value = "$notification_type$"
}
"-u" = {
required = true
value = "$notification_servicedisplayname$"