StackStorm / st2-packages

StackStorm deb/rpm packages (automated docker build pipeline)
https://stackstorm.com/
27 stars 59 forks source link

Use erlang < 25 on EL8 #718

Closed amanda11 closed 2 years ago

amanda11 commented 2 years ago

Update Bash installer for 3.7 to use erlang24*

RabbitMQ have released a newer version 3.10.2 which now manages to start with erlang 25. But they still report on https://www.rabbitmq.com/which-erlang.html that the erlang 25 support is preview. Therefore probably safer to stick with using 24*

amanda11 commented 2 years ago

@armab I've cherrypicked the st2-packages for the 3.7 branch in this PR, but I'd appreciate your check as to process to what we need to do to cherry pick for 3.7. We shouldn't need new packages built as its just the bash installer we're updateing.

As per @bishopbm1 comment in slack, the new RabbitMQ 3.10.2 will now start with erlang 25 so even without this change we should be able to install ok now on EL8. But given that erlang 25 is "preview" support, would it still be better to use 24.* on erlang anyway.

arm4b commented 2 years ago

The latest stable branch is referenced in the st2_bootstrap.sh script which is an entry point for the curl|bash installer. https://github.com/StackStorm/st2-packages/blob/ed1cfe29a6202c444a5626773bdf973e22605b92/scripts/st2_bootstrap.sh#L18-L19

From that, the installer will poin to the v3.7 branch scripts here: https://github.com/StackStorm/st2-packages/blob/ed1cfe29a6202c444a5626773bdf973e22605b92/scripts/st2_bootstrap.sh#L166