-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ci(NODE-4698): test csfle with mongocryptd #3684
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
ci(NODE-4698): test csfle with mongocryptd #3684
Conversation
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.
one small comment, otherwise looks great
.filter((mongoVersion) => { // Only run on server versions >= 4.2 | ||
const numericVersion = Number(mongoVersion); | ||
return !Number.isNaN(numericVersion) && numericVersion >= 4.2; | ||
}) |
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.
We actually have a package called semver
that we use for version comparison:
also, I think we should test on latest / rapid as well
.filter((mongoVersion) => { // Only run on server versions >= 4.2 | |
const numericVersion = Number(mongoVersion); | |
return !Number.isNaN(numericVersion) && numericVersion >= 4.2; | |
}) | |
.filter((version) => ['latest', 'rapid'].includes(version) || semver.gte(version, '4.2')) |
Description
What is changing?
Summary
Adding new CI variants to run CSFLE tests with mongocryptd instead of crypt_shared, which we already had coverage for.
changes to
config.in.yml
.evergreen/prepare-crypt-shared-lib.sh
TEST_NPM_SCRIPT
env variablechanges to
generate_evergreen_tasks.js
Is there new documentation needed for these changes?
No
What is the motivation for this change?
Spec compliance
Double check the following
npm run check:lint
scripttype(NODE-xxxx)[!]: description
feat(NODE-1234)!: rewriting everything in coffeescript