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

fix: pin drivers-evergreen-tools version #15216

Merged
merged 2 commits into from
Jan 31, 2025
Merged
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: 5 additions & 2 deletions scripts/configure-cluster-with-encryption.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# this script downloads all tools required to use FLE with mongodb, then starts a cluster of the provided configuration (sharded on 8.0 server)

export CWD=$(pwd);
export DRIVERS_TOOLS_PINNED_COMMIT=d8098d27d0a94afe6ed20b01d653404ba6dd3910;

# install extra dependency
npm install mongodb-client-encryption
Expand All @@ -23,7 +24,9 @@ if [ ! -d "data" ]; then
# 'mo-expansion.yml' file which contains for your cluster URI and crypt shared library path
# 'drivers-evergreen-tools/mongodb/bin' which contain executables for other mongodb libraries such as mongocryptd, mongosh, and mongod
if [ ! -d "drivers-evergreen-tools/" ]; then
git clone --depth=1 "https://github.com/mongodb-labs/drivers-evergreen-tools.git"
git clone --depth=1 "https://github.com/mongodb-labs/drivers-evergreen-tools.git"
# pin stable commit
git checkout $DRIVERS_TOOLS_PINNED_COMMIT
fi

# configure cluster settings
Expand Down Expand Up @@ -51,4 +54,4 @@ if [ ! -d "data" ]; then
echo 'Cluster Configuration Finished!'

cd ..
fi
fi