Skip to content

Commit 1d5e622

Browse files
committed
Add server version and topology to expansion
1 parent a94d328 commit 1d5e622

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.evergreen/config/functions.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,15 @@ functions:
176176
${PREPARE_SHELL}
177177
SKIP_LEGACY_SHELL=true \
178178
bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
179+
- command: shell.exec
180+
params:
181+
include_expansions_in_env:
182+
- MONGODB_VERSION
183+
- TOPOLOGY
184+
script: |
185+
printf "\n" >> mo-expansion.yml
186+
printf "MONGODB_VERSION: '%s'\n" "${MONGODB_VERSION}" >> mo-expansion.yml
187+
printf "TOPOLOGY: '%s'\n" "${TOPOLOGY}" >> mo-expansion.yml
179188
# run-orchestration generates expansion file with MONGODB_URI and CRYPT_SHARED_LIB_PATH
180189
- command: expansions.update
181190
params:

0 commit comments

Comments
 (0)