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

CI: use kerl/linuxbrew to install specific erlang versions #100

Closed
andreineculau opened this issue Jan 6, 2021 · 3 comments · Fixed by #101
Closed

CI: use kerl/linuxbrew to install specific erlang versions #100

andreineculau opened this issue Jan 6, 2021 · 3 comments · Fixed by #101

Comments

@andreineculau
Copy link
Member

andreineculau commented Jan 6, 2021

see #98 (comment)

to clarify: we should be able to test with any desired erlang version, including those disabled in dfe9348#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f

FWIW I see kerl supports only 20+ https://github.com/kerl/kerl#otp-support-policy

@andreineculau
Copy link
Member Author

reverted using kerl, because it takes e.g. 13 minutes to install an erlang version. seems a waste even for the CI...

for summary:

  • we need git 2.18+ because of how actions/checkout@v2 is written (could be changed not to need 2.18 for the sake of using git protocol v2)
  • we cannot get 2.18+ installed on debian jessie (which some erlang containers are based on) without errors, not from backports, not from contrib, not from source
  • kerl seems fine, but it takes a long time. I guess caching would be an option.

Another option is to stop caring about the old erlang containers based on jessie.
I'm putting a stop to this time consuming task, which was nice-to-have sorry to say (travis seems to work still).

I leave it up to you @paulo-ferraz-oliveira to come up with the best alternative in a PR, since you opened up pandora's box 😉.

@paulo-ferraz-oliveira
Copy link
Contributor

paulo-ferraz-oliveira commented Jan 6, 2021

Is the goal to just allow testing with any given OTP version? I'd propose dropping older versions, e.g pre OTP 19, to start with. (I think 5 years support is good enough!)
But I can test with the https://github.com/marketplace/actions/setup-erlang action, let me open a draft pull request.

@paulo-ferraz-oliveira
Copy link
Contributor

I got it running with almost all previous versions (less 18.1 and 18.2), for which I get the same stupid issue you do. I believe the rebar3 version packed with that failing container might be error'ing out.

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 a pull request may close this issue.

2 participants