Skip to content

Commit 7d51588

Browse files
Merge branch 'main' into type-templates-auto-encryption
2 parents 346fdcf + 8e65800 commit 7d51588

832 files changed

Lines changed: 27754 additions & 7660 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"root": true,
33
"parser": "@typescript-eslint/parser",
44
"parserOptions": {
5-
"ecmaVersion": 2020
5+
"ecmaVersion": 2023
66
},
77
"plugins": [
88
"simple-import-sort",
@@ -178,7 +178,6 @@
178178
{
179179
"patterns": [
180180
"**/../lib/**",
181-
"**/../src/**",
182181
"mongodb-mock-server"
183182
]
184183
}
@@ -217,7 +216,6 @@
217216
{
218217
"patterns": [
219218
"**/../lib/**",
220-
"**/../src/**",
221219
"mongodb-mock-server"
222220
]
223221
}
@@ -320,4 +318,4 @@
320318
}
321319
}
322320
]
323-
}
321+
}

.evergreen/ci_matrix_constants.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
const MONGODB_VERSIONS = ['latest', 'rapid', '8.0', '7.0', '6.0', '5.0', '4.4', '4.2'];
22
const versions = [
3-
{ codeName: 'gallium', versionNumber: 16, npmVersion: 9 },
4-
{ codeName: 'hydrogen', versionNumber: 18, npmVersion: 10 },
5-
{ codeName: 'iron', versionNumber: 20, npmVersion: 'latest' },
6-
{ codeName: 'jod', versionNumber: 22, npmVersion: 'latest' }
3+
{ codeName: 'iron', versionNumber: '20.19.0' },
4+
{ codeName: 'jod', versionNumber: 22 }
75
];
86
const NODE_VERSIONS = versions.map(({ versionNumber }) => versionNumber).sort();
97
const LOWEST_LTS = NODE_VERSIONS[0];

.evergreen/config.in.yml

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -388,20 +388,6 @@ functions:
388388
args:
389389
- .evergreen/run-ldap-tests.sh
390390

391-
"run data lake tests":
392-
- command: subprocess.exec
393-
type: test
394-
params:
395-
working_dir: src
396-
binary: bash
397-
env:
398-
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
399-
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
400-
MONGODB_URI: "mongodb://mhuser:pencil@localhost"
401-
NODE_LTS_VERSION: ${NODE_LTS_VERSION}
402-
args:
403-
- .evergreen/run-data-lake-tests.sh
404-
405391
"run tls tests":
406392
- command: shell.exec
407393
type: test
@@ -422,7 +408,6 @@ functions:
422408
include_expansions_in_env:
423409
- MONGODB_URI
424410
- DRIVERS_TOOLS
425-
- MONGODB_AWS_SDK
426411
- AWS_ACCESS_KEY_ID
427412
- AWS_SECRET_ACCESS_KEY
428413
- AWS_SESSION_TOKEN
@@ -440,7 +425,6 @@ functions:
440425
include_expansions_in_env:
441426
- MONGODB_URI
442427
- DRIVERS_TOOLS
443-
- MONGODB_AWS_SDK
444428
- AWS_ACCESS_KEY_ID
445429
- AWS_SECRET_ACCESS_KEY
446430
- AWS_SESSION_TOKEN
@@ -458,7 +442,6 @@ functions:
458442
include_expansions_in_env:
459443
- MONGODB_URI
460444
- DRIVERS_TOOLS
461-
- MONGODB_AWS_SDK
462445
- AWS_ACCESS_KEY_ID
463446
- AWS_SECRET_ACCESS_KEY
464447
- AWS_SESSION_TOKEN
@@ -477,7 +460,6 @@ functions:
477460
include_expansions_in_env:
478461
- MONGODB_URI
479462
- DRIVERS_TOOLS
480-
- MONGODB_AWS_SDK
481463
- AWS_ACCESS_KEY_ID
482464
- AWS_SECRET_ACCESS_KEY
483465
- AWS_SESSION_TOKEN
@@ -495,7 +477,6 @@ functions:
495477
include_expansions_in_env:
496478
- MONGODB_URI
497479
- DRIVERS_TOOLS
498-
- MONGODB_AWS_SDK
499480
- AWS_ACCESS_KEY_ID
500481
- AWS_SECRET_ACCESS_KEY
501482
- AWS_SESSION_TOKEN
@@ -513,7 +494,6 @@ functions:
513494
include_expansions_in_env:
514495
- MONGODB_URI
515496
- DRIVERS_TOOLS
516-
- MONGODB_AWS_SDK
517497
- AWS_ACCESS_KEY_ID
518498
- AWS_SECRET_ACCESS_KEY
519499
- AWS_SESSION_TOKEN
@@ -532,7 +512,6 @@ functions:
532512
include_expansions_in_env:
533513
- MONGODB_URI
534514
- DRIVERS_TOOLS
535-
- MONGODB_AWS_SDK
536515
- AWS_ACCESS_KEY_ID
537516
- AWS_SECRET_ACCESS_KEY
538517
- AWS_SESSION_TOKEN
@@ -549,7 +528,6 @@ functions:
549528
params:
550529
include_expansions_in_env:
551530
- DRIVERS_TOOLS
552-
- MONGODB_AWS_SDK
553531
- PROJECT_DIRECTORY
554532
- MONGODB_BINARIES
555533
- AWS_ACCESS_KEY_ID
@@ -597,7 +575,6 @@ functions:
597575
- AWS_SESSION_TOKEN
598576
env:
599577
AWS_CREDENTIAL_TYPE: env-creds
600-
MONGODB_AWS_SDK: "true"
601578
working_dir: "src"
602579
binary: bash
603580
args:
@@ -724,20 +701,13 @@ functions:
724701
- .evergreen/docker/alpine.sh
725702

726703
tasks:
727-
- name: "test-atlas-data-lake"
728-
tags: ["datalake", "mongohouse"]
729-
commands:
730-
- func: "install dependencies"
731-
- func: "bootstrap mongohoused"
732-
- func: "run data lake tests"
733-
734704
- name: "test-gcpkms-task"
735705
commands:
736706
- command: expansions.update
737707
type: setup
738708
params:
739709
updates:
740-
- { key: NPM_VERSION, value: "9" }
710+
- { key: NODE_LTS_VERSION, value: "20.19.0" }
741711
- func: assume secrets manager role
742712
- func: "install dependencies"
743713
# Upload node driver to a GCP instance
@@ -757,7 +727,7 @@ tasks:
757727
type: setup
758728
params:
759729
updates:
760-
- { key: NPM_VERSION, value: "9" }
730+
- { key: NODE_LTS_VERSION, value: "20.19.0" }
761731
- { key: VERSION, value: latest }
762732
- { key: TOPOLOGY, value: server }
763733
- { key: AUTH, value: noauth }
@@ -769,6 +739,7 @@ tasks:
769739
binary: bash
770740
env:
771741
EXPECTED_GCPKMS_OUTCOME: "failure"
742+
NODE_LTS_VERSION: ${NODE_LTS_VERSION}
772743
args:
773744
- src/.evergreen/run-gcp-kms-tests.sh
774745

@@ -778,7 +749,7 @@ tasks:
778749
type: setup
779750
params:
780751
updates:
781-
- { key: NPM_VERSION, value: "9" }
752+
- { key: NODE_LTS_VERSION, value: "20.19.0" }
782753
- func: "install dependencies"
783754
- func: assume secrets manager role
784755
- command: subprocess.exec
@@ -795,7 +766,7 @@ tasks:
795766
type: setup
796767
params:
797768
updates:
798-
- { key: NPM_VERSION, value: "9" }
769+
- { key: NODE_LTS_VERSION, value: "20.19.0" }
799770
- { key: VERSION, value: latest }
800771
- { key: TOPOLOGY, value: server }
801772
- { key: AUTH, value: noauth }
@@ -807,6 +778,7 @@ tasks:
807778
binary: bash
808779
env:
809780
EXPECTED_AZUREKMS_OUTCOME: "failure"
781+
NODE_LTS_VERSION: ${NODE_LTS_VERSION}
810782
args:
811783
- src/.evergreen/run-azure-kms-tests.sh
812784

@@ -945,7 +917,7 @@ tasks:
945917
type: setup
946918
params:
947919
updates:
948-
- { key: NPM_VERSION, value: "9" }
920+
- { key: NODE_LTS_VERSION, value: "20.19.0" }
949921
- func: "install dependencies"
950922
- command: ec2.assume_role
951923
params:

0 commit comments

Comments
 (0)