@@ -502,6 +502,12 @@ def create_aws_auth_variants():
502502 return variants
503503
504504
505+ def create_min_support_variants ():
506+ host = HOSTS ["rhel8" ]
507+ name = get_variant_name ("Min Support" , host = host )
508+ return [create_variant ([".test-min-support" ], name , host = host )]
509+
510+
505511def create_no_server_variants ():
506512 host = HOSTS ["rhel8" ]
507513 name = get_variant_name ("No server" , host = host )
@@ -897,6 +903,24 @@ def _create_ocsp_tasks(algo, variant, server_type, base_task_name):
897903 return tasks
898904
899905
906+ def create_min_support_tasks ():
907+ server_func = FunctionCall (func = "run server" )
908+ from generate_config_utils import MIN_SUPPORT_VERSIONS
909+
910+ tasks = []
911+ for python , topology in product (MIN_SUPPORT_VERSIONS , TOPOLOGIES ):
912+ auth , ssl = get_standard_auth_ssl (topology )
913+ vars = dict (UV_PYTHON = python , AUTH = auth , SSL = ssl , TOPOLOGY = topology )
914+ test_func = FunctionCall (func = "run tests" , vars = vars )
915+ task_name = get_task_name (
916+ "test-min-support" , python = python , topology = topology , auth = auth , ssl = ssl
917+ )
918+ tags = ["test-min-support" ]
919+ commands = [server_func , test_func ]
920+ tasks .append (EvgTask (name = task_name , tags = tags , commands = commands ))
921+ return tasks
922+
923+
900924def create_aws_lambda_tasks ():
901925 assume_func = FunctionCall (func = "assume ec2 role" )
902926 vars = dict (TEST_NAME = "aws_lambda" )
0 commit comments