1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-16 01:06:27 +00:00
prometheus-operator/Makefile
2016-11-24 17:46:12 +01:00

20 lines
465 B
Makefile

all: build
REPO = quay.io/coreos/prometheus-operator
TAG = latest
build:
./scripts/check_license.sh
go build github.com/coreos/prometheus-operator/cmd/operator
container:
GOOS=linux $(MAKE) build
docker build -t $(REPO):$(TAG) .
e2e:
go test -v ./test/e2e/ --kubeconfig "$(HOME)/.kube/config" --operator-image=quay.io/coreos/prometheus-operator
clean-e2e:
kubectl delete namespace prometheus-operator-e2e-tests
.PHONY: all build container e2e clean-e2e