-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into NODE-5906/optimize-toArray-to-batches
- Loading branch information
Showing
758 changed files
with
80,178 additions
and
46,474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#! /usr/bin/env bash | ||
set +o xtrace # Do not write AWS credentials to stderr | ||
|
||
# Initial checks for running these tests | ||
if [ -z ${PROJECT_DIRECTORY+omitted} ]; then echo "PROJECT_DIRECTORY is unset" && exit 1; fi | ||
|
||
source "${PROJECT_DIRECTORY}/.evergreen/init-node-and-npm-env.sh" | ||
|
||
set -o xtrace # Write all commands first to stderr | ||
set -o errexit # Exit the script with error if any of the commands fail | ||
|
||
rm -rf $INSTALL_DIR | ||
git clone https://github.com/mongodb-js/mongodb-client-encryption.git | ||
pushd mongodb-client-encryption | ||
|
||
if [ -n "${LIBMONGOCRYPT_VERSION}" ]; then | ||
# nightly tests test with `latest` to test against the laster FLE build. | ||
npm run install:libmongocrypt -- --libVersion $LIBMONGOCRYPT_VERSION | ||
else | ||
# otherwise use whatever is specified in the package.json. | ||
npm run install:libmongocrypt | ||
fi | ||
|
||
echo "finished installing libmongocrypt" | ||
BINDINGS_DIR=$(pwd) | ||
|
||
popd | ||
|
||
echo "linking mongodb-client-encrytion" | ||
npm link ./mongodb-client-encryption |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.