Skip to content

Commit b183de3

Browse files
authored
test(NODE-7283): add node 24 to ci (#4788)
1 parent 5db818c commit b183de3

File tree

2 files changed

+136
-25
lines changed

2 files changed

+136
-25
lines changed

.evergreen/ci_matrix_constants.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
const MONGODB_VERSIONS = ['latest', 'rapid', '8.0', '7.0', '6.0', '5.0', '4.4', '4.2'];
22
const versions = [
33
{ codeName: 'iron', versionNumber: '20.19.0' },
4-
{ codeName: 'jod', versionNumber: 22 }
4+
{ codeName: 'jod', versionNumber: 22 },
5+
{ codeName: 'krypton', versionNumber: 24 }
56
];
67
const NODE_VERSIONS = versions.map(({ versionNumber }) => versionNumber).sort();
78
const LOWEST_LTS = NODE_VERSIONS[0];

.evergreen/config.yml

Lines changed: 134 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ tasks:
16111611
params:
16121612
updates:
16131613
- {key: VERSION, value: latest}
1614-
- {key: NODE_LTS_VERSION, value: '22'}
1614+
- {key: NODE_LTS_VERSION, value: '24'}
16151615
- {key: AUTH, value: auth}
16161616
- {key: ORCHESTRATION_FILE, value: auth-aws.json}
16171617
- {key: TOPOLOGY, value: server}
@@ -1626,7 +1626,7 @@ tasks:
16261626
params:
16271627
updates:
16281628
- {key: VERSION, value: latest}
1629-
- {key: NODE_LTS_VERSION, value: '22'}
1629+
- {key: NODE_LTS_VERSION, value: '24'}
16301630
- {key: AUTH, value: auth}
16311631
- {key: ORCHESTRATION_FILE, value: auth-aws.json}
16321632
- {key: TOPOLOGY, value: server}
@@ -1641,7 +1641,7 @@ tasks:
16411641
params:
16421642
updates:
16431643
- {key: VERSION, value: latest}
1644-
- {key: NODE_LTS_VERSION, value: '22'}
1644+
- {key: NODE_LTS_VERSION, value: '24'}
16451645
- {key: AUTH, value: auth}
16461646
- {key: ORCHESTRATION_FILE, value: auth-aws.json}
16471647
- {key: TOPOLOGY, value: server}
@@ -1656,7 +1656,7 @@ tasks:
16561656
params:
16571657
updates:
16581658
- {key: VERSION, value: latest}
1659-
- {key: NODE_LTS_VERSION, value: '22'}
1659+
- {key: NODE_LTS_VERSION, value: '24'}
16601660
- {key: AUTH, value: auth}
16611661
- {key: ORCHESTRATION_FILE, value: auth-aws.json}
16621662
- {key: TOPOLOGY, value: server}
@@ -1671,7 +1671,7 @@ tasks:
16711671
params:
16721672
updates:
16731673
- {key: VERSION, value: latest}
1674-
- {key: NODE_LTS_VERSION, value: '22'}
1674+
- {key: NODE_LTS_VERSION, value: '24'}
16751675
- {key: AUTH, value: auth}
16761676
- {key: ORCHESTRATION_FILE, value: auth-aws.json}
16771677
- {key: TOPOLOGY, value: server}
@@ -1686,7 +1686,7 @@ tasks:
16861686
params:
16871687
updates:
16881688
- {key: VERSION, value: latest}
1689-
- {key: NODE_LTS_VERSION, value: '22'}
1689+
- {key: NODE_LTS_VERSION, value: '24'}
16901690
- {key: AUTH, value: auth}
16911691
- {key: ORCHESTRATION_FILE, value: auth-aws.json}
16921692
- {key: TOPOLOGY, value: server}
@@ -1701,7 +1701,7 @@ tasks:
17011701
params:
17021702
updates:
17031703
- {key: VERSION, value: latest}
1704-
- {key: NODE_LTS_VERSION, value: '22'}
1704+
- {key: NODE_LTS_VERSION, value: '24'}
17051705
- {key: AUTH, value: auth}
17061706
- {key: ORCHESTRATION_FILE, value: auth-aws.json}
17071707
- {key: TOPOLOGY, value: server}
@@ -1716,7 +1716,7 @@ tasks:
17161716
params:
17171717
updates:
17181718
- {key: VERSION, value: latest}
1719-
- {key: NODE_LTS_VERSION, value: '22'}
1719+
- {key: NODE_LTS_VERSION, value: '24'}
17201720
- {key: AUTH, value: auth}
17211721
- {key: ORCHESTRATION_FILE, value: auth-aws.json}
17221722
- {key: TOPOLOGY, value: server}
@@ -1841,6 +1841,17 @@ tasks:
18411841
- {key: NODE_LTS_VERSION, value: '22'}
18421842
- func: install dependencies
18431843
- func: run unit tests
1844+
- name: run-unit-tests-node-24
1845+
tags:
1846+
- unit-tests
1847+
commands:
1848+
- command: expansions.update
1849+
type: setup
1850+
params:
1851+
updates:
1852+
- {key: NODE_LTS_VERSION, value: '24'}
1853+
- func: install dependencies
1854+
- func: run unit tests
18441855
- name: run-lint-checks
18451856
tags:
18461857
- lint-checks
@@ -1849,7 +1860,7 @@ tasks:
18491860
type: setup
18501861
params:
18511862
updates:
1852-
- {key: NODE_LTS_VERSION, value: '22'}
1863+
- {key: NODE_LTS_VERSION, value: '24'}
18531864
- func: install dependencies
18541865
- func: run lint checks
18551866
- name: test-explicit-resource-management-feature-integration
@@ -1862,7 +1873,7 @@ tasks:
18621873
updates:
18631874
- {key: VERSION, value: latest}
18641875
- {key: TOPOLOGY, value: replica_set}
1865-
- {key: NODE_LTS_VERSION, value: '22'}
1876+
- {key: NODE_LTS_VERSION, value: '24'}
18661877
- func: install dependencies
18671878
- func: bootstrap mongo-orchestration
18681879
- func: check resource management feature integration
@@ -2467,7 +2478,7 @@ tasks:
24672478
- {key: VERSION, value: latest}
24682479
- {key: TOPOLOGY, value: sharded_cluster}
24692480
- {key: AUTH, value: auth}
2470-
- {key: NODE_LTS_VERSION, value: '22'}
2481+
- {key: NODE_LTS_VERSION, value: '24'}
24712482
- func: install dependencies
24722483
- func: bootstrap mongo-orchestration
24732484
- func: run tests
@@ -2483,7 +2494,7 @@ tasks:
24832494
- {key: VERSION, value: rapid}
24842495
- {key: TOPOLOGY, value: sharded_cluster}
24852496
- {key: AUTH, value: auth}
2486-
- {key: NODE_LTS_VERSION, value: '22'}
2497+
- {key: NODE_LTS_VERSION, value: '24'}
24872498
- func: install dependencies
24882499
- func: bootstrap mongo-orchestration
24892500
- func: run tests
@@ -2499,7 +2510,7 @@ tasks:
24992510
- {key: VERSION, value: '8.0'}
25002511
- {key: TOPOLOGY, value: sharded_cluster}
25012512
- {key: AUTH, value: auth}
2502-
- {key: NODE_LTS_VERSION, value: '22'}
2513+
- {key: NODE_LTS_VERSION, value: '24'}
25032514
- func: install dependencies
25042515
- func: bootstrap mongo-orchestration
25052516
- func: run tests
@@ -2515,7 +2526,7 @@ tasks:
25152526
- {key: VERSION, value: '7.0'}
25162527
- {key: TOPOLOGY, value: sharded_cluster}
25172528
- {key: AUTH, value: auth}
2518-
- {key: NODE_LTS_VERSION, value: '22'}
2529+
- {key: NODE_LTS_VERSION, value: '24'}
25192530
- func: install dependencies
25202531
- func: bootstrap mongo-orchestration
25212532
- func: run tests
@@ -2531,7 +2542,7 @@ tasks:
25312542
- {key: VERSION, value: '6.0'}
25322543
- {key: TOPOLOGY, value: sharded_cluster}
25332544
- {key: AUTH, value: auth}
2534-
- {key: NODE_LTS_VERSION, value: '22'}
2545+
- {key: NODE_LTS_VERSION, value: '24'}
25352546
- func: install dependencies
25362547
- func: bootstrap mongo-orchestration
25372548
- func: run tests
@@ -2547,7 +2558,7 @@ tasks:
25472558
- {key: VERSION, value: '5.0'}
25482559
- {key: TOPOLOGY, value: sharded_cluster}
25492560
- {key: AUTH, value: auth}
2550-
- {key: NODE_LTS_VERSION, value: '22'}
2561+
- {key: NODE_LTS_VERSION, value: '24'}
25512562
- func: install dependencies
25522563
- func: bootstrap mongo-orchestration
25532564
- func: run tests
@@ -2563,7 +2574,7 @@ tasks:
25632574
- {key: VERSION, value: '4.4'}
25642575
- {key: TOPOLOGY, value: sharded_cluster}
25652576
- {key: AUTH, value: auth}
2566-
- {key: NODE_LTS_VERSION, value: '22'}
2577+
- {key: NODE_LTS_VERSION, value: '24'}
25672578
- func: install dependencies
25682579
- func: bootstrap mongo-orchestration
25692580
- func: run tests
@@ -2579,7 +2590,7 @@ tasks:
25792590
- {key: VERSION, value: '4.2'}
25802591
- {key: TOPOLOGY, value: sharded_cluster}
25812592
- {key: AUTH, value: auth}
2582-
- {key: NODE_LTS_VERSION, value: '22'}
2593+
- {key: NODE_LTS_VERSION, value: '24'}
25832594
- func: install dependencies
25842595
- func: bootstrap mongo-orchestration
25852596
- func: run tests
@@ -2961,6 +2972,61 @@ buildvariants:
29612972
- test-tls-support-5.0
29622973
- test-tls-support-4.4
29632974
- test-tls-support-4.2
2975+
- name: rhel80-large-Node24
2976+
display_name: rhel8 Node24
2977+
run_on: rhel80-large
2978+
expansions:
2979+
NODE_LTS_VERSION: 24
2980+
CLIENT_ENCRYPTION: 'true'
2981+
TEST_CSFLE: 'true'
2982+
tasks:
2983+
- test-latest-server
2984+
- test-latest-replica_set
2985+
- test-latest-sharded_cluster
2986+
- test-rapid-server
2987+
- test-rapid-replica_set
2988+
- test-rapid-sharded_cluster
2989+
- test-8.0-server
2990+
- test-8.0-replica_set
2991+
- test-8.0-sharded_cluster
2992+
- test-7.0-server
2993+
- test-7.0-replica_set
2994+
- test-7.0-sharded_cluster
2995+
- test-6.0-server
2996+
- test-6.0-replica_set
2997+
- test-6.0-sharded_cluster
2998+
- test-5.0-server
2999+
- test-5.0-replica_set
3000+
- test-5.0-sharded_cluster
3001+
- test-4.4-server
3002+
- test-4.4-replica_set
3003+
- test-4.4-sharded_cluster
3004+
- test-4.2-server
3005+
- test-4.2-replica_set
3006+
- test-4.2-sharded_cluster
3007+
- test-latest-server-v1-api
3008+
- test-x509-authentication
3009+
- test-atlas-connectivity
3010+
- test-5.0-load-balanced
3011+
- test-6.0-load-balanced
3012+
- test-7.0-load-balanced
3013+
- test-8.0-load-balanced
3014+
- test-rapid-load-balanced
3015+
- test-latest-load-balanced
3016+
- test-auth-kerberos
3017+
- test-auth-ldap
3018+
- test-socks5
3019+
- test-socks5-csfle
3020+
- test-socks5-tls
3021+
- test-snappy-compression
3022+
- test-zstd-compression
3023+
- test-tls-support-latest
3024+
- test-tls-support-8.0
3025+
- test-tls-support-7.0
3026+
- test-tls-support-6.0
3027+
- test-tls-support-5.0
3028+
- test-tls-support-4.4
3029+
- test-tls-support-4.2
29643030
- name: rhel80-large-node-latest
29653031
display_name: rhel8 Node Latest
29663032
run_on: rhel80-large
@@ -3102,6 +3168,50 @@ buildvariants:
31023168
- test-tls-support-5.0
31033169
- test-tls-support-4.4
31043170
- test-tls-support-4.2
3171+
- name: windows-vsCurrent-large-Node24
3172+
display_name: Windows Node24
3173+
run_on: windows-vsCurrent-large
3174+
expansions:
3175+
NODE_LTS_VERSION: 24
3176+
CLIENT_ENCRYPTION: 'false'
3177+
TEST_CSFLE: 'false'
3178+
tasks:
3179+
- test-latest-server
3180+
- test-latest-replica_set
3181+
- test-latest-sharded_cluster
3182+
- test-rapid-server
3183+
- test-rapid-replica_set
3184+
- test-rapid-sharded_cluster
3185+
- test-8.0-server
3186+
- test-8.0-replica_set
3187+
- test-8.0-sharded_cluster
3188+
- test-7.0-server
3189+
- test-7.0-replica_set
3190+
- test-7.0-sharded_cluster
3191+
- test-6.0-server
3192+
- test-6.0-replica_set
3193+
- test-6.0-sharded_cluster
3194+
- test-5.0-server
3195+
- test-5.0-replica_set
3196+
- test-5.0-sharded_cluster
3197+
- test-4.4-server
3198+
- test-4.4-replica_set
3199+
- test-4.4-sharded_cluster
3200+
- test-4.2-server
3201+
- test-4.2-replica_set
3202+
- test-4.2-sharded_cluster
3203+
- test-latest-server-v1-api
3204+
- test-socks5
3205+
- test-socks5-tls
3206+
- test-snappy-compression
3207+
- test-zstd-compression
3208+
- test-tls-support-latest
3209+
- test-tls-support-8.0
3210+
- test-tls-support-7.0
3211+
- test-tls-support-6.0
3212+
- test-tls-support-5.0
3213+
- test-tls-support-4.4
3214+
- test-tls-support-4.2
31053215
- name: rhel8-node20.19.0-test-csfle-mongocryptd
31063216
display_name: rhel 8 Node20.19.0 test mongocryptd
31073217
run_on: rhel80-large
@@ -3118,8 +3228,8 @@ buildvariants:
31183228
- test-5.0-csfle-mongocryptd
31193229
- test-4.4-csfle-mongocryptd
31203230
- test-4.2-csfle-mongocryptd
3121-
- name: rhel8-node22-test-csfle-mongocryptd
3122-
display_name: rhel 8 Node22 test mongocryptd
3231+
- name: rhel8-node24-test-csfle-mongocryptd
3232+
display_name: rhel 8 Node24 test mongocryptd
31233233
run_on: rhel80-large
31243234
expansions:
31253235
CLIENT_ENCRYPTION: true
@@ -3135,10 +3245,10 @@ buildvariants:
31353245
- test-4.4-csfle-mongocryptd
31363246
- test-4.2-csfle-mongocryptd
31373247
- name: macos-14-arm64
3138-
display_name: MacOS 14 ARM Node22
3248+
display_name: MacOS 14 ARM Node24
31393249
run_on: macos-14-arm64
31403250
expansions:
3141-
NODE_LTS_VERSION: 22
3251+
NODE_LTS_VERSION: 24
31423252
CLIENT_ENCRYPTION: true
31433253
tasks:
31443254
- test-rapid-server
@@ -3158,7 +3268,7 @@ buildvariants:
31583268
display_name: MONGODB-AWS Auth test
31593269
run_on: ubuntu2004-small
31603270
expansions:
3161-
NODE_LTS_VERSION: 22
3271+
NODE_LTS_VERSION: 24
31623272
tasks:
31633273
- aws-latest-auth-test-run-aws-auth-test-with-regular-aws-credentials
31643274
- aws-latest-auth-test-run-aws-auth-test-with-assume-role-credentials
@@ -3205,7 +3315,7 @@ buildvariants:
32053315
display_name: MONGODB-OIDC Auth Tests
32063316
run_on: ubuntu2004-small
32073317
expansions:
3208-
NODE_LTS_VERSION: 22
3318+
NODE_LTS_VERSION: 24
32093319
batchtime: 20160
32103320
tasks:
32113321
- testtestoidc_task_group

0 commit comments

Comments
 (0)