Skip to content
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

chore(NODE-6637): remove drivers tools env setting #4363

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

durran
Copy link
Member

@durran durran commented Jan 7, 2025

Description

Used the npm setting in based on the environment from drivers tools.

What is changing?

Removes the npm version setting backup from the install script.

Is there new documentation needed for these changes?

None

What is the motivation for this change?

NODE-6637

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@durran durran force-pushed the NODE-6637 branch 4 times, most recently from 1136622 to 7d1a902 Compare January 13, 2025 12:55
@@ -70,7 +70,7 @@ function makeTask({ mongoVersion, topology, tags = [], auth = 'auth' }) {
name: `test-${mongoVersion}-${topology}${auth === 'noauth' ? '-noauth' : ''}`,
tags: [mongoVersion, topology, ...tags],
commands: [
updateExpansions({ NPM_VERSION: 9, VERSION: mongoVersion, TOPOLOGY: topology, AUTH: auth }),
updateExpansions({ VERSION: mongoVersion, TOPOLOGY: topology, AUTH: auth }),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the NPM_VERSION here just to show in the majority of our tests the fallback script works for all versions.

@@ -32,7 +32,7 @@ export PATH="$MONGODB_BINARIES:$PATH"

if [ ! -d "$DRIVERS_TOOLS" ]; then
# Only clone driver tools if it does not exist
git clone --depth=1 "https://github.com/mongodb-labs/drivers-evergreen-tools.git" "${DRIVERS_TOOLS}"
git clone --depth=1 --branch NODE-6636 "https://github.com/mongodb-labs/drivers-evergreen-tools.git" "${DRIVERS_TOOLS}"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant