Skip to content

Commit 225736e

Browse files
use expansions instead of env
1 parent 0677f9b commit 225736e

File tree

2 files changed

+26
-14
lines changed

2 files changed

+26
-14
lines changed

.evergreen/config.in.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,16 +1229,19 @@ task_groups:
12291229
- name: test_atlas_task_group
12301230
setup_group:
12311231
- func: fetch source
1232+
- command: expansions.update
1233+
type: 'setup'
1234+
params:
1235+
updates:
1236+
- { key: MONGODB_VERSION, value: "7.0" }
1237+
- { key: LAMBDA_STACK_NAME, value: "dbx-node-lambda" }
1238+
- { key: CLUSTER_PREFIX, value: "dbx-node-lambda" }
12321239
- func: assume secrets manager role
12331240
- command: subprocess.exec
12341241
params:
12351242
working_dir: src
12361243
binary: bash
12371244
add_expansions_to_env: true
1238-
env:
1239-
MONGODB_VERSION: "7.0"
1240-
LAMBDA_STACK_NAME: dbx-node-lambda
1241-
CLUSTER_PREFIX: dbx-node-lambda
12421245
args:
12431246
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
12441247
- atlas
@@ -1261,14 +1264,17 @@ task_groups:
12611264
- name: test_atlas_task_group_search_indexes
12621265
setup_group:
12631266
- func: fetch source
1267+
- command: expansions.update
1268+
type: 'setup'
1269+
params:
1270+
updates:
1271+
- { key: MONGODB_VERSION, value: "7.0" }
1272+
- { key: CLUSTER_PREFIX, value: "dbx-node-lambda" }
12641273
- func: assume secrets manager role
12651274
- command: subprocess.exec
12661275
params:
12671276
working_dir: src
12681277
binary: bash
1269-
env:
1270-
MONGODB_VERSION: "7.0"
1271-
CLUSTER_PREFIX: dbx-node-search
12721278
add_expansions_to_env: true
12731279
args:
12741280
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh

.evergreen/config.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2982,16 +2982,19 @@ task_groups:
29822982
- name: test_atlas_task_group
29832983
setup_group:
29842984
- func: fetch source
2985+
- command: expansions.update
2986+
type: setup
2987+
params:
2988+
updates:
2989+
- {key: MONGODB_VERSION, value: '7.0'}
2990+
- {key: LAMBDA_STACK_NAME, value: dbx-node-lambda}
2991+
- {key: CLUSTER_PREFIX, value: dbx-node-lambda}
29852992
- func: assume secrets manager role
29862993
- command: subprocess.exec
29872994
params:
29882995
working_dir: src
29892996
binary: bash
29902997
add_expansions_to_env: true
2991-
env:
2992-
MONGODB_VERSION: '7.0'
2993-
LAMBDA_STACK_NAME: dbx-node-lambda
2994-
CLUSTER_PREFIX: dbx-node-lambda
29952998
args:
29962999
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
29973000
- atlas
@@ -3013,14 +3016,17 @@ task_groups:
30133016
- name: test_atlas_task_group_search_indexes
30143017
setup_group:
30153018
- func: fetch source
3019+
- command: expansions.update
3020+
type: setup
3021+
params:
3022+
updates:
3023+
- {key: MONGODB_VERSION, value: '7.0'}
3024+
- {key: CLUSTER_PREFIX, value: dbx-node-lambda}
30163025
- func: assume secrets manager role
30173026
- command: subprocess.exec
30183027
params:
30193028
working_dir: src
30203029
binary: bash
3021-
env:
3022-
MONGODB_VERSION: '7.0'
3023-
CLUSTER_PREFIX: dbx-node-search
30243030
add_expansions_to_env: true
30253031
args:
30263032
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh

0 commit comments

Comments
 (0)