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:
52
52
" assume role " :
53
53
- command : ec2.assume_role
54
54
params :
55
- role_arn : ${assume_role_arn }
55
+ role_arn : ${drivers_test_secrets_role }
56
56
57
57
" execute tests " :
58
58
- command : subprocess.exec
@@ -68,7 +68,7 @@ functions:
68
68
type : test
69
69
retry_on_failure : true
70
70
params :
71
- include_expansions_in_env : [DIR]
71
+ include_expansions_in_env : [DIR, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN ]
72
72
working_dir : " src"
73
73
binary : bash
74
74
args :
@@ -78,14 +78,15 @@ functions:
78
78
- command : subprocess.exec
79
79
type : test
80
80
params :
81
- include_expansions_in_env : [DIR]
81
+ include_expansions_in_env : [DIR, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN ]
82
82
working_dir : " src"
83
83
binary : bash
84
84
args : [.evergreen/setup-remote.sh]
85
85
86
86
pre_error_fails_task : true
87
87
post_error_fails_task : true
88
88
pre :
89
+ - func : " assume role"
89
90
- func : " fetch source"
90
91
- func : " fetch secrets"
91
92
post :
@@ -198,15 +199,13 @@ tasks:
198
199
tags : [local]
199
200
commands :
200
201
- func : " fetch repo"
201
- - func : " assume role"
202
202
- func : " setup local atlas"
203
203
- func : " execute tests"
204
204
205
205
- name : test-pymongo-voyageai-remote
206
206
tags : [remote]
207
207
commands :
208
208
- func : " fetch repo"
209
- - func : " assume role"
210
209
- func : " setup remote atlas"
211
210
- func : " execute tests"
212
211
You can’t perform that action at this time.
0 commit comments