@@ -120,19 +120,7 @@ functions:
120120 export ATLAS_FREE_TIER_URI="${atlas_free_tier_uri}"
121121 export ATLAS_TLS11_URI="${atlas_tls11_uri}"
122122 export ATLAS_TLS12_URI="${atlas_tls12_uri}"
123- export ATLAS_SERVERLESS_URI="${atlas_serverless_uri}"
124- export ATLAS_SERVERLESS_LB_URI="${atlas_serverless_lb_uri}"
125- export ATLAS_X509_CERT_BASE64="${atlas_x509_cert_base64}"
126- export ATLAS_X509_URI="${atlas_x509}"
127- export ATLAS_X509_DEV_CERT_BASE64="${atlas_x509_dev_cert_base64}"
128- export ATLAS_X509_DEV_URI="${atlas_x509_dev}"
129123 export RVM_RUBY="${RVM_RUBY}"
130-
131- export SERVERLESS_DRIVERS_GROUP="${SERVERLESS_DRIVERS_GROUP}"
132- export SERVERLESS_API_PUBLIC_KEY="${SERVERLESS_API_PUBLIC_KEY}"
133- export SERVERLESS_API_PRIVATE_KEY="${SERVERLESS_API_PRIVATE_KEY}"
134- export SERVERLESS_ATLAS_USER="${SERVERLESS_ATLAS_USER}"
135- export SERVERLESS_ATLAS_PASSWORD="${SERVERLESS_ATLAS_PASSWORD}"
136124 EOT
137125
138126 # See what we've done
@@ -364,17 +352,6 @@ functions:
364352 script : |
365353 rm -f .env.private
366354
367- " build and test docker image " :
368- - command : shell.exec
369- type : test
370- params :
371- shell : bash
372- working_dir : " src"
373- script : |
374- ${PREPARE_SHELL}
375- set -x
376- .evergreen/test-on-docker -d ${os} MONGODB_VERSION=${mongodb-version} TOPOLOGY=${topology} RVM_RUBY=${ruby} -s .evergreen/run-tests.sh TEST_CMD=true ${PRELOAD_ARG}
377-
378355 " run benchmarks " :
379356 - command : shell.exec
380357 type : test
@@ -405,23 +382,6 @@ functions:
405382 fi
406383 .evergreen/run-tests.sh
407384
408- " run tests via docker " :
409- - command : shell.exec
410- type : test
411- params :
412- shell : bash
413- working_dir : " src"
414- script : |
415- ${PREPARE_SHELL}
416- # Needed for generating temporary aws credentials.
417- if [ -n "${FLE}" ];
418- then
419- export AWS_ACCESS_KEY_ID="${fle_aws_key}"
420- export AWS_SECRET_ACCESS_KEY="${fle_aws_secret}"
421- export AWS_DEFAULT_REGION="${fle_aws_region}"
422- fi
423- .evergreen/run-tests-docker.sh
424-
425385 " run AWS auth tests " :
426386 - command : shell.exec
427387 type : test
@@ -442,16 +402,6 @@ functions:
442402 ${PREPARE_SHELL}
443403 .evergreen/run-tests-kerberos-unit.sh
444404
445- " run Kerberos integration tests " :
446- - command : shell.exec
447- type : test
448- params :
449- shell : bash
450- working_dir : " src"
451- script : |
452- ${PREPARE_SHELL}
453- .evergreen/run-tests-kerberos-integration.sh
454-
455405 " run Atlas tests " :
456406 - command : shell.exec
457407 type : test
@@ -471,24 +421,6 @@ functions:
471421 ATLAS_X509_DEV_URI="${atlas_x509_dev}" \
472422 .evergreen/run-tests-atlas.sh
473423
474- " run serverless tests " :
475- - command : shell.exec
476- type : test
477- params :
478- shell : bash
479- working_dir : " src"
480- script : |
481- ${PREPARE_SHELL}
482- # Needed for generating temporary aws credentials.
483- if [ -n "${FLE}" ];
484- then
485- export AWS_ACCESS_KEY_ID="${fle_aws_key}"
486- export AWS_SECRET_ACCESS_KEY="${fle_aws_secret}"
487- export AWS_DEFAULT_REGION="${fle_aws_region}"
488- fi
489-
490- CRYPT_SHARED_LIB_PATH="${CRYPT_SHARED_LIB_PATH}" SERVERLESS=1 SSL=ssl RVM_RUBY="${RVM_RUBY}" SINGLE_MONGOS="${SINGLE_MONGOS}" SERVERLESS_URI="${SERVERLESS_URI}" FLE="${FLE}" SERVERLESS_MONGODB_VERSION="${SERVERLESS_MONGODB_VERSION}" .evergreen/run-tests-serverless.sh
491-
492424pre :
493425 - func : " fetch source"
494426 - func : " create expansions"
@@ -502,35 +434,6 @@ post:
502434 - func : " upload test results to s3"
503435
504436task_groups :
505- - name : serverless_task_group
506- setup_group_can_fail_task : true
507- setup_group_timeout_secs : 1800 # 30 minutes
508- setup_group :
509- - func : " fetch source"
510- - func : " create expansions"
511- - command : ec2.assume_role
512- params :
513- role_arn : ${aws_test_secrets_role}
514- - command : shell.exec
515- params :
516- shell : " bash"
517- script : |
518- ${PREPARE_SHELL}
519- bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh
520- bash ${DRIVERS_TOOLS}/.evergreen/serverless/create-instance.sh
521- - command : expansions.update
522- params :
523- file : serverless-expansion.yml
524- teardown_task :
525- - command : shell.exec
526- params :
527- script : |
528- ${PREPARE_SHELL}
529- bash ${DRIVERS_TOOLS}/.evergreen/serverless/delete-instance.sh
530- - func : " upload test results"
531- tasks :
532- - " test-serverless"
533-
534437 - name : testatlas_full_task_group
535438 setup_group_can_fail_task : true
536439 setup_group_timeout_secs : 1800 # 30 minutes
@@ -716,26 +619,12 @@ tasks:
716619 - name : " test-atlas"
717620 commands :
718621 - func : " run Atlas tests"
719- - name : " test-serverless"
720- commands :
721- - func : " export FLE credentials"
722- - func : " run serverless tests"
723- - name : " test-docker"
724- commands :
725- - func : " build and test docker image"
726622 - name : " test-mlaunch"
727623 commands :
728624 - func : " run tests"
729625 - name : " driver-bench"
730626 commands :
731627 - func : " run benchmarks"
732- - name : " test-via-docker"
733- commands :
734- - func : " run tests via docker"
735- - name : " test-kerberos-integration"
736- commands :
737- - func : " export Kerberos credentials"
738- - func : " run Kerberos integration tests"
739628 - name : " test-kerberos"
740629 commands :
741630 - func : " run Kerberos unit tests"
@@ -746,10 +635,6 @@ tasks:
746635 commands :
747636 - func : " export FLE credentials"
748637 - func : " run tests"
749- - name : " test-fle-via-docker"
750- commands :
751- - func : " export FLE credentials"
752- - func : " run tests via docker"
753638 - name : " test-aws-auth"
754639 commands :
755640 - func : " export AWS auth credentials"
0 commit comments