Commit Graph

11 Commits

Author SHA1 Message Date
Luca Bigliardi
c122337b53 Add config option to skip SSL certs checks
This addresses https://github.com/google/alertmanager-irc-relay/issues/3

Signed-off-by: Luca Bigliardi <shammash@google.com>
2020-03-05 08:49:31 +00:00
Luca Bigliardi
286efdd365 Update modules
Signed-off-by: Luca Bigliardi <shammash@google.com>
2020-03-05 08:47:44 +00:00
Luca Bigliardi
26ff8a17be
Merge pull request #2 from gouthamve/send_upstream
Minor cleanup
2020-02-01 00:17:44 +00:00
Ben Kochie
7926f9d7c3
Add Go modules vendoring.
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-01-30 17:43:17 +01:00
Goutham Veeramachaneni
219d3672b7
Clean up so that lint would pass
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
2020-01-30 17:38:45 +01:00
Luca Bigliardi
ae6594c606 Add config option to deliver alerts with PRIVMSG
Add `use_privmsg` config option to deliver alerts with PRIVMSG instead
of the default NOTICE.

This addresses a use case described in
https://github.com/google/alertmanager-irc-relay/pull/1 .

Signed-off-by: Luca Bigliardi <shammash@google.com>
2020-01-25 18:03:13 +00:00
Luca Bigliardi
4e1aeaf931 s/notice/msg/
Use a more generic name as there is soon going to be support for PRIVMSG
(see https://github.com/google/alertmanager-irc-relay/pull/1 for
background).

This introduces a backward-incompatible change in the config file for
these two parameters:
- notice_template -> msg_template
- notice_once_per_alert_group -> msg_once_per_alert_group

I am not introducing the new parameters with a deprecation plan since
both parameters are relatively secondary to the core functioning of the
bot (and this is a free time project after all).

Signed-off-by: Luca Bigliardi <shammash@google.com>
2020-01-25 16:42:59 +00:00
Luca Bigliardi
581677b635 Update tests to handle new fingerprint field
Signed-off-by: Luca Bigliardi <shammash@google.com>
2020-01-25 16:16:10 +00:00
Luca Bigliardi
aebe137d2e Add basic CircleCI config
Signed-off-by: Luca Bigliardi <shammash@google.com>
2018-06-07 15:07:38 +01:00
Luca Bigliardi
60632b16e6 Initial code check-in
Signed-off-by: Luca Bigliardi <shammash@google.com>
2018-05-21 15:49:47 +01:00
Luca Bigliardi
522822e703 Initial commit
Signed-off-by: Luca Bigliardi <shammash@google.com>
2018-05-21 15:11:55 +01:00