diff options
author | Giancarlo Rubio <gianrubio@gmail.com> | 2017-01-24 11:19:44 +0100 |
---|---|---|
committer | Giancarlo Rubio <gianrubio@gmail.com> | 2017-04-12 10:47:21 +0200 |
commit | 14382439345d42c8e6e449c3b271e91296d8a568 (patch) | |
tree | 2c19d6d3a925e89620a660c8d526a19fcb99854e /Makefile | |
parent | 6eafa51fa81b24b50dd819a47540db2db8948a39 (diff) | |
download | prometheus_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-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 | ||
79 | test-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 | ||