Skip to content

Commit 5269086

Browse files
committed
Use our configs, take #2
1 parent 0918d7e commit 5269086

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ functions:
330330
params:
331331
script: |
332332
${PREPARE_SHELL}
333-
MONGODB_VERSION=${VERSION} PROJECT_DIR=${PROJECT_DIR} CONFIG=${CONFIG} TOPOLOGY=${TOPOLOGY} sh ${PROJECT_DIRECTORY}/.evergreen/run-orchestration.sh
333+
MONGODB_VERSION=${VERSION} PROJECT_DIRECTORY=${PROJECT_DIRECTORY} CONFIG=${CONFIG} TOPOLOGY=${TOPOLOGY} sh ${PROJECT_DIRECTORY}/.evergreen/run-orchestration.sh
334334
# run-orchestration generates expansion file with the MONGODB_URI for the cluster
335335
- command: expansions.update
336336
params:
@@ -560,7 +560,7 @@ buildvariants:
560560

561561
- matrix_name: "tests-os-requires-40"
562562
matrix_spec: {"os-requires-40": "*", "versions": "*", "php-versions": "*" }
563-
display_name: "${php-versions} ${os-requires-40}: ${versions}"
563+
display_name: "${os-requires-40}: MongoDB ${versions} with ${php-versions}"
564564
tasks:
565565
- name: "test-standalone"
566566
- name: "test-replicaset"

.evergreen/run-orchestration.sh

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,21 @@ download_and_extract "$MONGODB_DOWNLOAD_URL" "$EXTRACT"
2626
DL_END=$(date +%s)
2727
MO_START=$(date +%s)
2828

29-
export ORCHESTRATION_FILE="$PROJECT_DIRECTORY/scripts/presets/travis/${TOPOLOGY}"
29+
ORCHESTRATION_FILE="basic"
30+
if [ "$AUTH" = "auth" ]; then
31+
ORCHESTRATION_FILE="auth"
32+
fi
33+
34+
if [ "$SSL" != "nossl" ]; then
35+
ORCHESTRATION_FILE="${ORCHESTRATION_FILE}-ssl"
36+
fi
37+
38+
# Storage engine config files do not exist for different topology, auth, or ssl modes.
39+
if [ ! -z "$STORAGE_ENGINE" ]; then
40+
ORCHESTRATION_FILE="$STORAGE_ENGINE"
41+
fi
42+
43+
export ORCHESTRATION_FILE="$PROJECT_DIRECTORY/scripts/presets/travis/${TOPOLOGY}s/${ORCHESTRATION_FILE}.json"
3044
export ORCHESTRATION_URL="http://localhost:8889/v1/${TOPOLOGY}s"
3145

3246
# Start mongo-orchestration

0 commit comments

Comments
 (0)