@@ -98,7 +98,7 @@ functions:
98
98
# If this was a patch build, doing a fresh clone would not actually test the patch
99
99
cp -R ${PROJECT_DIRECTORY}/ $DRIVERS_TOOLS
100
100
else
101
- git clone https://github.com/mongodb-labs /drivers-evergreen-tools.git $DRIVERS_TOOLS
101
+ git clone -b DRIVERS-2585 https://github.com/NoahStapp /drivers-evergreen-tools.git $DRIVERS_TOOLS
102
102
fi
103
103
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" }}" > $MONGO_ORCHESTRATION_HOME/orchestration.config
104
104
@@ -534,40 +534,18 @@ functions:
534
534
PYTHON_BINARY=${PYTHON_BINARY} PROJECT_DIRECTORY=${PROJECT_DIRECTORY} bash ${PROJECT_DIRECTORY}/.evergreen/run-enterprise-auth-tests.sh
535
535
536
536
" run atlas tests " :
537
- - command : shell.exec
538
- type : test
539
- params :
540
- silent : true
541
- working_dir : " src"
542
- script : |
543
- cat <<EOT > prepare_atlas_connectivity.sh
544
- export ATLAS_FREE='${atlas_free}'
545
- export ATLAS_REPL='${atlas_repl}'
546
- export ATLAS_SHRD='${atlas_shrd}'
547
- export ATLAS_TLS11='${atlas_tls11}'
548
- export ATLAS_TLS12='${atlas_tls12}'
549
- export ATLAS_SERVERLESS='${atlas_serverless}'
550
- export ATLAS_SRV_FREE='${atlas_srv_free}'
551
- export ATLAS_SRV_REPL='${atlas_srv_repl}'
552
- export ATLAS_SRV_SHRD='${atlas_srv_shrd}'
553
- export ATLAS_SRV_TLS11='${atlas_srv_tls11}'
554
- export ATLAS_SRV_TLS12='${atlas_srv_tls12}'
555
- export ATLAS_SRV_SERVERLESS='${atlas_srv_serverless}'
556
- EOT
557
537
- command : shell.exec
558
538
type : test
559
539
params :
560
540
working_dir : " src"
561
541
script : |
542
+ ${PREPARE_SHELL}
562
543
# Disable xtrace for security reasons (just in case it was accidentally set).
563
544
set +x
564
545
565
- . ./prepare_atlas_connectivity.sh
566
- rm -f ./prepare_atlas_connectivity.sh
567
-
568
546
set -o errexit
569
547
set -o xtrace
570
- ${PYTHON_BINARY} -m tox -m test-atlas
548
+ bash ${PROJECT_DIRECTORY}/.evergreen/ tox.sh ${PYTHON_BINARY} -m test-atlas
571
549
572
550
" add aws auth variables to file " :
573
551
- command : shell.exec
@@ -799,22 +777,16 @@ functions:
799
777
- command : shell.exec
800
778
type : test
801
779
params :
780
+ working_dir : " src"
802
781
shell : bash
803
782
script : |
804
783
${PREPARE_SHELL}
805
- if [ "${skip_EC2_auth_test}" = "true" ]; then
806
- echo "This platform does not support aws secrets, skipping..."
807
- exit 0
808
- fi
809
-
810
- cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
811
- python setup_secrets.py
784
+ bash ${PROJECT_DIRECTORY}/.evergreen/tox.sh ${PYTHON_BINARY} -m aws-secrets
812
785
813
786
- command : expansions.update
814
787
params :
815
788
file : secrets-expansion.yml
816
789
817
-
818
790
" run oidc auth test with aws credentials " :
819
791
- command : shell.exec
820
792
type : test
@@ -1739,6 +1711,7 @@ tasks:
1739
1711
- name : " atlas-connect"
1740
1712
tags : ["atlas-connect"]
1741
1713
commands :
1714
+ - func : " bootstrap aws-secrets"
1742
1715
- func : " run atlas tests"
1743
1716
1744
1717
- name : atlas-data-lake-tests
0 commit comments