Skip to content

Commit 6431ddc

Browse files
committed
fix(Makefile): run-test
1 parent 6cc7d90 commit 6431ddc

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@ run-test: ## Run a local instance with example webhook and email settings.
9191
--expected-every=5s \
9292
--alerting-delay=3s \
9393
--name=prometheus \
94+
--webhook.ops.log-response=full \
9495
--webhook.ops.url=https://slack.com/api/chat.postMessage \
9596
--webhook.ops.headers="Authorization=Bearer $${SLACK_TOKEN}" \
9697
--webhook.ops.template=builtin:slack-chat-post-message \
97-
--webhook.ops.subject-template='{{ if .Resolved }}[RESOLVED]{{ else }}[OVERDUE]{{ end }} Check-in {{ .CheckInName }}' \
98+
--webhook.ops.title-template='{{ if .Resolved }}[RESOLVED]{{ else }}[OVERDUE]{{ end }} Check-in {{ .CheckInName }}' \
9899
--webhook.ops.custom-data=channel="$${SLACK_CHANNEL:-alertmanager}" \
99100
--webhook.ops.send-resolved \
100101
--email.ops.smtp-host=smtp.gmail.com \
@@ -104,7 +105,7 @@ run-test: ## Run a local instance with example webhook and email settings.
104105
--email.ops.from="$${EMAIL_FROM}" \
105106
--email.ops.to="$${EMAIL_TO}" \
106107
--email.ops.template=builtin:email-html \
107-
--email.ops.subject-template='{{ if .Resolved }}[RESOLVED]{{ else }}[OVERDUE]{{ end }} Check-in {{ .CheckInName }}' \
108+
--email.ops.title-template='{{ if .Resolved }}[RESOLVED]{{ else }}[OVERDUE]{{ end }} Check-in {{ .CheckInName }}' \
108109
--email.ops.send-resolved
109110

110111
##@ Endpoint smoke tests

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/containeroo/httpgrace v0.1.2
77
github.com/containeroo/httpprefix v0.0.2
88
github.com/containeroo/httputils v0.0.1
9-
github.com/containeroo/notifykit v0.0.8
9+
github.com/containeroo/notifykit v0.0.9
1010
github.com/containeroo/tinyflags v0.0.79
1111
github.com/containeroo/uuidv7 v0.0.2
1212
github.com/prometheus/client_golang v1.23.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ github.com/containeroo/httpprefix v0.0.2 h1:OvnhriCPVEoF1+12TXrou89smFcWqEsKTuZM
88
github.com/containeroo/httpprefix v0.0.2/go.mod h1:RUVtNKpy2OZ24ijpBsR3XijBASISwBm22da9j41Y3m8=
99
github.com/containeroo/httputils v0.0.1 h1:W9SbW6nbmnGgaEOXRH5nY9ZwLarBo3+FLUCx6EtS2mc=
1010
github.com/containeroo/httputils v0.0.1/go.mod h1:TrmDptapH6SBe6CeHFWY2kxy63O/9ZWBWrLKpc2SFjI=
11-
github.com/containeroo/notifykit v0.0.8 h1:VmSuAJtStW04+PwDwH/e/I1IxMiaYua2JW6sz/oaXBs=
12-
github.com/containeroo/notifykit v0.0.8/go.mod h1:jNdY0ufZf+DhNK3qA/ZSJfd+/dfrSpD/spbUzYlANPk=
11+
github.com/containeroo/notifykit v0.0.9 h1:d5xbFF0s4XWzEZTN9WkiuFqr2wUW7anj9LE9be2SsqI=
12+
github.com/containeroo/notifykit v0.0.9/go.mod h1:jNdY0ufZf+DhNK3qA/ZSJfd+/dfrSpD/spbUzYlANPk=
1313
github.com/containeroo/tinyflags v0.0.79 h1:2cNIoTlwgZFYcy6el2ZEBgWiiLAWHlLRkduT+8I2+Zo=
1414
github.com/containeroo/tinyflags v0.0.79/go.mod h1:5CGkQy0A+90ubNaEDJanfXOlE4+aYHp4OBwCpXM1yDM=
1515
github.com/containeroo/tmplfuncs v0.0.2 h1:Gzls/3c+Bcyc76PuPOKOVgG9boKM9/5todkIqlO597Q=

0 commit comments

Comments
 (0)