@@ -42,7 +42,7 @@ functions:
4242 # Make an evergreen expansion file with dynamic values
4343 - command : subprocess.exec
4444 params :
45- include_expansions_in_env : ["is_patch", "project", "version_id", "skip_web_identity_auth_test", "skip_ECS_auth_test" ]
45+ include_expansions_in_env : ["is_patch", "project", "version_id"]
4646 binary : bash
4747 working_dir : " src"
4848 args :
@@ -213,30 +213,14 @@ functions:
213213 params :
214214 file : ${DRIVERS_TOOLS}/mo-expansion.yml
215215
216- " bootstrap data lake " :
216+ " run just script " :
217217 - command : subprocess.exec
218- type : setup
219- params :
220- binary : bash
221- args :
222- - ${DRIVERS_TOOLS}/.evergreen/atlas_data_lake/pull-mongohouse-image.sh
223- - command : subprocess.exec
224- type : setup
218+ type : test
225219 params :
226- binary : bash
227- args :
228- - ${DRIVERS_TOOLS}/.evergreen/atlas_data_lake/run-mongohouse-image.sh
229-
230- " run doctests " :
231- - command : subprocess.exec
232- type : test
233- params :
234- include_expansions_in_env : [ "PYTHON_BINARY" ]
235- working_dir : " src"
236- binary : bash
237- args :
238- - .evergreen/scripts/run-with-env.sh
239- - .evergreen/scripts/run-doctests.sh
220+ include_expansions_in_env : [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
221+ binary : bash
222+ working_dir : " src"
223+ args : [.evergreen/just.sh, "${JUSTFILE_TARGET}"]
240224
241225 " run tests " :
242226 - command : subprocess.exec
@@ -262,7 +246,6 @@ functions:
262246 binary : bash
263247 working_dir : " src"
264248 args :
265- - .evergreen/scripts/run-with-env.sh
266249 - .evergreen/scripts/cleanup.sh
267250
268251 " teardown system " :
@@ -282,27 +265,7 @@ functions:
282265 - command : ec2.assume_role
283266 params :
284267 role_arn : ${aws_test_secrets_role}
285-
286- " setup atlas " :
287- - command : subprocess.exec
288- params :
289- binary : bash
290- include_expansions_in_env : ["task_id", "execution"]
291- env :
292- MONGODB_VERSION : " 7.0"
293- LAMBDA_STACK_NAME : dbx-python-lambda
294- args :
295- - ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
296- - command : expansions.update
297- params :
298- file : atlas-expansion.yml
299-
300- " teardown atlas " :
301- - command : subprocess.exec
302- params :
303- binary : bash
304- args :
305- - ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
268+ duration_seconds : 3600
306269
307270 " attach benchmark test results " :
308271 - command : attach.results
@@ -328,31 +291,6 @@ post:
328291 - func : " upload test results"
329292 - func : " cleanup"
330293
331- task_groups :
332- - name : test_aws_lambda_task_group
333- setup_group :
334- - func : fetch source
335- - func : setup system
336- - func : setup atlas
337- teardown_task :
338- - func : teardown atlas
339- setup_group_can_fail_task : true
340- setup_group_timeout_secs : 1800
341- tasks :
342- - test-aws-lambda-deployed
343-
344- - name : test_atlas_task_group_search_indexes
345- setup_group :
346- - func : fetch source
347- - func : setup system
348- - func : setup atlas
349- teardown_task :
350- - func : teardown atlas
351- setup_group_can_fail_task : true
352- setup_group_timeout_secs : 1800
353- tasks :
354- - test-search-index-helpers
355-
356294tasks :
357295 # Wildcard task. Do you need to find out what tools are available and where?
358296 # Throw it here, and execute this task on all buildvariants
@@ -364,70 +302,7 @@ tasks:
364302 params :
365303 args :
366304 - src/.evergreen/scripts/run-getdata.sh
367- # Standard test tasks {{{
368-
369- - name : " mockupdb"
370- tags : ["mockupdb"]
371- commands :
372- - func : " run tests"
373- vars :
374- TEST_NAME : mockupdb
375305
376- - name : " doctests"
377- tags : ["doctests"]
378- commands :
379- - func : " run server"
380- - func : " run doctests"
381-
382- - name : " test-search-index-helpers"
383- commands :
384- - func : " run server"
385- vars :
386- VERSION : " 6.0"
387- TOPOLOGY : " replica_set"
388- - func : " run tests"
389- vars :
390- TEST_NAME : index_management
391- AUTH : " auth"
392-
393- - name : " no-server"
394- tags : ["no-server"]
395- commands :
396- - func : " run tests"
397-
398- - name : " free-threading"
399- tags : ["free-threading"]
400- commands :
401- - func : " run server"
402- vars :
403- VERSION : " 8.0"
404- TOPOLOGY : " replica_set"
405- - func : " run tests"
406-
407- - name : atlas-data-lake-tests
408- commands :
409- - func : " bootstrap data lake"
410- - func : " run tests"
411- vars :
412- TEST_NAME : " data_lake"
413-
414- - name : " test-aws-lambda-deployed"
415- commands :
416- - command : ec2.assume_role
417- params :
418- role_arn : ${LAMBDA_AWS_ROLE_ARN}
419- duration_seconds : 3600
420- - command : subprocess.exec
421- params :
422- working_dir : src
423- binary : bash
424- add_expansions_to_env : true
425- args :
426- - .evergreen/run-deployed-lambda-aws-tests.sh
427- env :
428- TEST_LAMBDA_DIRECTORY : ${PROJECT_DIRECTORY}/test/lambda
429-
430- # }}}
431306 - name : " coverage-report"
432307 tags : ["coverage"]
433308 depends_on :
@@ -477,12 +352,6 @@ tasks:
477352 - ${github_commit}
478353
479354buildvariants :
480- - name : " no-server"
481- display_name : " No server"
482- run_on :
483- - rhel84-small
484- tasks :
485- - name : " no-server"
486355
487356- name : " Coverage Report"
488357 display_name : " Coverage Report"
@@ -503,12 +372,6 @@ buildvariants:
503372 batchtime : 10080 # 7 days
504373 - name : test-azurekms-fail
505374
506- - name : rhel8-test-lambda
507- display_name : FaaS Lambda
508- run_on : rhel87-small
509- tasks :
510- - name : test_aws_lambda_task_group
511-
512375- name : rhel8-import-time
513376 display_name : Import Time
514377 run_on : rhel87-small
0 commit comments