@@ -271,16 +271,16 @@ buildvariants:
271271 tasks :
272272 - test-plain-auth
273273
274- - name : serverless
275- display_name : " Serverless"
276- run_on :
277- - rhel80-small
278- expansions :
279- LIBMONGOCRYPT_OS : rhel-80-64-bit
280- AUTH : auth
281- SSL : ssl
282- tasks :
283- - serverless-task-group
274+ # - name: serverless
275+ # display_name: "Serverless"
276+ # run_on:
277+ # - rhel80-small
278+ # expansions:
279+ # LIBMONGOCRYPT_OS: rhel-80-64-bit
280+ # AUTH: auth
281+ # SSL: ssl
282+ # tasks:
283+ # - serverless-task-group
284284
285285 - name : oidc-linux
286286 display_name : " OIDC Linux"
@@ -675,13 +675,21 @@ task_groups:
675675 - func : init test-results
676676 - func : make files executable
677677 - func : install rust
678+ - command : ec2.assume_role
679+ params :
680+ role_arn : ${aws_test_secrets_role}
681+ duration_seconds : 3600
678682 - command : subprocess.exec
679683 params :
680684 binary : bash
681685 env :
682686 AZUREOIDC_VMNAME_PREFIX : " RUST_DRIVER"
683687 args :
684688 - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/azure/create-and-setup-vm.sh
689+ include_expansions_in_env :
690+ - AWS_ACCESS_KEY_ID
691+ - AWS_SECRET_ACCESS_KEY
692+ - AWS_SESSION_TOKEN
685693 teardown_task :
686694 - command : subprocess.exec
687695 params :
@@ -702,13 +710,21 @@ task_groups:
702710 - func : init test-results
703711 - func : make files executable
704712 - func : install rust
713+ - command : ec2.assume_role
714+ params :
715+ role_arn : ${aws_test_secrets_role}
716+ duration_seconds : 3600
705717 - command : subprocess.exec
706718 params :
707719 binary : bash
708720 env :
709721 GCPOIDC_VMNAME_PREFIX : " RUST_DRIVER"
710722 args :
711723 - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/gcp/setup.sh
724+ include_expansions_in_env :
725+ - AWS_ACCESS_KEY_ID
726+ - AWS_SECRET_ACCESS_KEY
727+ - AWS_SESSION_TOKEN
712728 teardown_task :
713729 - command : subprocess.exec
714730 params :
@@ -729,11 +745,19 @@ task_groups:
729745 - func : init test-results
730746 - func : make files executable
731747 - func : install rust
748+ - command : ec2.assume_role
749+ params :
750+ role_arn : ${aws_test_secrets_role}
751+ duration_seconds : 3600
732752 - command : subprocess.exec
733753 params :
734754 binary : bash
735755 args :
736756 - ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup.sh
757+ include_expansions_in_env :
758+ - AWS_ACCESS_KEY_ID
759+ - AWS_SECRET_ACCESS_KEY
760+ - AWS_SESSION_TOKEN
737761 teardown_task :
738762 - command : subprocess.exec
739763 params :
0 commit comments