@@ -120,15 +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}"
125123 export RVM_RUBY="${RVM_RUBY}"
126-
127- export SERVERLESS_DRIVERS_GROUP="${SERVERLESS_DRIVERS_GROUP}"
128- export SERVERLESS_API_PUBLIC_KEY="${SERVERLESS_API_PUBLIC_KEY}"
129- export SERVERLESS_API_PRIVATE_KEY="${SERVERLESS_API_PRIVATE_KEY}"
130- export SERVERLESS_ATLAS_USER="${SERVERLESS_ATLAS_USER}"
131- export SERVERLESS_ATLAS_PASSWORD="${SERVERLESS_ATLAS_PASSWORD}"
132124 EOT
133125
134126 # See what we've done
@@ -360,17 +352,6 @@ functions:
360352 script : |
361353 rm -f .env.private
362354
363- " build and test docker image " :
364- - command : shell.exec
365- type : test
366- params :
367- shell : bash
368- working_dir : " src"
369- script : |
370- ${PREPARE_SHELL}
371- set -x
372- .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}
373-
374355 " run benchmarks " :
375356 - command : shell.exec
376357 type : test
@@ -401,23 +382,6 @@ functions:
401382 fi
402383 .evergreen/run-tests.sh
403384
404- " run tests via docker " :
405- - command : shell.exec
406- type : test
407- params :
408- shell : bash
409- working_dir : " src"
410- script : |
411- ${PREPARE_SHELL}
412- # Needed for generating temporary aws credentials.
413- if [ -n "${FLE}" ];
414- then
415- export AWS_ACCESS_KEY_ID="${fle_aws_key}"
416- export AWS_SECRET_ACCESS_KEY="${fle_aws_secret}"
417- export AWS_DEFAULT_REGION="${fle_aws_region}"
418- fi
419- .evergreen/run-tests-docker.sh
420-
421385 " run AWS auth tests " :
422386 - command : shell.exec
423387 type : test
@@ -438,16 +402,6 @@ functions:
438402 ${PREPARE_SHELL}
439403 .evergreen/run-tests-kerberos-unit.sh
440404
441- " run Kerberos integration tests " :
442- - command : shell.exec
443- type : test
444- params :
445- shell : bash
446- working_dir : " src"
447- script : |
448- ${PREPARE_SHELL}
449- .evergreen/run-tests-kerberos-integration.sh
450-
451405 " run Atlas tests " :
452406 - command : shell.exec
453407 type : test
@@ -458,24 +412,6 @@ functions:
458412 ${PREPARE_SHELL}
459413 MONGODB_URI="${MONGODB_URI}" .evergreen/run-tests-atlas.sh
460414
461- " run serverless tests " :
462- - command : shell.exec
463- type : test
464- params :
465- shell : bash
466- working_dir : " src"
467- script : |
468- ${PREPARE_SHELL}
469- # Needed for generating temporary aws credentials.
470- if [ -n "${FLE}" ];
471- then
472- export AWS_ACCESS_KEY_ID="${fle_aws_key}"
473- export AWS_SECRET_ACCESS_KEY="${fle_aws_secret}"
474- export AWS_DEFAULT_REGION="${fle_aws_region}"
475- fi
476-
477- 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
478-
479415pre :
480416 - func : " fetch source"
481417 - func : " create expansions"
@@ -489,35 +425,6 @@ post:
489425 - func : " upload test results to s3"
490426
491427task_groups :
492- - name : serverless_task_group
493- setup_group_can_fail_task : true
494- setup_group_timeout_secs : 1800 # 30 minutes
495- setup_group :
496- - func : " fetch source"
497- - func : " create expansions"
498- - command : ec2.assume_role
499- params :
500- role_arn : ${aws_test_secrets_role}
501- - command : shell.exec
502- params :
503- shell : " bash"
504- script : |
505- ${PREPARE_SHELL}
506- bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh
507- bash ${DRIVERS_TOOLS}/.evergreen/serverless/create-instance.sh
508- - command : expansions.update
509- params :
510- file : serverless-expansion.yml
511- teardown_task :
512- - command : shell.exec
513- params :
514- script : |
515- ${PREPARE_SHELL}
516- bash ${DRIVERS_TOOLS}/.evergreen/serverless/delete-instance.sh
517- - func : " upload test results"
518- tasks :
519- - " test-serverless"
520-
521428 - name : testatlas_task_group
522429 setup_group_can_fail_task : true
523430 setup_group_timeout_secs : 1800 # 30 minutes
@@ -753,26 +660,12 @@ tasks:
753660 - name : " test-atlas"
754661 commands :
755662 - func : " run Atlas tests"
756- - name : " test-serverless"
757- commands :
758- - func : " export FLE credentials"
759- - func : " run serverless tests"
760- - name : " test-docker"
761- commands :
762- - func : " build and test docker image"
763663 - name : " test-mlaunch"
764664 commands :
765665 - func : " run tests"
766666 - name : " driver-bench"
767667 commands :
768668 - func : " run benchmarks"
769- - name : " test-via-docker"
770- commands :
771- - func : " run tests via docker"
772- - name : " test-kerberos-integration"
773- commands :
774- - func : " export Kerberos credentials"
775- - func : " run Kerberos integration tests"
776669 - name : " test-kerberos"
777670 commands :
778671 - func : " run Kerberos unit tests"
@@ -783,10 +676,6 @@ tasks:
783676 commands :
784677 - func : " export FLE credentials"
785678 - func : " run tests"
786- - name : " test-fle-via-docker"
787- commands :
788- - func : " export FLE credentials"
789- - func : " run tests via docker"
790679 - name : " test-aws-auth"
791680 commands :
792681 - func : " export AWS auth credentials"
0 commit comments