Skip to content

Commit

Permalink
bump version and add docker shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
deadtrickster committed Dec 21, 2017
1 parent 7da1051 commit 8a65294
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,25 @@ DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
ERLANG_MK_REPO = https://github.com/rabbitmq/erlang.mk.git
ERLANG_MK_COMMIT = rabbitmq-tmp

.PHONY: docker_build docker_push docker_latest docker_latest_pure

docker_build:
docker build -t deadtrickster/rabbitmq_prometheus\:3.7.1 .
docker build -t deadtrickster/rabbitmq_prometheus\:latest .
docker build -t deadtrickster/rabbitmq_prometheus\:3.7.1-pure -f Dockerfile.pure .
docker build -t deadtrickster/rabbitmq_prometheus\:latest-pure -f Dockerfile.pure .

docker_push:
docker push deadtrickster/rabbitmq_prometheus\:3.7.1
docker push deadtrickster/rabbitmq_prometheus\:latest
docker push deadtrickster/rabbitmq_prometheus\:3.7.1-pure
docker push deadtrickster/rabbitmq_prometheus\:latest-pure

docker_latest:
-docker run -p15672\:15672 deadtrickster/rabbitmq_prometheus\:latest

docker_pure:
-docker run -p15672\:15672 deadtrickster/rabbitmq_prometheus\:latest-pure

include rabbitmq-components.mk
include erlang.mk
2 changes: 1 addition & 1 deletion src/prometheus_rabbitmq_exporter.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, prometheus_rabbitmq_exporter,
[{description, "RabbitMQ Prometheus.io metrics exporter"},
{vsn, "v3.7.0.1"},
{vsn, "v3.7.1.1"},
{modules, []},
{registered, []},
{env, []},
Expand Down

0 comments on commit 8a65294

Please sign in to comment.