@@ -680,7 +680,7 @@ def create_search_index_variants():
680680 python = CPYTHONS [0 ]
681681 return [
682682 create_variant (
683- ["test_atlas_task_group_search_indexes " ],
683+ [".index_management " ],
684684 get_display_name ("Search Index Helpers" , host , python = python ),
685685 python = python ,
686686 host = host ,
@@ -780,6 +780,11 @@ def create_alternative_hosts_variants():
780780 return variants
781781
782782
783+ def create_aws_lambda_variants ():
784+ host = HOSTS ["rhel8" ]
785+ return [create_variant ([".aws_lambda" ], display_name = "FaaS Lambda" , host = host )]
786+
787+
783788##############
784789# Tasks
785790##############
@@ -910,6 +915,29 @@ def _create_ocsp_task(algo, variant, server_type, base_task_name):
910915 return EvgTask (name = task_name , tags = tags , commands = commands )
911916
912917
918+ def create_aws_lambda_tasks ():
919+ assume_func = FunctionCall (func = "assume ec2 role" )
920+ atlas_func = FunctionCall (func = "setup atlas" )
921+ vars = dict (TEST_NAME = "aws_lambda" )
922+ test_func = FunctionCall (func = "run tests" , vars = vars )
923+ task_name = "test-aws-lambda-deployed"
924+ tags = ["aws_lambda" ]
925+ commands = [assume_func , atlas_func , test_func ]
926+ return [EvgTask (name = task_name , tags = tags , commands = commands )]
927+
928+
929+ def create_search_index_tasks ():
930+ assume_func = FunctionCall (func = "assume ec2 role" )
931+ atlas_func = FunctionCall (func = "setup atlas" )
932+ server_func = FunctionCall (func = "run server" , vars = dict (TEST_NAME = "index_management" ))
933+ vars = dict (TEST_NAME = "index_management" )
934+ test_func = FunctionCall (func = "run tests" , vars = vars )
935+ task_name = "test-search-index-helpers"
936+ tags = ["index_managment" ]
937+ commands = [assume_func , atlas_func , server_func , test_func ]
938+ return [EvgTask (name = task_name , tags = tags , commands = commands )]
939+
940+
913941def create_atlas_connect_tasks ():
914942 vars = dict (TEST_NAME = "atlas_connect" )
915943 assume_func = FunctionCall (func = "assume ec2 role" )
@@ -920,7 +948,7 @@ def create_atlas_connect_tasks():
920948
921949
922950def create_enterprise_auth_tasks ():
923- vars = dict (TEST_NAME = "enterprise_auth" , AUTH = "auth" )
951+ vars = dict (TEST_NAME = "enterprise_auth" , AUTH = "auth" , FOO = "${THIS THING}" )
924952 server_func = FunctionCall (func = "run server" , vars = vars )
925953 assume_func = FunctionCall (func = "assume ec2 role" )
926954 test_func = FunctionCall (func = "run tests" , vars = vars )
0 commit comments