@@ -346,23 +346,6 @@ def create_disable_test_commands_variants():
346346 return [create_variant (tasks , display_name , host = host , python = python , expansions = expansions )]
347347
348348
349- def create_serverless_variants ():
350- host = DEFAULT_HOST
351- batchtime = BATCHTIME_WEEK
352- tasks = [".serverless" ]
353- base_name = "Serverless"
354- return [
355- create_variant (
356- tasks ,
357- get_variant_name (base_name , host , python = python ),
358- host = host ,
359- python = python ,
360- batchtime = batchtime ,
361- )
362- for python in MIN_MAX_PYTHON
363- ]
364-
365-
366349def create_oidc_auth_variants ():
367350 variants = []
368351 for host_name in ["ubuntu22" , "macos" , "win64" ]:
@@ -914,7 +897,8 @@ def create_backport_pr_tasks():
914897 "${github_commit}" ,
915898 ]
916899 cmd = get_subprocess_exec (args = args )
917- return [EvgTask (name = name , commands = [cmd ], allowed_requesters = ["commit" ])]
900+ assume_func = FunctionCall (func = "assume ec2 role" )
901+ return [EvgTask (name = name , commands = [assume_func , cmd ], allowed_requesters = ["commit" ])]
918902
919903
920904def create_ocsp_tasks ():
@@ -962,14 +946,6 @@ def create_free_threading_tasks():
962946 return [EvgTask (name = task_name , tags = tags , commands = [server_func , test_func ])]
963947
964948
965- def create_serverless_tasks ():
966- vars = dict (TEST_NAME = "serverless" , AUTH = "auth" , SSL = "ssl" )
967- test_func = FunctionCall (func = "run tests" , vars = vars )
968- tags = ["serverless" ]
969- task_name = "test-serverless"
970- return [EvgTask (name = task_name , tags = tags , commands = [test_func ])]
971-
972-
973949##############
974950# Functions
975951##############
0 commit comments