@@ -543,21 +543,25 @@ task_groups:
543
543
- func : " make files executable"
544
544
- func : " install rust"
545
545
- func : " install junit dependencies"
546
+ - command : ec2.assume_role
547
+ params :
548
+ role_arn : ${aws_test_secrets_role}
546
549
- command : subprocess.exec
547
550
params :
548
551
working_dir : src
549
552
binary : bash
550
553
include_expansions_in_env :
551
- - DRIVERS_ATLAS_PUBLIC_API_KEY
552
- - DRIVERS_ATLAS_PRIVATE_API_KEY
553
- - DRIVERS_ATLAS_GROUP_ID
554
- - DRIVERS_ATLAS_LAMBDA_USER
555
- - DRIVERS_ATLAS_LAMBDA_PASSWORD
554
+ - AWS_ACCESS_KEY_ID
555
+ - AWS_SECRET_ACCESS_KEY
556
+ - AWS_SESSION_TOKEN
557
+ - DRIVERS_TOOLS
556
558
- LAMBDA_STACK_NAME
557
559
- MONGODB_VERSION
558
560
env :
559
561
MONGODB_VERSION : " 7.0"
560
562
args :
563
+ - .evergreen/with-secrets.sh
564
+ - drivers/atlas-dev
561
565
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
562
566
- command : expansions.update
563
567
params :
@@ -568,11 +572,10 @@ task_groups:
568
572
working_dir : src
569
573
binary : bash
570
574
include_expansions_in_env :
571
- - DRIVERS_ATLAS_PUBLIC_API_KEY
572
- - DRIVERS_ATLAS_PRIVATE_API_KEY
573
- - DRIVERS_ATLAS_GROUP_ID
574
575
- CLUSTER_NAME
575
576
args :
577
+ - .evergreen/with-secrets.sh
578
+ - drivers/atlas-dev
576
579
- ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
577
580
- func : " upload test results"
578
581
tasks :
@@ -588,19 +591,23 @@ task_groups:
588
591
- func : " make files executable"
589
592
- func : " install rust"
590
593
- func : " install cargo-lambda"
594
+ - command : ec2.assume_role
595
+ params :
596
+ role_arn : ${aws_test_secrets_role}
591
597
- command : subprocess.exec
592
598
params :
593
599
working_dir : src
594
600
binary : bash
595
601
include_expansions_in_env :
596
- - DRIVERS_ATLAS_PUBLIC_API_KEY
597
- - DRIVERS_ATLAS_PRIVATE_API_KEY
598
- - DRIVERS_ATLAS_GROUP_ID
599
- - DRIVERS_ATLAS_LAMBDA_USER
600
- - DRIVERS_ATLAS_LAMBDA_PASSWORD
602
+ - AWS_ACCESS_KEY_ID
603
+ - AWS_SECRET_ACCESS_KEY
604
+ - AWS_SESSION_TOKEN
605
+ - DRIVERS_TOOLS
601
606
- LAMBDA_STACK_NAME
602
607
- MONGODB_VERSION
603
608
args :
609
+ - .evergreen/with-secrets.sh
610
+ - drivers/atlas-dev
604
611
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
605
612
- command : expansions.update
606
613
params :
@@ -611,11 +618,10 @@ task_groups:
611
618
working_dir : src
612
619
binary : bash
613
620
include_expansions_in_env :
614
- - DRIVERS_ATLAS_PUBLIC_API_KEY
615
- - DRIVERS_ATLAS_PRIVATE_API_KEY
616
- - DRIVERS_ATLAS_GROUP_ID
617
621
- CLUSTER_NAME
618
622
args :
623
+ - .evergreen/with-secrets.sh
624
+ - drivers/atlas-dev
619
625
- ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
620
626
setup_group_can_fail_task : true
621
627
setup_group_timeout_secs : 1800
0 commit comments