Skip to content

Commit

Permalink
Merge pull request #15216 from mongodb-js/encryption-ci-fix
Browse files Browse the repository at this point in the history
fix: pin drivers-evergreen-tools version
  • Loading branch information
vkarpov15 authored Jan 31, 2025
2 parents fe4a096 + 2ef0a78 commit aeaa95c
Showing 1 changed file with 5 additions and 2 deletions.
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

0 comments on commit aeaa95c

Please sign in to comment.