Skip to content

Commit b395f01

Browse files
committed
Debugging
1 parent 1b1abc8 commit b395f01

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ functions:
4040
# Make an evergreen expansion file with dynamic values
4141
- command: subprocess.exec
4242
params:
43-
include_expansions_in_env: ["is_patch", "project", "version_id"]
43+
include_expansions_in_env: ["is_patch", "project", "version_id", "AUTH", "SSL", "PYTHON_BINARY"]
4444
binary: bash
4545
working_dir: "src"
4646
args:
@@ -486,7 +486,7 @@ functions:
486486
- command: subprocess.exec
487487
type: test
488488
params:
489-
include_expansions_in_env: ["OCSP_ALGORITHM", "OCSP_TLS_SHOULD_SUCCEED", "PYTHON_BINARY"]
489+
include_expansions_in_env: ["OCSP_ALGORITHM", "OCSP_TLS_SHOULD_SUCCEED"]
490490
binary: bash
491491
working_dir: "src"
492492
args:

.evergreen/scripts/configure-env.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -eux
22

33
# Get the current unique version of this checkout
44
# shellcheck disable=SC2154
@@ -38,6 +38,9 @@ export DRIVERS_TOOLS="$DRIVERS_TOOLS"
3838
export MONGO_ORCHESTRATION_HOME="$MONGO_ORCHESTRATION_HOME"
3939
export MONGODB_BINARIES="$MONGODB_BINARIES"
4040
export PROJECT_DIRECTORY="$PROJECT_DIRECTORY"
41+
export AUTH="${AUTH:-noauth}"
42+
export SSL="${SSL:-nossl}"
43+
export PYTHON_BINARY="${PYTHON_BINARY:-}"
4144
4245
export TMPDIR="$MONGO_ORCHESTRATION_HOME/db"
4346
export PATH="$MONGODB_BINARIES:$PATH"

.evergreen/scripts/run-mongodb-aws-test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
set -o xtrace
44
set -o errexit # Exit the script with error if any of the commands fail
55

6+
set -eu
7+
68
############################################
79
# Main Program #
810
############################################
@@ -14,14 +16,16 @@ set -o errexit # Exit the script with error if any of the commands fail
1416
# PYTHON_BINARY The Python version to use.
1517

1618
# shellcheck disable=SC2154
17-
if [ "${skip_EC2_auth_test}" = "true" ] && { [ "$1" = "ec2" ] || [ "$1" = "web-identity" ]; }; then
19+
if [ "${skip_EC2_auth_test:-}" = "true" ] && { [ "$1" = "ec2" ] || [ "$1" = "web-identity" ]; }; then
1820
echo "This platform does not support the EC2 auth test, skipping..."
1921
exit 0
2022
fi
2123

2224
. .evergreen/scripts/env.sh
2325
echo "Running MONGODB-AWS authentication tests for $1"
2426

27+
python -c "import os; print([key for key in os.environ.keys()])"
28+
2529
# Handle credentials and environment setup.
2630
. "$DRIVERS_TOOLS"/.evergreen/auth_aws/aws_setup.sh "$1"
2731

.evergreen/scripts/run-ocsp-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
. .evergreen/scripts/env.sh
45

56
TEST_OCSP=1 \

0 commit comments

Comments
 (0)