Skip to content

Commit e5d8668

Browse files
authored
Evergreen atlas search fix (#1894)
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
1 parent c1397fb commit e5d8668

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.evergreen/.evg.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,16 +1939,18 @@ task_groups:
19391939
setup_group:
19401940
- func: "fetch-source"
19411941
- func: "prepare-resources"
1942+
- func: "assume-aws-test-secrets-role"
19421943
- command: subprocess.exec
19431944
type: "setup"
19441945
params:
19451946
working_dir: "src"
19461947
binary: bash
1947-
add_expansions_to_env: true
1948+
include_expansions_in_env: [ "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN" ]
19481949
env:
1950+
CLUSTER_PREFIX: "dbx-java"
19491951
MONGODB_VERSION: "8.0"
19501952
args:
1951-
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
1953+
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup.sh
19521954
- command: expansions.update
19531955
params:
19541956
file: src/atlas-expansion.yml
@@ -1960,7 +1962,7 @@ task_groups:
19601962
binary: bash
19611963
add_expansions_to_env: true
19621964
args:
1963-
- ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
1965+
- ${DRIVERS_TOOLS}/.evergreen/atlas/teardown.sh
19641966
tasks:
19651967
- "atlas-search-index-management-task"
19661968
- "aws-lambda-deployed-task"

0 commit comments

Comments
 (0)