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

Allow Erlang version on EL8 to be pinned, and by default use < 25 #311

Merged
merged 3 commits into from
May 19, 2022

Conversation

amanda11
Copy link
Contributor

@amanda11 amanda11 commented May 19, 2022

Install on EL8 started to fail on RabbitMQ install. Problems reported "please re-compile this module with an Erlang/OTP 25 compiler"

Erlang 25 has been pushed to the RabbitMQ erlang repository, but according to https://www.rabbitmq.com/which-erlang.html erlang 25 support is preview.

Update so that erlang version can be specified, and make the default value 24* so do not pick up 25.

Partially resolves: #311

@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines. Very easy to review. label May 19, 2022
@@ -5,3 +5,5 @@ rabbitmq_plugins: []
# - rabbitmq_management
# Set to "present" to install latest version, or specify specific version
rabbitmq_version: "present"
# Use version or wildcard
erlang_el8_version: "24*"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
erlang_el8_version: "24*"
erlang_version: "24*"

It's not el8 specific, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not el8 specific, right?

Only EL8 failed last night. Looking at the packagecloud rabbit repo. EL8 has 25*, 24*, 23*. EL7 only has 23*.
So problem is EL8 specific at moment, and likely to not update EL7 as they never updated it for 24.

But you are right I at least need to do something as the file changed affects EL7 and EL8, but I'll have to have default versions for the two :-(

Copy link
Member

@cognifloyd cognifloyd May 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, you can add an extra when condition on the task that only uses the pinned version for el8

@amanda11 amanda11 marked this pull request as draft May 19, 2022 14:58
@amanda11 amanda11 marked this pull request as ready for review May 19, 2022 15:50
@amanda11 amanda11 merged commit 02b5ffb into master May 19, 2022
@amanda11 amanda11 deleted the fix_el8 branch May 19, 2022 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S PR that changes 10-29 lines. Very easy to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants