@@ -359,14 +359,11 @@ def create_no_c_ext_variants():
359
359
360
360
361
361
def create_atlas_data_lake_variants ():
362
- variants = []
363
362
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 )]
370
367
371
368
372
369
def create_mod_wsgi_variants ():
@@ -437,13 +434,13 @@ def create_search_index_variants():
437
434
438
435
def create_mockupdb_variants ():
439
436
host = DEFAULT_HOST
440
- python = CPYTHONS [ 0 ]
437
+ expansions = dict ( TEST_NAME = "mockupdb" )
441
438
return [
442
439
create_variant (
443
- [".mockupdb" ],
444
- get_variant_name ("MockupDB" , host , python = python ),
445
- python = python ,
440
+ [".no-orchestration" ],
441
+ get_variant_name ("MockupDB" , host ),
446
442
host = host ,
443
+ expansions = expansions ,
447
444
)
448
445
]
449
446
@@ -465,12 +462,10 @@ def create_atlas_connect_variants():
465
462
host = DEFAULT_HOST
466
463
return [
467
464
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 ,
472
468
)
473
- for python in MIN_MAX_PYTHON
474
469
]
475
470
476
471
@@ -525,7 +520,8 @@ def create_aws_auth_variants():
525
520
526
521
def create_no_server_variants ():
527
522
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 )]
529
525
530
526
531
527
def create_alternative_hosts_variants ():
@@ -691,6 +687,22 @@ def create_server_tasks():
691
687
return tasks
692
688
693
689
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
+
694
706
def create_load_balancer_tasks ():
695
707
tasks = []
696
708
for (auth , ssl ), version in product (AUTH_SSLS , get_versions_from ("6.0" )):
@@ -855,15 +867,6 @@ def create_search_index_tasks():
855
867
return [EvgTask (name = task_name , tags = tags , commands = commands )]
856
868
857
869
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
-
867
870
def create_enterprise_auth_tasks ():
868
871
tasks = []
869
872
for python in [* MIN_MAX_PYTHON , PYPYS [- 1 ]]:
@@ -901,18 +904,6 @@ def create_perf_tasks():
901
904
return tasks
902
905
903
906
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
-
916
907
def create_getdata_tasks ():
917
908
# Wildcard task. Do you need to find out what tools are available and where?
918
909
# Throw it here, and execute this task on all buildvariants
@@ -992,20 +983,6 @@ def create_ocsp_tasks():
992
983
return tasks
993
984
994
985
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
-
1009
986
def create_free_threading_tasks ():
1010
987
vars = dict (VERSION = "8.0" , TOPOLOGY = "replica_set" )
1011
988
server_func = FunctionCall (func = "run server" , vars = vars )
0 commit comments