Skip to content

Commit 682fb11

Browse files
update setup script
1 parent f1c986c commit 682fb11

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

scripts/configure-cluster-with-encryption.sh

+6-8
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

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

7-
export CWD=$(pwd);
8-
export DRIVERS_TOOLS_PINNED_COMMIT=35d0592c76f4f3d25a5607895eb21b491dd52543;
7+
export CWD=$(pwd)
8+
export DRIVERS_TOOLS_PINNED_COMMIT=4e18803c074231ec9fc3ace8f966e2c49d9874bb
99

1010
# install extra dependency
1111
npm install --no-save mongodb-client-encryption
@@ -33,11 +33,9 @@ if [ ! -d "data" ]; then
3333

3434
# configure cluster settings
3535
export DRIVERS_TOOLS=$CWD/data/drivers-evergreen-tools
36-
export MONGODB_VERSION=8.0
37-
export AUTH=true
36+
export AUTH=auth
3837
export MONGODB_BINARIES=$DRIVERS_TOOLS/mongodb/bin
39-
export MONGO_ORCHESTRATION_HOME=$DRIVERS_TOOLS/mo
40-
export PROJECT_ORCHESTRATION_HOME=$DRIVERS_TOOLS/.evergreen/orchestration
38+
export MONGO_ORCHESTRATION_HOME=$DRIVERS_TOOLS/.evergreen/orchestration
4139
export TOPOLOGY=sharded_cluster
4240
export SSL=nossl
4341

@@ -46,12 +44,12 @@ if [ ! -d "data" ]; then
4644
mkdir mo
4745
cd -
4846

49-
rm expansions.sh 2> /dev/null
47+
rm expansions.sh 2>/dev/null
5048

5149
echo 'Configuring Cluster...'
5250

5351
# start cluster
54-
(bash $DRIVERS_TOOLS/.evergreen/run-orchestration.sh) 1> /dev/null 2> /dev/null
52+
(bash $DRIVERS_TOOLS/.evergreen/run-orchestration.sh) 1>/dev/null 2>/dev/null
5553

5654
echo 'Cluster Configuration Finished!'
5755

0 commit comments

Comments
 (0)