@@ -359,14 +359,11 @@ def create_no_c_ext_variants():
359359
360360
361361def create_atlas_data_lake_variants ():
362- variants = []
363362 host = HOSTS ["ubuntu22" ]
364- for python in MIN_MAX_PYTHON :
365- tasks = [".atlas_data_lake" ]
366- display_name = get_variant_name ("Atlas Data Lake" , host , python = python )
367- variant = create_variant (tasks , display_name , host = host , python = python )
368- variants .append (variant )
369- return variants
363+ tasks = [".no-orchestration" ]
364+ expansions = dict (TEST_NAME = "data_lake" )
365+ display_name = get_variant_name ("Atlas Data Lake" , host )
366+ return [create_variant (tasks , display_name , host = host , expansions = expansions )]
370367
371368
372369def create_mod_wsgi_variants ():
@@ -437,13 +434,13 @@ def create_search_index_variants():
437434
438435def create_mockupdb_variants ():
439436 host = DEFAULT_HOST
440- python = CPYTHONS [ 0 ]
437+ expansions = dict ( TEST_NAME = "mockupdb" )
441438 return [
442439 create_variant (
443- [".mockupdb" ],
444- get_variant_name ("MockupDB" , host , python = python ),
445- python = python ,
440+ [".no-orchestration" ],
441+ get_variant_name ("MockupDB" , host ),
446442 host = host ,
443+ expansions = expansions ,
447444 )
448445 ]
449446
@@ -465,12 +462,10 @@ def create_atlas_connect_variants():
465462 host = DEFAULT_HOST
466463 return [
467464 create_variant (
468- [".atlas_connect" ],
469- get_variant_name ("Atlas connect" , host , python = python ),
470- python = python ,
471- host = host ,
465+ [".no-orchestration" ],
466+ get_variant_name ("Atlas connect" , host ),
467+ host = DEFAULT_HOST ,
472468 )
473- for python in MIN_MAX_PYTHON
474469 ]
475470
476471
@@ -525,7 +520,8 @@ def create_aws_auth_variants():
525520
526521def create_no_server_variants ():
527522 host = HOSTS ["rhel8" ]
528- return [create_variant ([".no-server" ], "No server" , host = host )]
523+ name = get_variant_name ("No server" , host = host )
524+ return [create_variant ([".no-orchestration" ], name , host = host )]
529525
530526
531527def create_alternative_hosts_variants ():
@@ -691,6 +687,22 @@ def create_server_tasks():
691687 return tasks
692688
693689
690+ def create_no_orchestration_tasks ():
691+ tasks = []
692+ for python in [* MIN_MAX_PYTHON , PYPYS [- 1 ]]:
693+ tags = [
694+ "no-orchestration" ,
695+ f"python-{ python } " ,
696+ ]
697+ name = get_task_name ("test-no-orchestration" , python = python )
698+ assume_func = FunctionCall (func = "assume ec2 role" )
699+ test_vars = dict (PYTHON_VERSION = python )
700+ test_func = FunctionCall (func = "run tests" , vars = test_vars )
701+ commands = [assume_func , test_func ]
702+ tasks .append (EvgTask (name = name , tags = tags , commands = commands ))
703+ return tasks
704+
705+
694706def create_load_balancer_tasks ():
695707 tasks = []
696708 for (auth , ssl ), version in product (AUTH_SSLS , get_versions_from ("6.0" )):
@@ -855,15 +867,6 @@ def create_search_index_tasks():
855867 return [EvgTask (name = task_name , tags = tags , commands = commands )]
856868
857869
858- def create_atlas_connect_tasks ():
859- vars = dict (TEST_NAME = "atlas_connect" )
860- assume_func = FunctionCall (func = "assume ec2 role" )
861- test_func = FunctionCall (func = "run tests" , vars = vars )
862- task_name = "test-atlas-connect"
863- tags = ["atlas_connect" ]
864- return [EvgTask (name = task_name , tags = tags , commands = [assume_func , test_func ])]
865-
866-
867870def create_enterprise_auth_tasks ():
868871 tasks = []
869872 for python in [* MIN_MAX_PYTHON , PYPYS [- 1 ]]:
@@ -901,18 +904,6 @@ def create_perf_tasks():
901904 return tasks
902905
903906
904- def create_atlas_data_lake_tasks ():
905- tags = ["atlas_data_lake" ]
906- tasks = []
907- for c_ext in C_EXTS :
908- vars = dict (TEST_NAME = "data_lake" )
909- handle_c_ext (c_ext , vars )
910- test_func = FunctionCall (func = "run tests" , vars = vars )
911- task_name = f"test-atlas-data-lake-{ c_ext } "
912- tasks .append (EvgTask (name = task_name , tags = tags , commands = [test_func ]))
913- return tasks
914-
915-
916907def create_getdata_tasks ():
917908 # Wildcard task. Do you need to find out what tools are available and where?
918909 # Throw it here, and execute this task on all buildvariants
@@ -992,20 +983,6 @@ def create_ocsp_tasks():
992983 return tasks
993984
994985
995- def create_mockupdb_tasks ():
996- test_func = FunctionCall (func = "run tests" , vars = dict (TEST_NAME = "mockupdb" ))
997- task_name = "test-mockupdb"
998- tags = ["mockupdb" ]
999- return [EvgTask (name = task_name , tags = tags , commands = [test_func ])]
1000-
1001-
1002- def create_no_server_tasks ():
1003- test_func = FunctionCall (func = "run tests" )
1004- task_name = "test-no-server"
1005- tags = ["no-server" ]
1006- return [EvgTask (name = task_name , tags = tags , commands = [test_func ])]
1007-
1008-
1009986def create_free_threading_tasks ():
1010987 vars = dict (VERSION = "8.0" , TOPOLOGY = "replica_set" )
1011988 server_func = FunctionCall (func = "run server" , vars = vars )
0 commit comments