Skip to content

Commit cfd1bb5

Browse files
committed
correctly check out pinned commit
1 parent e0bb056 commit cfd1bb5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

scripts/configure-cluster-with-encryption.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@ if [ ! -d "data" ]; then
1717
cd data
1818

1919
# note:
20-
# we're using drivers-evergreen-tools which is a repo used by MongoDB drivers to start clusters for testing.
21-
# if you'd like to make changes to the cluster settings, edit the exported variables below.
22-
# for configuration options for the exported variables, see here: https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/run-orchestration.sh
23-
# after this script is run, the data/ folder will notably contain the following:
24-
# 'mo-expansion.yml' file which contains for your cluster URI and crypt shared library path
25-
# 'drivers-evergreen-tools/mongodb/bin' which contain executables for other mongodb libraries such as mongocryptd, mongosh, and mongod
20+
# we're using drivers-evergreen-tools which is a repo used by MongoDB drivers to start clusters for testing.
21+
# if you'd like to make changes to the cluster settings, edit the exported variables below.
22+
# for configuration options for the exported variables, see here: https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/run-orchestration.sh
23+
# after this script is run, the data/ folder will notably contain the following:
24+
# 'mo-expansion.yml' file which contains for your cluster URI and crypt shared library path
25+
# '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
2727
git clone "https://github.com/mongodb-labs/drivers-evergreen-tools.git"
2828
# pin stable commit
29+
cd drivers-evergreen-tools
2930
git checkout $DRIVERS_TOOLS_PINNED_COMMIT
31+
cd ..
3032
fi
3133

3234
# configure cluster settings

0 commit comments

Comments
 (0)