-
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.
Browse files
Browse the repository at this point in the history
Co-authored-by: Aditi Khare <106987683+aditi-khare-mongoDB@users.noreply.github.com>
- Loading branch information
1 parent
7295695
commit de253a7
Showing
113 changed files
with
1,050 additions
and
1,550 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
Oops, something went wrong.