Skip to content

Commit abbe61a

Browse files
W-A-Jamesdurran
andauthored
ci(NODE-5269): Add Node 20 to driver ci (#3664)
Co-authored-by: Durran Jordan <durran@gmail.com>
1 parent 7199d26 commit abbe61a

File tree

8 files changed

+172
-83
lines changed

8 files changed

+172
-83
lines changed

.evergreen/ci_matrix_constants.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ const MONGODB_VERSIONS = ['latest', 'rapid', '6.0', '5.0', '4.4', '4.2', '4.0',
22
const versions = [
33
{ codeName: 'fermium', versionNumber: 14 },
44
{ codeName: 'gallium', versionNumber: 16 },
5-
{ codeName: 'hydrogen', versionNumber: 18 }
5+
{ codeName: 'hydrogen', versionNumber: 18 },
6+
{ codeName: 'iron', versionNumber: 20 }
67
];
7-
const NODE_VERSIONS = versions.map(({ codeName }) => codeName);
8-
NODE_VERSIONS.sort();
8+
const NODE_VERSIONS = versions.map(({ versionNumber }) => versionNumber).sort();
99
const LOWEST_LTS = NODE_VERSIONS[0];
1010
const LATEST_LTS = NODE_VERSIONS[NODE_VERSIONS.length - 1];
1111

.evergreen/config.in.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ functions:
487487
working_dir: "src"
488488
script: |
489489
${PREPARE_SHELL}
490-
NODE_LTS_NAME=${NODE_LTS_NAME} NPM_OPTIONS=${NPM_OPTIONS}\
490+
NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS}\
491491
bash ${PROJECT_DIRECTORY}/.evergreen/install-dependencies.sh
492492
493493
"install aws-credential-providers":
@@ -522,7 +522,7 @@ functions:
522522
rm -f ./prepare_atlas_connectivity.sh
523523
524524
export PROJECT_DIRECTORY="$(pwd)"
525-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
525+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
526526
527527
bash ${PROJECT_DIRECTORY}/.evergreen/run-atlas-tests.sh
528528
@@ -552,7 +552,7 @@ functions:
552552
export PYTHON_BINARY=$([ "Windows_NT" = "$OS" ] && echo "/cygdrive/c/python/python38/python.exe" || echo "/opt/mongodbtoolchain/v3/bin/python3")
553553
export PROJECT_DIRECTORY="$(pwd)"
554554
export DRIVERS_TOOLS="${DRIVERS_TOOLS}"
555-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
555+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
556556
export MONGODB_URI="${MONGODB_URI}"
557557
export TEST_SOCKS5_CSFLE="${TEST_SOCKS5_CSFLE}"
558558
export SSL="${SSL}"
@@ -575,7 +575,7 @@ functions:
575575
export KRB5_NEW_KEYTAB='${gssapi_auth_new_keytab_base64}'
576576
export KRB5_PRINCIPAL='${gssapi_auth_principal}'
577577
export MONGODB_URI='${gssapi_auth_mongodb_uri}'
578-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
578+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
579579
580580
bash ${PROJECT_DIRECTORY}/.evergreen/run-kerberos-tests.sh
581581
@@ -587,7 +587,7 @@ functions:
587587
script: |
588588
export PROJECT_DIRECTORY="$(pwd)"
589589
export MONGODB_URI='${plain_auth_mongodb_uri}'
590-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
590+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
591591
592592
bash ${PROJECT_DIRECTORY}/.evergreen/run-ldap-tests.sh
593593
@@ -599,7 +599,7 @@ functions:
599599
script: |
600600
export PROJECT_DIRECTORY="$(pwd)"
601601
export MONGODB_URI='mongodb://mhuser:pencil@localhost'
602-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
602+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
603603
604604
bash ${PROJECT_DIRECTORY}/.evergreen/run-data-lake-tests.sh
605605
@@ -610,7 +610,7 @@ functions:
610610
working_dir: "src"
611611
script: |
612612
export PROJECT_DIRECTORY="$(pwd)"
613-
export NODE_LTS_NAME=${NODE_LTS_NAME}
613+
export NODE_LTS_VERSION=${NODE_LTS_VERSION}
614614
export DRIVERS_TOOLS="${DRIVERS_TOOLS}"
615615
export SSL_CA_FILE="${SSL_CA_FILE}"
616616
export SSL_KEY_FILE="${SSL_KEY_FILE}"
@@ -1107,7 +1107,7 @@ tasks:
11071107
commands:
11081108
- func: install dependencies
11091109
vars:
1110-
NODE_LTS_NAME: hydrogen
1110+
NODE_LTS_VERSION: 18
11111111
- func: bootstrap mongo-orchestration
11121112
vars:
11131113
VERSION: rapid

0 commit comments

Comments
 (0)