diff --git a/.evergreen/config.yml b/.evergreen/config.yml index caa20ec9..94276eeb 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -60,12 +60,9 @@ functions: stop-mongo-orchestration: - command: subprocess.exec params: - working_dir: src binary: bash - include_expansions_in_env: - - MONGO_ORCHESTRATION_HOME args: - - .evergreen/stop-mongo-orchestration.sh + - ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh upload-test-results: - command: attach.xunit_results diff --git a/.evergreen/stop-mongo-orchestration.sh b/.evergreen/stop-mongo-orchestration.sh deleted file mode 100755 index efe89f29..00000000 --- a/.evergreen/stop-mongo-orchestration.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -o errexit - -if [[ -z "$MONGO_ORCHESTRATION_HOME" ]]; then - echo >&2 "\$MONGO_ORCHESTRATION_HOME must be set" - exit 1 -fi - -cd ${MONGO_ORCHESTRATION_HOME} -# source the mongo-orchestration virtualenv if it exists -if [ -f venv/bin/activate ]; then - . venv/bin/activate -elif [ -f venv/Scripts/activate ]; then - . venv/Scripts/activate -fi -mongo-orchestration stop || true \ No newline at end of file