@@ -346,23 +346,6 @@ def create_disable_test_commands_variants():
346
346
return [create_variant (tasks , display_name , host = host , python = python , expansions = expansions )]
347
347
348
348
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
-
366
349
def create_oidc_auth_variants ():
367
350
variants = []
368
351
for host_name in ["ubuntu22" , "macos" , "win64" ]:
@@ -914,7 +897,8 @@ def create_backport_pr_tasks():
914
897
"${github_commit}" ,
915
898
]
916
899
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" ])]
918
902
919
903
920
904
def create_ocsp_tasks ():
@@ -962,14 +946,6 @@ def create_free_threading_tasks():
962
946
return [EvgTask (name = task_name , tags = tags , commands = [server_func , test_func ])]
963
947
964
948
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
-
973
949
##############
974
950
# Functions
975
951
##############
0 commit comments