-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ci(NODE-5269): Add Node 20 to driver ci #3664
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
Conversation
@@ -28,11 +28,12 @@ curl "${CURL_FLAGS[@]}" "https://nodejs.org/dist/index.tab" --output node_index. | |||
|
|||
while IFS=$'\t' read -r -a row; do | |||
node_index_version="${row[0]}" | |||
node_index_major_version=$(echo $node_index_version | sed -E 's/^v([0-9]+).*$/\1/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sed invocation extracts the major version
.evergreen/run-kerberos-tests.sh
Outdated
@@ -24,8 +24,11 @@ set -o xtrace | |||
npm install kerberos@">=2.0.0-beta.0" | |||
npm run check:kerberos | |||
|
|||
npm install kerberos@"^1.1.7" | |||
npm run check:kerberos | |||
if [ "$NODE_LTS_VERSION" != "latest" ] || [ $NODE_LTS_VERSION -lt 20 ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will attempt to install 1.1.7 because "20" != "latest"
- the kerberos tests then fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
36c6131
to
46cf6cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, logging the flakes and I'll merge
And we have: https://jira.mongodb.org/browse/NODE-5293 for the windows node14 issues
Description
What is changing?
.evergreen/ci_matrix_constants.js
to include Node 20 and regenerate.evergreen/config.yml
NODE_LTS_VERSION
rather thanNODE_LTS_NAME
to fix issue when trying to fetch Node 20Is there new documentation needed for these changes?
No
What is the motivation for this change?
Ensure that the driver and its extensions are compatible with the latest officially released Node.js version.
Double check the following
npm run check:lint
scripttype(NODE-xxxx)[!]: description
feat(NODE-1234)!: rewriting everything in coffeescript