Closed paulo-ferraz-oliveira closed 3 years ago
Converting to draft to check if Action This is not required.setup-erlang
would solve the (apparently caused by) rebar3
issues.
I'm trying to make CI's It's done!rebar3
not change between different containers. While this isn't done, I'm going to use setup-erlang
for a quick fix.
List of Erlang versions (our CI) is currently: 19.2, 20.3, 21.3, 22.0.
List of setup-erlang
supported version is currently: http://packages.erlang-solutions.com/erlang/debian/pool/.
I'll need to fix the mismatch. I abandoned this since it's harder to maintain.
Still not Okay :( it seems setup-erlang
prefixes the version with https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_erlang:
and suffixes it with -1~ubuntu~bionic_amd64.deb
, so I need to work with that.
Edit: actually, no, the erlang:
bit is a stupid typo on my behalf.
I'll look at this later. I guess the way it's build now it's not creating a proper .git
locally; some adjustments might be required.
Installing Git 2.18 takes a while (2.5 minutes) but otherwise the Git SUITE won't run properly, since I can't make the checkout
action create a repo. with a previous Git version. We can, otherwise, not run certain parts of the test code for older OTP versions, but I'm thinking that's probably not a better solution.
It seems we might be missing a configuration for CI run: "\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email \"you@example.com\"\n git config --global user.name \"Your Name\"\n\nto set your account's default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got 'root@4fe1699c8229.(none)')\n"
. Let me try to tweak something into working.
This is now, again, ready for review.
It seems to now be failing due to a failing rebar3 version (the one packed with the Docker container).These have since been updated.