You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wubloader/monitoring/Makefile

16 lines
375 B
Makefile

REQUIRED_FILES := grafana/tls.key grafana/tls.crt
all: .prometheus.uptodate $(REQUIRED_FILES)
.PHONY: all
.prometheus.uptodate: Dockerfile.prometheus prometheus.yml
docker build -t wubloader_prometheus:latest -f Dockerfile.prometheus .
touch "$@"
prometheus.yml: prometheus.jsonnet
./generate-config
$(REQUIRED_FILES):
echo "Missing required file: $@" >&2 && exit 1