@@ -289,28 +289,6 @@ functions:
289289 - .evergreen/scripts/run-with-env.sh
290290 - .evergreen/scripts/run-atlas-tests.sh
291291
292- " run oidc auth test with test credentials " :
293- - command : subprocess.exec
294- type : test
295- params :
296- working_dir : " src"
297- binary : bash
298- include_expansions_in_env : ["DRIVERS_TOOLS", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
299- args :
300- - .evergreen/run-mongodb-oidc-test.sh
301-
302- " run oidc k8s auth test " :
303- - command : subprocess.exec
304- type : test
305- params :
306- binary : bash
307- working_dir : src
308- env :
309- OIDC_ENV : k8s
310- include_expansions_in_env : ["DRIVERS_TOOLS", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "K8S_VARIANT"]
311- args :
312- - ${PROJECT_DIRECTORY}/.evergreen/run-mongodb-oidc-remote-test.sh
313-
314292 " cleanup " :
315293 - command : subprocess.exec
316294 params :
@@ -417,96 +395,6 @@ task_groups:
417395 tasks :
418396 - " .serverless"
419397
420- - name : testazureoidc_task_group
421- setup_group :
422- - func : fetch source
423- - func : setup system
424- - command : subprocess.exec
425- params :
426- binary : bash
427- env :
428- AZUREOIDC_VMNAME_PREFIX : " PYTHON_DRIVER"
429- args :
430- - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/azure/create-and-setup-vm.sh
431- teardown_task :
432- - command : subprocess.exec
433- params :
434- binary : bash
435- args :
436- - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/azure/delete-vm.sh
437- setup_group_can_fail_task : true
438- setup_group_timeout_secs : 1800
439- tasks :
440- - oidc-auth-test-azure
441-
442- - name : testgcpoidc_task_group
443- setup_group :
444- - func : fetch source
445- - func : setup system
446- - command : subprocess.exec
447- params :
448- binary : bash
449- env :
450- GCPOIDC_VMNAME_PREFIX : " PYTHON_DRIVER"
451- args :
452- - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/gcp/setup.sh
453- teardown_task :
454- - command : subprocess.exec
455- params :
456- binary : bash
457- args :
458- - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/gcp/teardown.sh
459- setup_group_can_fail_task : true
460- setup_group_timeout_secs : 1800
461- tasks :
462- - oidc-auth-test-gcp
463-
464- - name : testk8soidc_task_group
465- setup_group :
466- - func : fetch source
467- - func : setup system
468- - command : ec2.assume_role
469- params :
470- role_arn : ${aws_test_secrets_role}
471- duration_seconds : 1800
472- - command : subprocess.exec
473- params :
474- binary : bash
475- args :
476- - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup.sh
477- teardown_task :
478- - command : subprocess.exec
479- params :
480- binary : bash
481- args :
482- - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/teardown.sh
483- setup_group_can_fail_task : true
484- setup_group_timeout_secs : 1800
485- tasks :
486- - oidc-auth-test-k8s
487-
488- - name : testoidc_task_group
489- setup_group :
490- - func : fetch source
491- - func : setup system
492- - func : " assume ec2 role"
493- - command : subprocess.exec
494- params :
495- binary : bash
496- include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
497- args :
498- - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/setup.sh
499- teardown_task :
500- - command : subprocess.exec
501- params :
502- binary : bash
503- args :
504- - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/teardown.sh
505- setup_group_can_fail_task : true
506- setup_group_timeout_secs : 1800
507- tasks :
508- - oidc-auth-test
509-
510398 - name : test_aws_lambda_task_group
511399 setup_group :
512400 - func : fetch source
@@ -659,47 +547,6 @@ tasks:
659547 env :
660548 TEST_LAMBDA_DIRECTORY : ${PROJECT_DIRECTORY}/test/lambda
661549
662- - name : " oidc-auth-test"
663- commands :
664- - func : " run oidc auth test with test credentials"
665-
666- - name : " oidc-auth-test-azure"
667- commands :
668- - command : subprocess.exec
669- type : test
670- params :
671- binary : bash
672- working_dir : src
673- env :
674- OIDC_ENV : azure
675- include_expansions_in_env : ["DRIVERS_TOOLS"]
676- args :
677- - ${PROJECT_DIRECTORY}/.evergreen/run-mongodb-oidc-remote-test.sh
678-
679- - name : " oidc-auth-test-gcp"
680- commands :
681- - command : subprocess.exec
682- type : test
683- params :
684- binary : bash
685- working_dir : src
686- env :
687- OIDC_ENV : gcp
688- include_expansions_in_env : ["DRIVERS_TOOLS"]
689- args :
690- - ${PROJECT_DIRECTORY}/.evergreen/run-mongodb-oidc-remote-test.sh
691-
692- - name : " oidc-auth-test-k8s"
693- commands :
694- - func : " run oidc k8s auth test"
695- vars :
696- K8S_VARIANT : eks
697- - func : " run oidc k8s auth test"
698- vars :
699- K8S_VARIANT : gke
700- - func : " run oidc k8s auth test"
701- vars :
702- K8S_VARIANT : aks
703550# }}}
704551 - name : " coverage-report"
705552 tags : ["coverage"]
0 commit comments