Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ functions:
"assume role":
- command: ec2.assume_role
params:
role_arn: ${assume_role_arn}
role_arn: ${drivers_test_secrets_role}

"execute tests":
- command: subprocess.exec
Expand All @@ -68,7 +68,7 @@ functions:
type: test
retry_on_failure: true
params:
include_expansions_in_env: [DIR]
include_expansions_in_env: [DIR, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
working_dir: "src"
binary: bash
args:
Expand All @@ -78,14 +78,15 @@ functions:
- command: subprocess.exec
type: test
params:
include_expansions_in_env: [DIR]
include_expansions_in_env: [DIR, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
working_dir: "src"
binary: bash
args: [.evergreen/setup-remote.sh]

pre_error_fails_task: true
post_error_fails_task: true
pre:
- func: "assume role"
- func: "fetch source"
- func: "fetch secrets"
post:
Expand Down Expand Up @@ -198,15 +199,13 @@ tasks:
tags: [local]
commands:
- func: "fetch repo"
- func: "assume role"
- func: "setup local atlas"
- func: "execute tests"

- name: test-pymongo-voyageai-remote
tags: [remote]
commands:
- func: "fetch repo"
- func: "assume role"
- func: "setup remote atlas"
- func: "execute tests"

Expand Down