You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that GitHub is considering ubuntu-24.04 as ubuntu-latest, it is expected that in the near future ubuntu-20.04 will be marked as obsolete. Once that time arrives, we will have to upgrade our actions from ubuntu-20.04 to ubuntu-22.04 or higher.
Erlang/OTP install methods
When the runner doesn't include Erlang/OTP (for example ubuntu-22.0.4 and higher), or we want to use a specific erlang version, our workflows use two alternative methods to install Erlang, depending on the requirements of the workflow:
A) Erlang Docker container, only suitable for simple tasks; doesn't work with complex tasks like ejabberd's ci, runtime...
As ejabberd supports from Erlang/OTP 20.0 up, for complex tests like ejabberd's ci and runtime, we need to use ubuntu-20.04. In ubuntu-22.04 there's no way to install Erlang/OTP older than 24.2 to use it for complex tests.
We support two latest LTS Ubuntu versions, so Ubuntu 22 will still be available in near future.
In the future when ubuntu-20.04 runner is deleted and we are forced to use ubuntu-22.04, I expect that there will be no way to test ejabberd with Erlang/OTP lower than 24.2. When that time arrives, we may have to raise the Erlang/OTP requirement in ejabberd to 24.2.
The text was updated successfully, but these errors were encountered:
Ubuntu runners
GitHub Actions provides several runners where we can run our workflows:
Now that GitHub is considering ubuntu-24.04 as ubuntu-latest, it is expected that in the near future ubuntu-20.04 will be marked as obsolete. Once that time arrives, we will have to upgrade our actions from ubuntu-20.04 to ubuntu-22.04 or higher.
Erlang/OTP install methods
When the runner doesn't include Erlang/OTP (for example ubuntu-22.0.4 and higher), or we want to use a specific erlang version, our workflows use two alternative methods to install Erlang, depending on the requirements of the workflow:
A) Erlang Docker container, only suitable for simple tasks; doesn't work with complex tasks like ejabberd's ci, runtime...
B)
erlef/setup-beam
action is suitable for complex tasks, but in ubuntu-22.04 the lower erlang supported is 24.2.Our Ubuntu usage
This is a summary of what we are using right now:
As ejabberd supports from Erlang/OTP 20.0 up, for complex tests like ejabberd's ci and runtime, we need to use ubuntu-20.04. In ubuntu-22.04 there's no way to install Erlang/OTP older than 24.2 to use it for complex tests.
What to expect in the future
As mentioned in actions/runner-images#10636
In the future when ubuntu-20.04 runner is deleted and we are forced to use ubuntu-22.04, I expect that there will be no way to test ejabberd with Erlang/OTP lower than 24.2. When that time arrives, we may have to raise the Erlang/OTP requirement in ejabberd to 24.2.
The text was updated successfully, but these errors were encountered: