@@ -45,11 +45,16 @@ functions:
4545 binary : bash
4646 args : [.evergreen/fetch-repo.sh]
4747
48+ " assume role " :
49+ - command : ec2.assume_role
50+ params :
51+ role_arn : ${assume_role_arn}
52+
4853 " execute tests " :
4954 - command : subprocess.exec
5055 type : test
5156 params :
52- include_expansions_in_env : [DIR]
57+ include_expansions_in_env : [DIR, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN ]
5358 working_dir : " src"
5459 binary : bash
5560 args : [.evergreen/execute-tests.sh]
@@ -185,6 +190,22 @@ tasks:
185190 - func : " setup remote atlas"
186191 - func : " execute tests"
187192
193+ - name : test-pymongo-voyageai-local
194+ tags : [local]
195+ commands :
196+ - func : " fetch repo"
197+ - func : " assume role"
198+ - func : " setup local atlas"
199+ - func : " execute tests"
200+
201+ - name : test-pymongo-voyageai-remote
202+ tags : [remote]
203+ commands :
204+ - func : " fetch repo"
205+ - func : " assume role"
206+ - func : " setup remote atlas"
207+ - func : " execute tests"
208+
188209 - name : test-haystack-embeddings-local
189210 tags : [local]
190211 commands :
@@ -298,6 +319,16 @@ buildvariants:
298319 - name : test-docarray-local
299320 - name : test-docarray-remote
300321
322+ - name : test-pymongo-voyageai-rhel
323+ display_name : PyMongo-VoyageAI RHEL
324+ expansions :
325+ DIR : pymongo-voyageai
326+ run_on :
327+ - rhel87-small
328+ tasks :
329+ - name : test-pymongo-voyageai-local
330+ - name : test-pymongo-voyageai-remote
331+
301332 - name : test-haystack-embeddings-rhel
302333 display_name : Haystack Embeddings RHEL
303334 expansions :
0 commit comments