-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-4721 - Create individualized scripts for all shell.exec commands #1997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
14d26bc
[1/x] Migrate all pre and most post scripts to subprocess in /scripts
Jibola 56fafb8
command-type fix
Jibola 71de21f
Merge branch 'master' into PYTHON-4069-1
Jibola f957a69
remove .evergreen/scripts/run-tests from this PR
Jibola 94db687
Merge branch 'master' into PYTHON-4069-1
NoahStapp 051e733
download_and_merge_coverage
NoahStapp ea5dff8
mockupdb, doctests, atlas
NoahStapp b10bd37
modwsgi, enterprise auth
NoahStapp a9b1c07
Fix modwsgi, aws auth
NoahStapp c017581
Fix aws auth, ocsp
NoahStapp 6ce1f86
Standardize binary to bash
NoahStapp ec3c2c4
All but run_tests
NoahStapp 312266f
Run tests
NoahStapp 1b1abc8
Cleanup
NoahStapp b395f01
Debugging
NoahStapp 7bda294
Fixes
NoahStapp 3ef0084
Add run-with-env.sh
NoahStapp 8176e6c
Fix client context OS var checks
NoahStapp c3bcada
Fix data lake tests
NoahStapp a49e630
Fix data lake tests
NoahStapp 4a9ddf9
Add expansions to env
NoahStapp fbc5a0b
debugging
NoahStapp fe40a95
More env fixes
NoahStapp 40a9984
Add setup-tests.sh
NoahStapp 01704ba
Cleanup
NoahStapp 57acb85
Cleanup
NoahStapp 13c6e83
Merge branch 'master' into PYTHON-4721
NoahStapp 707452b
Remove LOAD_BALANCER from system setup env
NoahStapp 7617ac6
Fix unbound variables
NoahStapp 3ff9a41
Add AUTH + SSL to bootstrap orchestration
NoahStapp 2a3cc4c
Remove AUTH and SSL from system env
NoahStapp 4a83e54
Fixes
NoahStapp 9d2212f
Don't pass PYTHON_BINARY to CSFLE setup
NoahStapp 9949ac9
Silent coverage
NoahStapp fb15895
Pass TEST_SUITES to run-tests
NoahStapp 6f74878
Fix archive-logs
NoahStapp ae446f6
Remove unneeded s3 put
NoahStapp 5f0b429
Add drivers-evergreen-tools teardown
NoahStapp 3a3b542
More upload fixes
NoahStapp d7f79ca
More fixes
NoahStapp b8cd932
Remove TEST_SUITES from system-setup env, fix bucket
NoahStapp 717c7c0
Add default TEST_SUITES to run-tests.sh
NoahStapp f7ad42d
Fix upload-coverage-report
NoahStapp 68c9d29
run-with-env.sh should use -u not -eu
NoahStapp 637a6cc
Add type:test back to run tests
NoahStapp ed73e72
Fix AUTH + SSL
NoahStapp 18d82e0
Merge branch 'master' into PYTHON-4721
NoahStapp b4695c1
Fix bootstrap AUTH + SSL
NoahStapp 7654361
Only pass PYTHON_BINARY where it was before
NoahStapp ebab2b6
Merge branch 'master' into PYTHON-4721
NoahStapp 82dcf30
Cleanup
NoahStapp d5de764
AWS auth fix
NoahStapp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
set -o xtrace | ||
mkdir out_dir | ||
# shellcheck disable=SC2156 | ||
find "$MONGO_ORCHESTRATION_HOME" -name \*.log -exec sh -c 'x="{}"; mv $x $PWD/out_dir/$(basename $(dirname $x))_$(basename $x)' \; | ||
tar zcvf mongodb-logs.tar.gz -C out_dir/ . | ||
rm -rf out_dir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
|
||
set -o xtrace | ||
|
||
# Enable core dumps if enabled on the machine | ||
# Copied from https://github.com/mongodb/mongo/blob/master/etc/evergreen.yml | ||
if [ -f /proc/self/coredump_filter ]; then | ||
# Set the shell process (and its children processes) to dump ELF headers (bit 4), | ||
# anonymous shared mappings (bit 1), and anonymous private mappings (bit 0). | ||
echo 0x13 >/proc/self/coredump_filter | ||
|
||
if [ -f /sbin/sysctl ]; then | ||
# Check that the core pattern is set explicitly on our distro image instead | ||
# of being the OS's default value. This ensures that coredump names are consistent | ||
# across distros and can be picked up by Evergreen. | ||
core_pattern=$(/sbin/sysctl -n "kernel.core_pattern") | ||
if [ "$core_pattern" = "dump_%e.%p.core" ]; then | ||
echo "Enabling coredumps" | ||
ulimit -c unlimited | ||
fi | ||
fi | ||
fi | ||
|
||
if [ "$(uname -s)" = "Darwin" ]; then | ||
core_pattern_mac=$(/usr/sbin/sysctl -n "kern.corefile") | ||
if [ "$core_pattern_mac" = "dump_%N.%P.core" ]; then | ||
echo "Enabling coredumps" | ||
ulimit -c unlimited | ||
fi | ||
fi | ||
|
||
if [ -n "${skip_crypt_shared}" ]; then | ||
export SKIP_CRYPT_SHARED=1 | ||
fi | ||
|
||
MONGODB_VERSION=${VERSION} \ | ||
TOPOLOGY=${TOPOLOGY} \ | ||
AUTH=${AUTH:-noauth} \ | ||
SSL=${SSL:-nossl} \ | ||
STORAGE_ENGINE=${STORAGE_ENGINE:-} \ | ||
DISABLE_TEST_COMMANDS=${DISABLE_TEST_COMMANDS:-} \ | ||
ORCHESTRATION_FILE=${ORCHESTRATION_FILE:-} \ | ||
REQUIRE_API_VERSION=${REQUIRE_API_VERSION:-} \ | ||
LOAD_BALANCER=${LOAD_BALANCER:-} \ | ||
bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh | ||
# run-orchestration generates expansion file with the MONGODB_URI for the cluster |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
. .evergreen/scripts/env.sh | ||
set -x | ||
export BASE_SHA="$1" | ||
export HEAD_SHA="$2" | ||
bash .evergreen/run-import-time-test.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
if [ -f "$DRIVERS_TOOLS"/.evergreen/csfle/secrets-export.sh ]; then | ||
. .evergreen/hatch.sh encryption:teardown | ||
fi | ||
rm -rf "${DRIVERS_TOOLS}" || true | ||
rm -f ./secrets-export.sh || true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
# Download all the task coverage files. | ||
aws s3 cp --recursive s3://"$1"/coverage/"$2"/"$3"/coverage/ coverage/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
set +x | ||
. src/.evergreen/scripts/env.sh | ||
# shellcheck disable=SC2044 | ||
for filename in $(find $DRIVERS_TOOLS -name \*.json); do | ||
perl -p -i -e "s|ABSOLUTE_PATH_REPLACEMENT_TOKEN|$DRIVERS_TOOLS|g" $filename | ||
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set +x | ||
. src/.evergreen/scripts/env.sh | ||
echo '{"results": [{ "status": "FAIL", "test_file": "Build", "log_raw": "No test-results.json found was created" } ]}' >$PROJECT_DIRECTORY/test-results.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
set -o xtrace | ||
file="$PROJECT_DIRECTORY/.evergreen/install-dependencies.sh" | ||
# Don't use ${file} syntax here because evergreen treats it as an empty expansion. | ||
[ -f "$file" ] && bash "$file" || echo "$file not available, skipping" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
set +x | ||
. src/.evergreen/scripts/env.sh | ||
# shellcheck disable=SC2044 | ||
for i in $(find "$DRIVERS_TOOLS"/.evergreen "$PROJECT_DIRECTORY"/.evergreen -name \*.sh); do | ||
chmod +x "$i" | ||
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
. src/.evergreen/scripts/env.sh | ||
set -o xtrace | ||
rm -rf $DRIVERS_TOOLS | ||
if [ "$PROJECT" = "drivers-tools" ]; then | ||
# If this was a patch build, doing a fresh clone would not actually test the patch | ||
cp -R $PROJECT_DIRECTORY/ $DRIVERS_TOOLS | ||
else | ||
git clone https://github.com/mongodb-labs/drivers-evergreen-tools.git $DRIVERS_TOOLS | ||
fi | ||
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" }}" >$MONGO_ORCHESTRATION_HOME/orchestration.config | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# Disable xtrace for security reasons (just in case it was accidentally set). | ||
set +x | ||
set -o errexit | ||
bash "${DRIVERS_TOOLS}"/.evergreen/auth_aws/setup_secrets.sh drivers/atlas_connect | ||
TEST_ATLAS=1 bash "${PROJECT_DIRECTORY}"/.evergreen/hatch.sh test:test-eg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# shellcheck disable=SC2154 | ||
if [ "${skip_ECS_auth_test}" = "true" ]; then | ||
echo "This platform does not support the ECS auth test, skipping..." | ||
exit 0 | ||
fi | ||
set -ex | ||
cd "$DRIVERS_TOOLS"/.evergreen/auth_aws | ||
. ./activate-authawsvenv.sh | ||
. aws_setup.sh ecs | ||
export MONGODB_BINARIES="$MONGODB_BINARIES" | ||
export PROJECT_DIRECTORY="$PROJECT_DIRECTORY" | ||
python aws_tester.py ecs | ||
cd - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
set -o xtrace | ||
PYTHON_BINARY=${PYTHON_BINARY} bash "${PROJECT_DIRECTORY}"/.evergreen/hatch.sh doctest:test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# Disable xtrace for security reasons (just in case it was accidentally set). | ||
set +x | ||
bash "${DRIVERS_TOOLS}"/.evergreen/auth_aws/setup_secrets.sh drivers/enterprise_auth | ||
TEST_ENTERPRISE_AUTH=1 AUTH=auth bash "${PROJECT_DIRECTORY}"/.evergreen/hatch.sh test:test-eg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
. .evergreen/scripts/env.sh | ||
export PYTHON_BINARY=/opt/mongodbtoolchain/v4/bin/python3 | ||
export LIBMONGOCRYPT_URL=https://s3.amazonaws.com/mciuploads/libmongocrypt/debian11/master/latest/libmongocrypt.tar.gz | ||
SKIP_SERVERS=1 bash ./.evergreen/setup-encryption.sh | ||
SUCCESS=false TEST_FLE_GCP_AUTO=1 ./.evergreen/hatch.sh test:test-eg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
set -o xtrace | ||
. ${DRIVERS_TOOLS}/.evergreen/download-mongodb.sh || true | ||
get_distro || true | ||
echo $DISTRO | ||
echo $MARCH | ||
echo $OS | ||
uname -a || true | ||
ls /etc/*release* || true | ||
cc --version || true | ||
gcc --version || true | ||
clang --version || true | ||
gcov --version || true | ||
lcov --version || true | ||
llvm-cov --version || true | ||
echo $PATH | ||
ls -la /usr/local/Cellar/llvm/*/bin/ || true | ||
ls -la /usr/local/Cellar/ || true | ||
scan-build --version || true | ||
genhtml --version || true | ||
valgrind --version || true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
MONGODB_URI=${MONGODB_URI} bash "${DRIVERS_TOOLS}"/.evergreen/run-load-balancer.sh start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -o xtrace | ||
export PYTHON_BINARY=${PYTHON_BINARY} | ||
bash "${PROJECT_DIRECTORY}"/.evergreen/hatch.sh test:test-mockupdb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
blink1073 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
TEST_OCSP=1 \ | ||
PYTHON_BINARY="${PYTHON_BINARY}" \ | ||
CA_FILE="${DRIVERS_TOOLS}/.evergreen/ocsp/${OCSP_ALGORITHM}/ca.pem" \ | ||
OCSP_TLS_SHOULD_SUCCEED="${OCSP_TLS_SHOULD_SUCCEED}" \ | ||
bash "${PROJECT_DIRECTORY}"/.evergreen/hatch.sh test:test-eg | ||
bash "${DRIVERS_TOOLS}"/.evergreen/ocsp/teardown.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
PROJECT_DIRECTORY=${PROJECT_DIRECTORY} | ||
bash "${PROJECT_DIRECTORY}"/.evergreen/run-perf-tests.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/bin/bash | ||
|
||
# Disable xtrace | ||
set +x | ||
if [ -n "${MONGODB_STARTED}" ]; then | ||
export PYMONGO_MUST_CONNECT=true | ||
fi | ||
if [ -n "${DISABLE_TEST_COMMANDS}" ]; then | ||
export PYMONGO_DISABLE_TEST_COMMANDS=1 | ||
fi | ||
if [ -n "${test_encryption}" ]; then | ||
# Disable xtrace (just in case it was accidentally set). | ||
set +x | ||
bash "${DRIVERS_TOOLS}"/.evergreen/csfle/await-servers.sh | ||
export TEST_ENCRYPTION=1 | ||
if [ -n "${test_encryption_pyopenssl}" ]; then | ||
export TEST_ENCRYPTION_PYOPENSSL=1 | ||
fi | ||
fi | ||
if [ -n "${test_crypt_shared}" ]; then | ||
export TEST_CRYPT_SHARED=1 | ||
export CRYPT_SHARED_LIB_PATH=${CRYPT_SHARED_LIB_PATH} | ||
fi | ||
if [ -n "${test_pyopenssl}" ]; then | ||
export TEST_PYOPENSSL=1 | ||
fi | ||
if [ -n "${SETDEFAULTENCODING}" ]; then | ||
export SETDEFAULTENCODING="${SETDEFAULTENCODING}" | ||
fi | ||
if [ -n "${test_loadbalancer}" ]; then | ||
export TEST_LOADBALANCER=1 | ||
export SINGLE_MONGOS_LB_URI="${SINGLE_MONGOS_LB_URI}" | ||
export MULTI_MONGOS_LB_URI="${MULTI_MONGOS_LB_URI}" | ||
fi | ||
if [ -n "${test_serverless}" ]; then | ||
export TEST_SERVERLESS=1 | ||
fi | ||
if [ -n "${TEST_INDEX_MANAGEMENT:-}" ]; then | ||
export TEST_INDEX_MANAGEMENT=1 | ||
fi | ||
if [ -n "${SKIP_CSOT_TESTS}" ]; then | ||
export SKIP_CSOT_TESTS=1 | ||
fi | ||
GREEN_FRAMEWORK=${GREEN_FRAMEWORK} \ | ||
PYTHON_BINARY=${PYTHON_BINARY} \ | ||
NO_EXT=${NO_EXT} \ | ||
COVERAGE=${COVERAGE} \ | ||
COMPRESSORS=${COMPRESSORS} \ | ||
AUTH=${AUTH} \ | ||
SSL=${SSL} \ | ||
TEST_DATA_LAKE=${TEST_DATA_LAKE:-} \ | ||
TEST_SUITES=${TEST_SUITES:-} \ | ||
MONGODB_API_VERSION=${MONGODB_API_VERSION} \ | ||
SKIP_HATCH=${SKIP_HATCH} \ | ||
bash "${PROJECT_DIRECTORY}"/.evergreen/hatch.sh test:test-eg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash -eu | ||
|
||
# Example use: bash run-with-env.sh run-tests.sh {args...} | ||
|
||
# Parameter expansion to get just the current directory's name | ||
if [ "${PWD##*/}" == "src" ]; then | ||
. .evergreen/scripts/env.sh | ||
if [ -f ".evergreen/scripts/test-env.sh" ]; then | ||
. .evergreen/scripts/test-env.sh | ||
fi | ||
else | ||
. src/.evergreen/scripts/env.sh | ||
if [ -f "src/.evergreen/scripts/test-env.sh" ]; then | ||
. src/.evergreen/scripts/test-env.sh | ||
fi | ||
fi | ||
|
||
set -eu | ||
|
||
# shellcheck source=/dev/null | ||
. "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
if [ -n "${test_encryption}" ]; then | ||
./.evergreen/hatch.sh encryption:setup | ||
fi |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can make the call to https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/setup.sh in this file.