Add alertmanager 0.11.0 test files

This commit is contained in:
Łukasz Mierzwa
2017-11-17 21:54:22 -08:00
parent 3d3c32439e
commit 5602181b0a
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ NAME := unsee
VERSION := $(shell git describe --tags --always --dirty='-dev')
# Alertmanager instance used when running locally, points to mock data
MOCK_PATH := $(CURDIR)/internal/mock/0.10.0
MOCK_PATH := $(CURDIR)/internal/mock/0.11.0
ALERTMANAGER_URIS := "mock:file://$(MOCK_PATH)"
# Listen port when running locally
PORT := 8080

View File

@@ -3,7 +3,7 @@ DOCKER_IMAGE := prom/alertmanager
DOCKER_ARGS := --name $(DOCKER_NAME) --rm -d -p 9093:9093 -v $(CURDIR)/alertmanager.yml:/etc/alertmanager/config.yml
# list of Alertmanager versions to generate mock files for
VERSIONS := 0.4.0 0.4.1 0.4.2 0.5.0 0.5.1 0.6.0 0.6.2 0.7.0 0.7.1 0.8.0 0.9.0 0.9.1 0.10.0
VERSIONS := 0.4.0 0.4.1 0.4.2 0.5.0 0.5.1 0.6.0 0.6.2 0.7.0 0.7.1 0.8.0 0.9.0 0.9.1 0.10.0 0.11.0
%/.ok: livemock.py
$(eval VERSION := $(word 1, $(subst /, ,$@)))