Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable .ez creation via rebar3 archive #1

Merged
merged 1 commit into from Feb 20, 2019
Merged

Enable .ez creation via rebar3 archive #1

merged 1 commit into from Feb 20, 2019

Conversation

gerhard
Copy link
Contributor

@gerhard gerhard commented Feb 19, 2019

The resulting .ez file that can be added to RabbitMQ as a plugin, which
in turn is a dependency of the enabling prometheus_rabbitmq_exporter
plugin.

The main requirement is that the Erlang version used to compile the
.beam files that end up in the .ez is the same version (or older) than
the version used to run RabbitMQ. For example, if the Erlang used to
compile is 21.0, RabbitMQ can be run on Erlang >= 21.0, but not earlier
version. The platform doesn't matter (it's OK to compile & build the .ez
on Darwin and run on Linux).

Make git ignore *.ez files

The resulting .ez file that can be added to RabbitMQ as a plugin, which
in turn is a dependency of the enabling prometheus_rabbitmq_exporter
plugin.

The main requirement is that the Erlang version used to compile the
.beam files that end up in the .ez is the same version (or older) than
the version used to run RabbitMQ. For example, if the Erlang used to
compile is 21.0, RabbitMQ can be run on Erlang >= 21.0, but not earlier
version. The platform doesn't matter (it's OK to compile & build the .ez
on Darwin and run on Linux).

Make git ignore *.ez files
@gerhard
Copy link
Contributor Author

gerhard commented Feb 19, 2019

@gerhard
Copy link
Contributor Author

gerhard commented Feb 19, 2019

@deadtrickster after merge, can you publish a new version to hex.pm please so that I can reference as an Erlang.mk dependency? E.g.:

ACCEPT_VERSION = 0.3.4
dep_accept = hex $(ACCEPT_VERSION)

@coveralls
Copy link

Coverage Status

Coverage remained the same at 93.878% when pulling 43e68df on rabbitmq:rebar-archive into 9b52b6c on deadtrickster:master.

@deadtrickster
Copy link
Owner

No idea why it's red, merging anyway. Thanks!

@deadtrickster deadtrickster merged commit 02ef071 into deadtrickster:master Feb 20, 2019
@michaelklishin michaelklishin deleted the rebar-archive branch February 20, 2019 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants