Skip to content

Commit e0bb056

Browse files
committed
chore: pin exact commit from Jan 15 and remove --depth=1 so we get all commits
1 parent 5fd5b4d commit e0bb056

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/configure-cluster-with-encryption.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# this script downloads all tools required to use FLE with mongodb, then starts a cluster of the provided configuration (sharded on 8.0 server)
66

77
export CWD=$(pwd);
8-
export DRIVERS_TOOLS_PINNED_COMMIT=d8098d27d0a94afe6ed20b01d653404ba6dd3910;
8+
export DRIVERS_TOOLS_PINNED_COMMIT=35d0592c76f4f3d25a5607895eb21b491dd52543;
99

10-
# install extra dependency
10+
# install extra dependency
1111
npm install mongodb-client-encryption
1212

1313
# set up mongodb cluster and encryption configuration if the data/ folder does not exist
@@ -16,15 +16,15 @@ if [ ! -d "data" ]; then
1616
mkdir data
1717
cd data
1818

19-
# note:
20-
# we're using drivers-evergreen-tools which is a repo used by MongoDB drivers to start clusters for testing.
19+
# note:
20+
# we're using drivers-evergreen-tools which is a repo used by MongoDB drivers to start clusters for testing.
2121
# if you'd like to make changes to the cluster settings, edit the exported variables below.
2222
# for configuration options for the exported variables, see here: https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/run-orchestration.sh
2323
# after this script is run, the data/ folder will notably contain the following:
2424
# 'mo-expansion.yml' file which contains for your cluster URI and crypt shared library path
2525
# 'drivers-evergreen-tools/mongodb/bin' which contain executables for other mongodb libraries such as mongocryptd, mongosh, and mongod
2626
if [ ! -d "drivers-evergreen-tools/" ]; then
27-
git clone --depth=1 "https://github.com/mongodb-labs/drivers-evergreen-tools.git"
27+
git clone "https://github.com/mongodb-labs/drivers-evergreen-tools.git"
2828
# pin stable commit
2929
git checkout $DRIVERS_TOOLS_PINNED_COMMIT
3030
fi
@@ -50,7 +50,7 @@ if [ ! -d "data" ]; then
5050

5151
# start cluster
5252
(bash $DRIVERS_TOOLS/.evergreen/run-orchestration.sh) 1> /dev/null 2> /dev/null
53-
53+
5454
echo 'Cluster Configuration Finished!'
5555

5656
cd ..

0 commit comments

Comments
 (0)