@@ -692,13 +692,21 @@ task_groups:
692
692
- func : init test-results
693
693
- func : make files executable
694
694
- func : install rust
695
+ - command : ec2.assume_role
696
+ params :
697
+ role_arn : ${aws_test_secrets_role}
698
+ duration_seconds : 3600
695
699
- command : subprocess.exec
696
700
params :
697
701
binary : bash
698
702
env :
699
703
AZUREOIDC_VMNAME_PREFIX : " RUST_DRIVER"
700
704
args :
701
705
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/azure/create-and-setup-vm.sh
706
+ include_expansions_in_env :
707
+ - AWS_ACCESS_KEY_ID
708
+ - AWS_SECRET_ACCESS_KEY
709
+ - AWS_SESSION_TOKEN
702
710
teardown_task :
703
711
- command : subprocess.exec
704
712
params :
@@ -719,13 +727,21 @@ task_groups:
719
727
- func : init test-results
720
728
- func : make files executable
721
729
- func : install rust
730
+ - command : ec2.assume_role
731
+ params :
732
+ role_arn : ${aws_test_secrets_role}
733
+ duration_seconds : 3600
722
734
- command : subprocess.exec
723
735
params :
724
736
binary : bash
725
737
env :
726
738
GCPOIDC_VMNAME_PREFIX : " RUST_DRIVER"
727
739
args :
728
740
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/gcp/setup.sh
741
+ include_expansions_in_env :
742
+ - AWS_ACCESS_KEY_ID
743
+ - AWS_SECRET_ACCESS_KEY
744
+ - AWS_SESSION_TOKEN
729
745
teardown_task :
730
746
- command : subprocess.exec
731
747
params :
@@ -746,11 +762,19 @@ task_groups:
746
762
- func : init test-results
747
763
- func : make files executable
748
764
- func : install rust
765
+ - command : ec2.assume_role
766
+ params :
767
+ role_arn : ${aws_test_secrets_role}
768
+ duration_seconds : 3600
749
769
- command : subprocess.exec
750
770
params :
751
771
binary : bash
752
772
args :
753
773
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup.sh
774
+ include_expansions_in_env :
775
+ - AWS_ACCESS_KEY_ID
776
+ - AWS_SECRET_ACCESS_KEY
777
+ - AWS_SESSION_TOKEN
754
778
teardown_task :
755
779
- command : subprocess.exec
756
780
params :
0 commit comments