@@ -115,6 +115,8 @@ functions:
115115 export OCSP_CONNECTIVITY="${OCSP_CONNECTIVITY}"
116116 export OCSP_VERIFIER="${OCSP_VERIFIER}"
117117
118+ export DRIVER_TOOLS_CA_PEM=".mod/drivers-evergreen-tools/.evergreen/x509gen/ca.pem"
119+
118120 export RVM_RUBY="${RVM_RUBY}"
119121 EOT
120122
@@ -135,13 +137,14 @@ functions:
135137 set -x
136138 ${PREPARE_SHELL}
137139
138- MONGODB_VERSION=${VERSION } \
140+ MONGODB_VERSION=${MONGODB_VERSION } \
139141 TOPOLOGY=${TOPOLOGY} \
140142 AUTH=${AUTH} \
141143 SSL=${SSL} \
142144 ORCHESTRATION_FILE=${ORCHESTRATION_FILE} \
143145 REQUIRE_API_VERSION=${REQUIRE_API_VERSION} \
144146 LOAD_BALANCER=${LOAD_BALANCER} \
147+ REQUIRE_API_VERSION=${API_VERSION_REQUIRED}
145148 sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
146149 - command : expansions.update
147150 params :
@@ -239,10 +242,10 @@ functions:
239242 params :
240243 shell : bash
241244 working_dir : " src"
245+ include_expansions_in_env : ["TOPOLOGY", "AUTH", "SSL", "MONGODB_URI"]
242246 script : |
243247 ${PREPARE_SHELL}
244- export CSOT_SPEC_TESTS=1
245- TEST_CMD="bundle exec rspec spec/spec_tests/client_side_operations_timeout_spec.rb" \
248+ CSOT_SPEC_TESTS=1 TEST_CMD="bundle exec rspec spec/spec_tests/client_side_operations_timeout_spec.rb" \
246249 .evergreen/run-tests.sh
247250
248251 " export Kerberos credentials " :
@@ -392,6 +395,7 @@ functions:
392395 params :
393396 shell : bash
394397 working_dir : " src"
398+ include_expansions_in_env : ["TOPOLOGY", "AUTH", "SSL", "MONGODB_URI"]
395399 script : |
396400 ${PREPARE_SHELL}
397401 TEST_CMD="bundle exec rake driver_bench" PERFORMANCE_RESULTS_FILE="$PROJECT_DIRECTORY/perf.json" .evergreen/run-tests.sh
@@ -405,6 +409,7 @@ functions:
405409 params :
406410 shell : bash
407411 working_dir : " src"
412+ include_expansions_in_env : ["TOPOLOGY", "AUTH", "SSL", "MONGODB_URI"]
408413 script : |
409414 ${PREPARE_SHELL}
410415 .evergreen/run-tests.sh
@@ -430,6 +435,18 @@ functions:
430435 .evergreen/run-tests-kerberos-unit.sh
431436
432437 " run Atlas tests " :
438+ - command : ec2.assume_role
439+ params :
440+ role_arn : ${aws_test_secrets_role}
441+ # This creates secrets-export.sh, which is later sourced by run-tests.sh
442+ - command : subprocess.exec
443+ params :
444+ working_dir : " src"
445+ include_expansions_in_env : [AWS_SECRET_ACCESS_KEY, AWS_ACCESS_KEY_ID, AWS_SESSION_TOKEN]
446+ binary : bash
447+ args :
448+ - -c
449+ - ${DRIVERS_TOOLS}/.evergreen/secrets_handling/setup-secrets.sh drivers/atlas_connect
433450 - command : shell.exec
434451 type : test
435452 params :
@@ -812,19 +829,6 @@ axes:
812829 variables :
813830 MONGODB_VERSION : " 4.4"
814831 CRYPT_SHARED_VERSION : " 6.0.5"
815- - id : " 4.2"
816- display_name : " 4.2"
817- variables :
818- MONGODB_VERSION : " 4.2"
819- CRYPT_SHARED_VERSION : " 6.0.5"
820- - id : " 4.0"
821- display_name : " 4.0"
822- variables :
823- MONGODB_VERSION : " 4.0"
824- - id : " 3.6"
825- display_name : " 3.6"
826- variables :
827- MONGODB_VERSION : " 3.6"
828832
829833 - id : fcv
830834 display_name : FCV
@@ -865,22 +869,22 @@ axes:
865869 display_name : Auth SSL
866870 variables :
867871 AUTH : " auth"
868- SSL : " ssl "
872+ SSL : " yes "
869873 - id : " auth-and-nossl"
870874 display_name : Auth NoSSL
871875 variables :
872876 AUTH : " auth"
873877 - id : " noauth-and-ssl"
874878 display_name : NoAuth SSL
875879 variables :
876- SSL : " ssl "
880+ SSL : " yes "
877881 - id : " noauth-and-nossl"
878882 display_name : NoAuth NoSSL
879883 - id : " x509"
880884 display_name : X.509
881885 variables :
882886 AUTH : " x509"
883- SSL : " ssl "
887+ SSL : " yes "
884888 - id : kerberos
885889 display_name : Kerberos
886890 variables :
@@ -1227,25 +1231,15 @@ buildvariants:
12271231 ruby : ["ruby-3.3", "ruby-3.2", "jruby-9.4"]
12281232 mongodb-version : ['5.0']
12291233 topology : ["server", "replica_set", "sharded_cluster"]
1230- os : ubuntu1804
1234+ os : ubuntu2004
12311235 display_name : " ${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
12321236 tasks :
12331237 - name : " test-main"
12341238
12351239 - matrix_name : " mongo-4.x"
12361240 matrix_spec :
12371241 ruby : ["ruby-3.0", "ruby-2.7"]
1238- mongodb-version : ['4.4', '4.2', '4.0']
1239- topology : ["server", "replica_set", "sharded_cluster"]
1240- os : ubuntu1804
1241- display_name : " ${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
1242- tasks :
1243- - name : " test-main"
1244-
1245- - matrix_name : " mongo-3.6"
1246- matrix_spec :
1247- ruby : " ruby-2.7"
1248- mongodb-version : ['3.6']
1242+ mongodb-version : ['4.4']
12491243 topology : ["server", "replica_set", "sharded_cluster"]
12501244 os : ubuntu1804
12511245 display_name : " ${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
@@ -1317,17 +1311,6 @@ buildvariants:
13171311 tasks :
13181312 - name : " test-main"
13191313
1320- - matrix_name : mmapv1
1321- matrix_spec :
1322- ruby : " ruby-2.7"
1323- mongodb-version : ['3.6', '4.0']
1324- topology : ["server", "replica_set", "sharded_cluster"]
1325- storage-engine : mmapv1
1326- os : ubuntu1804
1327- display_name : " ${mongodb-version} ${topology} mmapv1 ${ruby}"
1328- tasks :
1329- - name : " test-main"
1330-
13311314 - matrix_name : " lint"
13321315 matrix_spec :
13331316 lint : on
@@ -1350,22 +1333,11 @@ buildvariants:
13501333 tasks :
13511334 - name : " test-main"
13521335
1353- - matrix_name : " solo"
1354- matrix_spec :
1355- solo : on
1356- ruby : ["ruby-3.3", "ruby-3.2", "ruby-3.1"]
1357- mongodb-version : " 8.0"
1358- topology : ["server", "replica_set", "sharded_cluster"]
1359- os : ubuntu2204
1360- display_name : " ${mongodb-version} ${topology} solo ${ruby}"
1361- tasks :
1362- - name : " test-main"
1363-
13641336 - matrix_name : " stress older"
13651337 matrix_spec :
13661338 stress : on
13671339 ruby : " ruby-2.7"
1368- mongodb-version : ['4.2', '4.0', '3.6 ']
1340+ mongodb-version : ['4.4 ']
13691341 topology : replica_set
13701342 os : ubuntu1804
13711343 display_name : " ${mongodb-version} ${topology} stress ${ruby}"
0 commit comments