Skip to content

ci(NODE-5270): add node20 #3674

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

Merged
merged 5 commits into from
May 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .evergreen/ci_matrix_constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ const versions = [
{ codeName: 'erbium', versionNumber: 12 },
{ codeName: 'fermium', versionNumber: 14 },
{ codeName: 'gallium', versionNumber: 16 },
{ codeName: 'hydrogen', versionNumber: 18 }
{ codeName: 'hydrogen', versionNumber: 18 },
{ codeName: 'iron', versionNumber: 20 }
];
const NODE_VERSIONS = versions.map(({ codeName }) => codeName);
NODE_VERSIONS.sort();
const NODE_VERSIONS = versions.map(({ versionNumber }) => versionNumber);
NODE_VERSIONS.sort((a, b) => a - b);
const LOWEST_LTS = NODE_VERSIONS[0];
const LATEST_LTS = NODE_VERSIONS[NODE_VERSIONS.length - 1];

Expand Down
16 changes: 8 additions & 8 deletions .evergreen/config.in.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ functions:
working_dir: "src"
script: |
${PREPARE_SHELL}
NODE_LTS_NAME=${NODE_LTS_NAME} NPM_OPTIONS=${NPM_OPTIONS}\
NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS}\
bash ${PROJECT_DIRECTORY}/.evergreen/install-dependencies.sh

"run atlas tests":
Expand All @@ -424,7 +424,7 @@ functions:
rm -f ./prepare_atlas_connectivity.sh

export PROJECT_DIRECTORY="$(pwd)"
export NODE_LTS_NAME='${NODE_LTS_NAME}'
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'

bash ${PROJECT_DIRECTORY}/.evergreen/run-atlas-tests.sh

Expand Down Expand Up @@ -454,7 +454,7 @@ functions:
export PYTHON_BINARY=$([ "Windows_NT" = "$OS" ] && echo "/cygdrive/c/python/python38/python.exe" || echo "/opt/mongodbtoolchain/v3/bin/python3")
export PROJECT_DIRECTORY="$(pwd)"
export DRIVERS_TOOLS="${DRIVERS_TOOLS}"
export NODE_LTS_NAME='${NODE_LTS_NAME}'
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'
export MONGODB_URI="${MONGODB_URI}"
export SSL="${SSL}"

Expand All @@ -475,7 +475,7 @@ functions:
export KRB5_KEYTAB='${gssapi_auth_keytab_base64}'
export KRB5_PRINCIPAL='${gssapi_auth_principal}'
export MONGODB_URI='${gssapi_auth_mongodb_uri}'
export NODE_LTS_NAME='${NODE_LTS_NAME}'
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'

bash ${PROJECT_DIRECTORY}/.evergreen/run-kerberos-tests.sh

Expand All @@ -487,7 +487,7 @@ functions:
script: |
export PROJECT_DIRECTORY="$(pwd)"
export MONGODB_URI='${plain_auth_mongodb_uri}'
export NODE_LTS_NAME='${NODE_LTS_NAME}'
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'

bash ${PROJECT_DIRECTORY}/.evergreen/run-ldap-tests.sh

Expand All @@ -499,7 +499,7 @@ functions:
script: |
export PROJECT_DIRECTORY="$(pwd)"
export MONGODB_URI='mongodb://mhuser:pencil@localhost'
export NODE_LTS_NAME='${NODE_LTS_NAME}'
export NODE_LTS_VERSION='${NODE_LTS_VERSION}'

bash ${PROJECT_DIRECTORY}/.evergreen/run-data-lake-tests.sh

Expand All @@ -510,7 +510,7 @@ functions:
working_dir: "src"
script: |
export PROJECT_DIRECTORY="$(pwd)"
export NODE_LTS_NAME=${NODE_LTS_NAME}
export NODE_LTS_VERSION=${NODE_LTS_VERSION}
export DRIVERS_TOOLS="${DRIVERS_TOOLS}"
export SSL_CA_FILE="${SSL_CA_FILE}"
export SSL_KEY_FILE="${SSL_KEY_FILE}"
Expand Down Expand Up @@ -1034,7 +1034,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: hydrogen
NODE_LTS_VERSION: 18
- func: bootstrap mongo-orchestration
vars:
VERSION: rapid
Expand Down
Loading