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

Fix MySQL CI #612

Merged
merged 3 commits into from
May 26, 2024
Merged

Fix MySQL CI #612

merged 3 commits into from
May 26, 2024

Conversation

greg-rychlewski
Copy link
Member

The CI has been failing for a few weeks, it seems since MySQL updated their images: docker-library/mysql@a15b34a.

I don't know exactly what was happening but the MySQL server was not starting and it was complaining about not being able to allocate threads during bootstrap and the data directory being unusable.

After trying many things to get it working with the old image, I found that it just works ™ with this image. The difference is the old image was Alpine 3.13 and this one is Alpine 3.16. Alpine 3.13 was end of life 2 years ago so I guess it makes sense there might be some weird errors when it's used as the host OS for newer images.

With this change we can still keep the Elixir version we were testing against but I couldn't find an acceptable image on hexpm/elixir with the Erlang version we were using before. So now we are testing against a slightly newer Erlang.

Copy link
Member

@josevalim josevalim left a comment

Choose a reason for hiding this comment

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

Beautiful!

@greg-rychlewski greg-rychlewski merged commit 14281b0 into elixir-ecto:master May 26, 2024
10 checks passed
@greg-rychlewski greg-rychlewski deleted the mysql_ci branch May 26, 2024 22:37
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 this pull request may close these issues.

2 participants