Upgrade Ubuntu Runner + MSSQL Version #659
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
While looking into the Ecto runner errors I saw we are having problems with Ubuntu > 20.04 with SQL Server 2017. When debugging the CI the errors were really low level like the database application was looking for files on the system that did not exist.
Although the exact reasons are beyond me, I have noticed these kinds of errors in the past when there is an OS incompatibility. And looking at SQL Server 2017 support, it seems it's only up to 18.04: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes-2017?view=sql-server-ver16#supported-platforms. So it's just a matter of luck until a breaking change happens. And I guess it happened now.
For this reason I got rid of 2017 from the CI and added 2022 and everything is working nicely.