Skip to content

Commit f08b94b

Browse files
derickrjmikola
authored andcommitted
Replace directory env variable for SSL config settings
1 parent b955b2d commit f08b94b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.evergreen/run-orchestration.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ if [ "standalone" = "${TOPOLOGY}" ]; then
3131
END_POINT="servers"
3232
fi
3333

34-
export ORCHESTRATION_FILE="$PROJECT_DIRECTORY/scripts/presets/travis/${TOPOLOGY}/${CONFIG}.json"
3534
export ORCHESTRATION_URL="http://localhost:8889/v1/${END_POINT}"
3635

36+
# Replace $TRAVIS_BUILD_DIR variable in orchestration file
37+
cat "${PROJECT_DIRECTORY}/scripts/presets/travis/${TOPOLOGY}/${CONFIG}.json" | sed "s@\$TRAVIS_BUILD_DIR@${PROJECT_DIRECTORY}@" > ${PROJECT_DIRECTORY}/../tmp-config.json
38+
export ORCHESTRATION_FILE="${PROJECT_DIRECTORY}/../tmp-config.json"
39+
3740
# Start mongo-orchestration
3841
sh ${PROJECT_DIRECTORY}/.evergreen/start-orchestration.sh "$MONGO_ORCHESTRATION_HOME"
3942

scripts/presets/travis/standalone/standalone-ssl.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
"name": "mongod",
33
"id" : "STANDALONE_SSL",
44
"procParams": {
5-
"dbpath": "/tmp/standalone-ssl/",
65
"ipv6": true,
76
"logappend": true,
8-
"logpath": "/tmp/standalone-ssl/m.log",
97
"journal": true,
108
"nssize": 1,
119
"port": 2100,

0 commit comments

Comments
 (0)