aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGiancarlo Rubio <gianrubio@gmail.com>2017-01-24 11:19:44 +0100
committerGiancarlo Rubio <gianrubio@gmail.com>2017-04-12 10:47:21 +0200
commit14382439345d42c8e6e449c3b271e91296d8a568 (patch)
tree2c19d6d3a925e89620a660c8d526a19fcb99854e /Makefile
parent6eafa51fa81b24b50dd819a47540db2db8948a39 (diff)
downloadprometheus_node_collector-14382439345d42c8e6e449c3b271e91296d8a568.tar.bz2
prometheus_node_collector-14382439345d42c8e6e449c3b271e91296d8a568.tar.xz
prometheus_node_collector-14382439345d42c8e6e449c3b271e91296d8a568.zip
test docker image before pushing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 78dcc97..1ccd4d0 100644
--- a/Makefile
+++ b/Makefile
@@ -76,6 +76,10 @@ docker:
76 @echo ">> building docker image" 76 @echo ">> building docker image"
77 @docker build -t "$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG)" . 77 @docker build -t "$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG)" .
78 78
79test-docker:
80 @echo ">> testing docker image"
81 ./test_image.sh "$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG)" 9100
82
79$(GOPATH)/bin/promu promu: 83$(GOPATH)/bin/promu promu:
80 @GOOS= GOARCH= $(GO) get -u github.com/prometheus/promu 84 @GOOS= GOARCH= $(GO) get -u github.com/prometheus/promu
81 85