@@ -184,53 +184,6 @@ functions:
184
184
- command : expansions.update
185
185
params :
186
186
file : src/serverless-expansion.yml
187
- - command : shell.exec
188
- params :
189
- shell : bash
190
- script : |
191
- ${PREPARE_SHELL}
192
-
193
- if [ -z "${SERVERLESS_MONGODB_VERSION}" ]; then
194
- echo "expected SERVERLESS_MONGODB_VERSION to be set"
195
- exit 1
196
- fi
197
-
198
- . ${DRIVERS_TOOLS}/.evergreen/find-python3.sh
199
- PYTHON_BINARY="$(find_python3)" || exit 1
200
-
201
- # Download the enterprise server download for current platform to $MONGODB_BINARIES.
202
- # This is required for tests that need mongocryptd.
203
- # $MONGODB_BINARIES is added to the $PATH in fetch-source.
204
- ${PYTHON_BINARY} ${DRIVERS_TOOLS}/.evergreen/mongodl.py \
205
- --component archive \
206
- --version ${SERVERLESS_MONGODB_VERSION} \
207
- --edition enterprise \
208
- --out $MONGODB_BINARIES \
209
- --strip-path-components 2
210
-
211
- # Download the crypt_shared dynamic library for the current platform.
212
- ${PYTHON_BINARY} ${DRIVERS_TOOLS}/.evergreen/mongodl.py \
213
- --component crypt_shared \
214
- --version ${SERVERLESS_MONGODB_VERSION} \
215
- --edition enterprise \
216
- --out . \
217
- --only "**/mongo_crypt_v1.*" \
218
- --strip-path-components 1
219
-
220
- # Find the crypt_shared library file in the current directory and set the CRYPT_SHARED_LIB_PATH to
221
- # the path of that file. Only look for .so, .dll, or .dylib files to prevent matching any other
222
- # downloaded files.
223
- CRYPT_SHARED_LIB_PATH="$(find $(pwd) -maxdepth 1 -type f \
224
- -name 'mongo_crypt_v1.so' -o \
225
- -name 'mongo_crypt_v1.dll' -o \
226
- -name 'mongo_crypt_v1.dylib')"
227
-
228
- echo "CRYPT_SHARED_LIB_PATH: $CRYPT_SHARED_LIB_PATH" >> crypt-expansion.yml
229
-
230
- # Load the expansion file to make an evergreen variable with the current unique version
231
- - command : expansions.update
232
- params :
233
- file : crypt-expansion.yml
234
187
235
188
" delete serverless instance " :
236
189
- command : shell.exec
0 commit comments