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 11
11
12
12
PROJECT_DIRECTORY=" $( pwd) "
13
13
DRIVERS_TOOLS=" $( dirname $PROJECT_DIRECTORY ) /drivers-tools"
14
+ CARGO_HOME=${CARGO_HOME:- ${DRIVERS_TOOLS} / .cargo}
14
15
15
16
# Python has cygwin path problems on Windows. Detect prospective mongo-orchestration home directory
16
17
if [ " Windows_NT" = " $OS " ]; then # Magic variable in cygwin
17
18
DRIVERS_TOOLS=$( cygpath -m $DRIVERS_TOOLS )
18
19
PROJECT_DIRECTORY=$( cygpath -m $PROJECT_DIRECTORY )
20
+ CARGO_HOME=$( cygpath -m $CARGO_HOME )
19
21
fi
20
22
21
23
SCRIPT_DIR=" $PROJECT_DIRECTORY /.evergreen/scripts"
@@ -53,6 +55,7 @@ export REQUIRE_API_VERSION="${REQUIRE_API_VERSION:-}"
53
55
export skip_web_identity_auth_test="${skip_web_identity_auth_test:- } "
54
56
export skip_ECS_auth_test="${skip_ECS_auth_test:- } "
55
57
58
+ export CARGO_HOME="$CARGO_HOME "
56
59
export TMPDIR="$MONGO_ORCHESTRATION_HOME /db"
57
60
export PATH="$MONGODB_BINARIES :$PATH "
58
61
# shellcheck disable=SC2154
Original file line number Diff line number Diff line change 2
2
3
3
# Disable xtrace for security reasons (just in case it was accidentally set).
4
4
set +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
6
7
TEST_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