File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ functions:
5252 " assume role " :
5353 - command : ec2.assume_role
5454 params :
55- role_arn : ${assume_role_arn }
55+ role_arn : ${drivers_test_secrets_role }
5656
5757 " execute tests " :
5858 - command : subprocess.exec
@@ -68,7 +68,7 @@ functions:
6868 type : test
6969 retry_on_failure : true
7070 params :
71- include_expansions_in_env : [DIR]
71+ include_expansions_in_env : [DIR, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN ]
7272 working_dir : " src"
7373 binary : bash
7474 args :
@@ -78,14 +78,15 @@ functions:
7878 - command : subprocess.exec
7979 type : test
8080 params :
81- include_expansions_in_env : [DIR]
81+ include_expansions_in_env : [DIR, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN ]
8282 working_dir : " src"
8383 binary : bash
8484 args : [.evergreen/setup-remote.sh]
8585
8686pre_error_fails_task : true
8787post_error_fails_task : true
8888pre :
89+ - func : " assume role"
8990 - func : " fetch source"
9091 - func : " fetch secrets"
9192post :
@@ -198,15 +199,13 @@ tasks:
198199 tags : [local]
199200 commands :
200201 - func : " fetch repo"
201- - func : " assume role"
202202 - func : " setup local atlas"
203203 - func : " execute tests"
204204
205205 - name : test-pymongo-voyageai-remote
206206 tags : [remote]
207207 commands :
208208 - func : " fetch repo"
209- - func : " assume role"
210209 - func : " setup remote atlas"
211210 - func : " execute tests"
212211
You can’t perform that action at this time.
0 commit comments