@@ -271,16 +271,16 @@ buildvariants:
271
271
tasks :
272
272
- test-plain-auth
273
273
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
284
284
285
285
- name : oidc-linux
286
286
display_name : " OIDC Linux"
@@ -675,13 +675,21 @@ task_groups:
675
675
- func : init test-results
676
676
- func : make files executable
677
677
- func : install rust
678
+ - command : ec2.assume_role
679
+ params :
680
+ role_arn : ${aws_test_secrets_role}
681
+ duration_seconds : 3600
678
682
- command : subprocess.exec
679
683
params :
680
684
binary : bash
681
685
env :
682
686
AZUREOIDC_VMNAME_PREFIX : " RUST_DRIVER"
683
687
args :
684
688
- ${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
685
693
teardown_task :
686
694
- command : subprocess.exec
687
695
params :
@@ -702,13 +710,21 @@ task_groups:
702
710
- func : init test-results
703
711
- func : make files executable
704
712
- func : install rust
713
+ - command : ec2.assume_role
714
+ params :
715
+ role_arn : ${aws_test_secrets_role}
716
+ duration_seconds : 3600
705
717
- command : subprocess.exec
706
718
params :
707
719
binary : bash
708
720
env :
709
721
GCPOIDC_VMNAME_PREFIX : " RUST_DRIVER"
710
722
args :
711
723
- ${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
712
728
teardown_task :
713
729
- command : subprocess.exec
714
730
params :
@@ -729,11 +745,19 @@ task_groups:
729
745
- func : init test-results
730
746
- func : make files executable
731
747
- func : install rust
748
+ - command : ec2.assume_role
749
+ params :
750
+ role_arn : ${aws_test_secrets_role}
751
+ duration_seconds : 3600
732
752
- command : subprocess.exec
733
753
params :
734
754
binary : bash
735
755
args :
736
756
- ${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
737
761
teardown_task :
738
762
- command : subprocess.exec
739
763
params :
0 commit comments