Skip to content

Commit ed9a937

Browse files
Merge branch '4.x' into no-story-misc-backports
2 parents ba20eca + 89a1066 commit ed9a937

File tree

6 files changed

+179
-92
lines changed

6 files changed

+179
-92
lines changed

.evergreen/ci_matrix_constants.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ const versions = [
33
{ codeName: 'erbium', versionNumber: 12 },
44
{ codeName: 'fermium', versionNumber: 14 },
55
{ codeName: 'gallium', versionNumber: 16 },
6-
{ codeName: 'hydrogen', versionNumber: 18 }
6+
{ codeName: 'hydrogen', versionNumber: 18 },
7+
{ codeName: 'iron', versionNumber: 20 }
78
];
8-
const NODE_VERSIONS = versions.map(({ codeName }) => codeName);
9-
NODE_VERSIONS.sort();
9+
const NODE_VERSIONS = versions.map(({ versionNumber }) => versionNumber);
10+
NODE_VERSIONS.sort((a, b) => a - b);
1011
const LOWEST_LTS = NODE_VERSIONS[0];
1112
const LATEST_LTS = NODE_VERSIONS[NODE_VERSIONS.length - 1];
1213

.evergreen/config.in.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ functions:
400400
working_dir: "src"
401401
script: |
402402
${PREPARE_SHELL}
403-
NODE_LTS_NAME=${NODE_LTS_NAME} NPM_OPTIONS=${NPM_OPTIONS}\
403+
NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS}\
404404
bash ${PROJECT_DIRECTORY}/.evergreen/install-dependencies.sh
405405
406406
"run atlas tests":
@@ -424,7 +424,7 @@ functions:
424424
rm -f ./prepare_atlas_connectivity.sh
425425
426426
export PROJECT_DIRECTORY="$(pwd)"
427-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
427+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
428428
429429
bash ${PROJECT_DIRECTORY}/.evergreen/run-atlas-tests.sh
430430
@@ -454,7 +454,7 @@ functions:
454454
export PYTHON_BINARY=$([ "Windows_NT" = "$OS" ] && echo "/cygdrive/c/python/python38/python.exe" || echo "/opt/mongodbtoolchain/v3/bin/python3")
455455
export PROJECT_DIRECTORY="$(pwd)"
456456
export DRIVERS_TOOLS="${DRIVERS_TOOLS}"
457-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
457+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
458458
export MONGODB_URI="${MONGODB_URI}"
459459
export SSL="${SSL}"
460460
@@ -475,7 +475,7 @@ functions:
475475
export KRB5_KEYTAB='${gssapi_auth_keytab_base64}'
476476
export KRB5_PRINCIPAL='${gssapi_auth_principal}'
477477
export MONGODB_URI='${gssapi_auth_mongodb_uri}'
478-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
478+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
479479
480480
bash ${PROJECT_DIRECTORY}/.evergreen/run-kerberos-tests.sh
481481
@@ -487,7 +487,7 @@ functions:
487487
script: |
488488
export PROJECT_DIRECTORY="$(pwd)"
489489
export MONGODB_URI='${plain_auth_mongodb_uri}'
490-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
490+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
491491
492492
bash ${PROJECT_DIRECTORY}/.evergreen/run-ldap-tests.sh
493493
@@ -499,7 +499,7 @@ functions:
499499
script: |
500500
export PROJECT_DIRECTORY="$(pwd)"
501501
export MONGODB_URI='mongodb://mhuser:pencil@localhost'
502-
export NODE_LTS_NAME='${NODE_LTS_NAME}'
502+
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
503503
504504
bash ${PROJECT_DIRECTORY}/.evergreen/run-data-lake-tests.sh
505505
@@ -510,7 +510,7 @@ functions:
510510
working_dir: "src"
511511
script: |
512512
export PROJECT_DIRECTORY="$(pwd)"
513-
export NODE_LTS_NAME=${NODE_LTS_NAME}
513+
export NODE_LTS_VERSION=${NODE_LTS_VERSION}
514514
export DRIVERS_TOOLS="${DRIVERS_TOOLS}"
515515
export SSL_CA_FILE="${SSL_CA_FILE}"
516516
export SSL_KEY_FILE="${SSL_KEY_FILE}"
@@ -1034,7 +1034,7 @@ tasks:
10341034
commands:
10351035
- func: install dependencies
10361036
vars:
1037-
NODE_LTS_NAME: hydrogen
1037+
NODE_LTS_VERSION: 18
10381038
- func: bootstrap mongo-orchestration
10391039
vars:
10401040
VERSION: rapid

0 commit comments

Comments
 (0)