small fixes

This commit is contained in:
Abel Luck 2023-11-07 15:38:19 +01:00
parent 856fe9f76f
commit d8bbf8ed47
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ APP_VERSION := $(shell git rev-parse --short HEAD)
DOCKER ?= docker
docker-build:
DOCKER_BUILDKIT=1 $(DOCKER) build -f docker/Dockerfile \
DOCKER_BUILDKIT=1 $(DOCKER) build -f Dockerfile \
--build-arg=$(APP_VERSION) \
-t matrix-ops-bot:latest \
.
@ -32,5 +32,4 @@ check:
$(MAKE) fmt
$(MAKE) lint
$(MAKE) types
$(MAKE) bandit
$(MAKE) test

View file

@ -1,6 +1,7 @@
from ops_bot.alertmanager import prometheus_alert_to_markdown
import json
from ops_bot.alertmanager import prometheus_alert_to_markdown
payload = json.loads(
"""
{