Skip to content

Commit fc200eb

Browse files
committed
chore(NODE-6637): remove drivers tools env setting
1 parent 13ca440 commit fc200eb

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.evergreen/install-dependencies.sh

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,12 @@ export NODE_LTS_VERSION=${NODE_LTS_VERSION:-16}
99
# npm version can be defined in the environment for cases where we need to install
1010
# a version lower than latest to support EOL Node versions.
1111

12-
# If NODE_LTS_VERSION is numeric and less than 18, default to 9, if less than 20, default to 10.
13-
# Do not override if it is already set.
14-
if [[ "$NODE_LTS_VERSION" =~ ^[0-9]+$ && "$NODE_LTS_VERSION" -lt 18 ]]; then
15-
export NPM_VERSION=${NPM_VERSION:-9}
16-
elif [[ "$NODE_LTS_VERSION" =~ ^[0-9]+$ && "$NODE_LTS_VERSION" -lt 20 ]]; then
17-
export NPM_VERSION=${NPM_VERSION:-10}
18-
else
19-
export NPM_VERSION=${NPM_VERSION:-latest}
20-
fi
21-
2212
source $DRIVERS_TOOLS/.evergreen/install-node.sh
2313

14+
echo "SCRIPT"
15+
echo "$NODE_LTS_VERSION"
16+
echo "$NPM_VERSION"
17+
2418
npm install "${NPM_OPTIONS}"
2519

2620
source $DRIVERS_TOOLS/.evergreen/init-node-and-npm-env.sh

.evergreen/prepare-shell.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export PATH="$MONGODB_BINARIES:$PATH"
3232

3333
if [ ! -d "$DRIVERS_TOOLS" ]; then
3434
# Only clone driver tools if it does not exist
35-
git clone --depth=1 "https://github.com/mongodb-labs/drivers-evergreen-tools.git" "${DRIVERS_TOOLS}"
35+
git clone --depth=1 --branch NODE-6636 "https://github.com/mongodb-labs/drivers-evergreen-tools.git" "${DRIVERS_TOOLS}"
3636
fi
3737

3838
echo "installed DRIVERS_TOOLS from commit $(git -C "${DRIVERS_TOOLS}" rev-parse HEAD)"

0 commit comments

Comments
 (0)