fix(NODE-7225): build glibc prebuilds on platforms with libc 2.28 #105
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.
Description
Summary of Changes
This PR switches from ubuntu to rhel8 for glibc-based prebuilds.
We always test on all Node versions, but only build and publish prebuilds on our lowest LTS Node version. Prior to upgrading to Node20+, we built prebuilds on Node16 and ubuntu bionic, with a glibc version of 2.27. After upgrading to Node20+, we switch prebuilds from ubuntu bionic to ubuntu noble. Ubuntu noble has a glibc version of 2.39, which meant our prebuilds in the 7.0.0-alpha release were incompatible with any versions of linux that have a lower glibc version.
Since there isn't an ubuntu version that ships with libc 2.28 and supports Node 20+, I switched CI to run on rhel8 with satisfies our glibc requirement.
Notes for Reviewers
What is the motivation for this change?
Release Highlight
Double check the following
npm run check:lint
)type(NODE-xxxx)[!]: description
feat(NODE-1234)!: rewriting everything in coffeescript