add initial version of Grafana updater

This commit is contained in:
Frederic Branczyk
2016-10-19 18:02:18 +02:00
parent e1625fecba
commit 1963f86da9
206 changed files with 110879 additions and 0 deletions

20
grafana-watcher/Makefile Normal file
View File

@@ -0,0 +1,20 @@
all: build
FLAGS =
ENVVAR = GOOS=linux GOARCH=amd64 CGO_ENABLED=0
REGISTRY = quay.io/coreos
TAG = latest
build:
$(ENVVAR) go build -o grafana-watcher main.go
image: build
docker build -t ${REGISTRY}/grafana-watcher:$(TAG) .
push: image
docker push ${REGISTRY}/grafana-watcher:$(TAG)
clean:
rm -f grafana-watcher
.PHONY: all build image push clean