@@ -141,7 +141,17 @@ functions:
141
141
params :
142
142
script : |
143
143
${PREPARE_SHELL}
144
- SKIP_CRYPT_SHARED=${SKIP_CRYPT_SHARED} SKIP_LEGACY_SHELL=true MONGODB_VERSION=${MONGODB_VERSION} ORCHESTRATION_FILE=${ORCHESTRATION_FILE} TOPOLOGY=${TOPOLOGY} AUTH=${AUTH} SSL=${SSL} STORAGE_ENGINE=${STORAGE_ENGINE} LOAD_BALANCER=${LOAD_BALANCER} REQUIRE_API_VERSION=${REQUIRE_API_VERSION} ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
144
+ SKIP_CRYPT_SHARED=${SKIP_CRYPT_SHARED} \
145
+ SKIP_LEGACY_SHELL=true \
146
+ MONGODB_VERSION=${MONGODB_VERSION} \
147
+ ORCHESTRATION_FILE=${ORCHESTRATION_FILE} \
148
+ TOPOLOGY=${TOPOLOGY} \
149
+ AUTH=${AUTH} \
150
+ SSL=${SSL} \
151
+ STORAGE_ENGINE=${STORAGE_ENGINE} \
152
+ LOAD_BALANCER=${LOAD_BALANCER} \
153
+ REQUIRE_API_VERSION=${REQUIRE_API_VERSION} \
154
+ bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
145
155
# run-orchestration generates expansion file with MONGODB_URI and CRYPT_SHARED_LIB_PATH
146
156
- command : expansions.update
147
157
params :
@@ -152,7 +162,7 @@ functions:
152
162
params :
153
163
script : |
154
164
${PREPARE_SHELL}
155
- ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh
165
+ bash ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh
156
166
157
167
" bootstrap mongohoused " :
158
168
- command : shell.exec
@@ -161,14 +171,14 @@ functions:
161
171
cd ${DRIVERS_TOOLS}/.evergreen/atlas_data_lake
162
172
163
173
DRIVERS_TOOLS="${DRIVERS_TOOLS}" \
164
- ./pull-mongohouse-image.sh
174
+ bash ./pull-mongohouse-image.sh
165
175
- command : shell.exec
166
176
params :
167
177
script : |
168
178
cd ${DRIVERS_TOOLS}/.evergreen/atlas_data_lake
169
179
170
180
DRIVERS_TOOLS="${DRIVERS_TOOLS}" \
171
- ./run-mongohouse-image.sh
181
+ bash ./run-mongohouse-image.sh
172
182
173
183
" create serverless instance " :
174
184
- command : subprocess.exec
@@ -235,7 +245,7 @@ functions:
235
245
PHP_VERSION=${PHP_VERSION} \
236
246
SSL=${SSL} \
237
247
TESTS=${TESTS} \
238
- ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
248
+ bash ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
239
249
240
250
" run atlas data lake test " :
241
251
- command : shell.exec
@@ -248,7 +258,7 @@ functions:
248
258
249
259
MONGODB_URI="mongodb://mhuser:[email protected] :27017" \
250
260
TESTS="atlas-data-lake" \
251
- ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
261
+ bash ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
252
262
253
263
" run serverless tests " :
254
264
- command : shell.exec
@@ -284,7 +294,7 @@ functions:
284
294
CRYPT_SHARED_LIB_PATH=${CRYPT_SHARED_LIB_PATH} \
285
295
MONGODB_URI="${SERVERLESS_URI}" \
286
296
TESTS="serverless" \
287
- ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
297
+ bash ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
288
298
289
299
" cleanup " :
290
300
- command : shell.exec
@@ -310,7 +320,7 @@ functions:
310
320
${PREPARE_SHELL}
311
321
file="${PROJECT_DIRECTORY}/.evergreen/install-dependencies.sh"
312
322
# Don't use ${file} syntax here because evergreen treats it as an empty expansion.
313
- [ -f "$file" ] && sh $file || echo "$file not available, skipping"
323
+ [ -f "$file" ] && bash $file || echo "$file not available, skipping"
314
324
315
325
" install composer " :
316
326
- command : shell.exec
@@ -321,13 +331,14 @@ functions:
321
331
${PREPARE_SHELL}
322
332
file="${PROJECT_DIRECTORY}/.evergreen/install-composer.sh"
323
333
# Don't use ${file} syntax here because evergreen treats it as an empty expansion.
324
- [ -f "$file" ] && DEPENDENCIES=${DEPENDENCIES} sh $file || echo "$file not available, skipping"
334
+ [ -f "$file" ] && DEPENDENCIES=${DEPENDENCIES} bash $file || echo "$file not available, skipping"
325
335
326
336
" start load balancer " :
327
337
- command : shell.exec
328
338
params :
329
339
script : |
330
- MONGODB_URI="${MONGODB_URI}" ${DRIVERS_TOOLS}/.evergreen/run-load-balancer.sh start
340
+ MONGODB_URI="${MONGODB_URI}" \
341
+ bash ${DRIVERS_TOOLS}/.evergreen/run-load-balancer.sh start
331
342
- command : expansions.update
332
343
params :
333
344
file : lb-expansion.yml
@@ -338,7 +349,7 @@ functions:
338
349
script : |
339
350
# Only run if a load balancer was started
340
351
if [ -n "${SINGLE_MONGOS_LB_URI}" ]; then
341
- ${DRIVERS_TOOLS}/.evergreen/run-load-balancer.sh stop
352
+ bash ${DRIVERS_TOOLS}/.evergreen/run-load-balancer.sh stop
342
353
fi
343
354
344
355
" start kms servers " :
0 commit comments