@@ -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,16 +213,14 @@ functions:
213213 params :
214214 file : ${DRIVERS_TOOLS}/mo-expansion.yml
215215
216- " run doctests " :
217- - command : subprocess.exec
218- type : test
219- params :
220- include_expansions_in_env : [ "PYTHON_BINARY" ]
221- working_dir : " src"
222- binary : bash
223- args :
224- - .evergreen/scripts/run-with-env.sh
225- - .evergreen/scripts/run-doctests.sh
216+ " run just script " :
217+ - command : subprocess.exec
218+ type : test
219+ params :
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}"]
226224
227225 " run tests " :
228226 - command : subprocess.exec
@@ -248,7 +246,6 @@ functions:
248246 binary : bash
249247 working_dir : " src"
250248 args :
251- - .evergreen/scripts/run-with-env.sh
252249 - .evergreen/scripts/cleanup.sh
253250
254251 " teardown system " :
@@ -268,27 +265,7 @@ functions:
268265 - command : ec2.assume_role
269266 params :
270267 role_arn : ${aws_test_secrets_role}
271-
272- " setup atlas " :
273- - command : subprocess.exec
274- params :
275- binary : bash
276- include_expansions_in_env : ["task_id", "execution"]
277- env :
278- MONGODB_VERSION : " 7.0"
279- LAMBDA_STACK_NAME : dbx-python-lambda
280- args :
281- - ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
282- - command : expansions.update
283- params :
284- file : atlas-expansion.yml
285-
286- " teardown atlas " :
287- - command : subprocess.exec
288- params :
289- binary : bash
290- args :
291- - ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
268+ duration_seconds : 3600
292269
293270 " attach benchmark test results " :
294271 - command : attach.results
@@ -314,31 +291,6 @@ post:
314291 - func : " upload test results"
315292 - func : " cleanup"
316293
317- task_groups :
318- - name : test_aws_lambda_task_group
319- setup_group :
320- - func : fetch source
321- - func : setup system
322- - func : setup atlas
323- teardown_task :
324- - func : teardown atlas
325- setup_group_can_fail_task : true
326- setup_group_timeout_secs : 1800
327- tasks :
328- - test-aws-lambda-deployed
329-
330- - name : test_atlas_task_group_search_indexes
331- setup_group :
332- - func : fetch source
333- - func : setup system
334- - func : setup atlas
335- teardown_task :
336- - func : teardown atlas
337- setup_group_can_fail_task : true
338- setup_group_timeout_secs : 1800
339- tasks :
340- - test-search-index-helpers
341-
342294tasks :
343295 # Wildcard task. Do you need to find out what tools are available and where?
344296 # Throw it here, and execute this task on all buildvariants
@@ -350,63 +302,7 @@ tasks:
350302 params :
351303 args :
352304 - src/.evergreen/scripts/run-getdata.sh
353- # Standard test tasks {{{
354-
355- - name : " mockupdb"
356- tags : ["mockupdb"]
357- commands :
358- - func : " run tests"
359- vars :
360- TEST_NAME : mockupdb
361-
362- - name : " doctests"
363- tags : ["doctests"]
364- commands :
365- - func : " run server"
366- - func : " run doctests"
367305
368- - name : " test-search-index-helpers"
369- commands :
370- - func : " run server"
371- vars :
372- VERSION : " 6.0"
373- TOPOLOGY : " replica_set"
374- - func : " run tests"
375- vars :
376- TEST_NAME : index_management
377- AUTH : " auth"
378-
379- - name : " no-server"
380- tags : ["no-server"]
381- commands :
382- - func : " run tests"
383-
384- - name : " free-threading"
385- tags : ["free-threading"]
386- commands :
387- - func : " run server"
388- vars :
389- VERSION : " 8.0"
390- TOPOLOGY : " replica_set"
391- - func : " run tests"
392-
393- - name : " test-aws-lambda-deployed"
394- commands :
395- - command : ec2.assume_role
396- params :
397- role_arn : ${LAMBDA_AWS_ROLE_ARN}
398- duration_seconds : 3600
399- - command : subprocess.exec
400- params :
401- working_dir : src
402- binary : bash
403- add_expansions_to_env : true
404- args :
405- - .evergreen/run-deployed-lambda-aws-tests.sh
406- env :
407- TEST_LAMBDA_DIRECTORY : ${PROJECT_DIRECTORY}/test/lambda
408-
409- # }}}
410306 - name : " coverage-report"
411307 tags : ["coverage"]
412308 depends_on :
@@ -456,12 +352,6 @@ tasks:
456352 - ${github_commit}
457353
458354buildvariants :
459- - name : " no-server"
460- display_name : " No server"
461- run_on :
462- - rhel84-small
463- tasks :
464- - name : " no-server"
465355
466356- name : " Coverage Report"
467357 display_name : " Coverage Report"
@@ -482,12 +372,6 @@ buildvariants:
482372 batchtime : 10080 # 7 days
483373 - name : test-azurekms-fail
484374
485- - name : rhel8-test-lambda
486- display_name : FaaS Lambda
487- run_on : rhel87-small
488- tasks :
489- - name : test_aws_lambda_task_group
490-
491375- name : rhel8-import-time
492376 display_name : Import Time
493377 run_on : rhel87-small
0 commit comments