File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1111
1212PROJECT_DIRECTORY=" $( pwd) "
1313DRIVERS_TOOLS=" $( dirname $PROJECT_DIRECTORY ) /drivers-tools"
14+ CARGO_HOME=${CARGO_HOME:- ${DRIVERS_TOOLS} / .cargo}
1415
1516# Python has cygwin path problems on Windows. Detect prospective mongo-orchestration home directory
1617if [ " Windows_NT" = " $OS " ]; then # Magic variable in cygwin
1718 DRIVERS_TOOLS=$( cygpath -m $DRIVERS_TOOLS )
1819 PROJECT_DIRECTORY=$( cygpath -m $PROJECT_DIRECTORY )
20+ CARGO_HOME=$( cygpath -m $CARGO_HOME )
1921fi
2022
2123SCRIPT_DIR=" $PROJECT_DIRECTORY /.evergreen/scripts"
@@ -53,6 +55,7 @@ export REQUIRE_API_VERSION="${REQUIRE_API_VERSION:-}"
5355export skip_web_identity_auth_test="${skip_web_identity_auth_test:- } "
5456export skip_ECS_auth_test="${skip_ECS_auth_test:- } "
5557
58+ export CARGO_HOME="$CARGO_HOME "
5659export TMPDIR="$MONGO_ORCHESTRATION_HOME /db"
5760export PATH="$MONGODB_BINARIES :$PATH "
5861# shellcheck disable=SC2154
Original file line number Diff line number Diff line change 22
33# Disable xtrace for security reasons (just in case it was accidentally set).
44set +x
5- bash " ${DRIVERS_TOOLS} " /.evergreen/auth_aws/setup_secrets.sh drivers/enterprise_auth
5+ # Use the default python to bootstrap secrets.
6+ PYTHON_BINARY=" " bash " ${DRIVERS_TOOLS} " /.evergreen/auth_aws/setup_secrets.sh drivers/enterprise_auth
67TEST_ENTERPRISE_AUTH=1 AUTH=auth bash " ${PROJECT_DIRECTORY} " /.evergreen/hatch.sh test:test-eg
You can’t perform that action at this time.
0 commit comments