From 7d91d2f6c28ed1690607056a9e85abf74e2ab1e1 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Thu, 19 Feb 2026 11:33:40 +0000 Subject: [PATCH] Evergreen atlas search fix Update evergreen atlas-deployed-task-group configuration Assume test secrets and follow the driver-evergreen-tools atlas recommended usage: https://github.com/mongodb-labs/drivers-evergreen-tools/tree/master/.evergreen/atlas#usage JAVA-6103 --- .evergreen/.evg.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.evergreen/.evg.yml b/.evergreen/.evg.yml index 525861928f..da9d720de4 100644 --- a/.evergreen/.evg.yml +++ b/.evergreen/.evg.yml @@ -1939,16 +1939,18 @@ task_groups: setup_group: - func: "fetch-source" - func: "prepare-resources" + - func: "assume-aws-test-secrets-role" - command: subprocess.exec type: "setup" params: working_dir: "src" binary: bash - add_expansions_to_env: true + include_expansions_in_env: [ "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN" ] env: + CLUSTER_PREFIX: "dbx-java" MONGODB_VERSION: "8.0" args: - - ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh + - ${DRIVERS_TOOLS}/.evergreen/atlas/setup.sh - command: expansions.update params: file: src/atlas-expansion.yml @@ -1960,7 +1962,7 @@ task_groups: binary: bash add_expansions_to_env: true args: - - ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh + - ${DRIVERS_TOOLS}/.evergreen/atlas/teardown.sh tasks: - "atlas-search-index-management-task" - "aws-lambda-deployed-task"