Skip to content

Commit 2ad877b

Browse files
committed
Write server version and topology to expansion file
1 parent fc5b166 commit 2ad877b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.evergreen/config/functions.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,13 @@ functions:
158158
LOAD_BALANCER=${LOAD_BALANCER} \
159159
REQUIRE_API_VERSION=${REQUIRE_API_VERSION} \
160160
bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
161+
- command: shell.exec
162+
params:
163+
script: |
164+
printf "\n" >> mo-expansion.yml
165+
printf "MONGODB_VERSION: '%s'\n" "${MONGODB_VERSION}" >> mo-expansion.yml
166+
printf "TOPOLOGY: '%s'\n" "${TOPOLOGY}" >> mo-expansion.yml
167+
cat mo-expansion.yml
161168
# run-orchestration generates expansion file with MONGODB_URI and CRYPT_SHARED_LIB_PATH
162169
- command: expansions.update
163170
params:

0 commit comments

Comments
 (0)