Skip to content

Commit aeaa95c

Browse files
authored
Merge pull request Automattic#15216 from mongodb-js/encryption-ci-fix
fix: pin drivers-evergreen-tools version
2 parents fe4a096 + 2ef0a78 commit aeaa95c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/configure-cluster-with-encryption.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
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;
89

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

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

5356
cd ..
54-
fi
57+
fi

0 commit comments

Comments
 (0)