File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -108,19 +108,18 @@ tasks:
108
108
vars :
109
109
TEST_NAME : auth_aws
110
110
SUB_TEST_NAME : eks
111
- tags : [auth-aws, auth-aws-eks]
112
- - name : test-auth-aws-ecs-latest
111
+ tags : [auth-aws, auth-aws-eks-latest ]
112
+ - name : test-auth-aws-ecs
113
113
commands :
114
114
- func : assume ec2 role
115
115
- func : run server
116
116
vars :
117
117
AUTH_AWS : " 1"
118
- VERSION : latest
119
118
- func : run tests
120
119
vars :
121
120
TEST_NAME : auth_aws
122
121
SUB_TEST_NAME : ecs
123
- tags : [auth-aws, auth-aws-ecs]
122
+ tags : [auth-aws, auth-aws-ecs-latest ]
124
123
125
124
# Backport pr tests
126
125
- name : backport-pr
Original file line number Diff line number Diff line change @@ -762,17 +762,16 @@ def create_aws_tasks():
762
762
tasks .append (EvgTask (name = name , tags = tags , commands = funcs ))
763
763
764
764
for test_type in ["eks" , "ecs" ]:
765
- tags = ["auth-aws" , f"auth-aws-{ test_type } " ]
765
+ tags = ["auth-aws" , f"auth-aws-{ test_type } -latest " ]
766
766
base_name = f"test-auth-aws-{ test_type } "
767
+ name = get_task_name (base_name )
767
768
test_vars = dict (TEST_NAME = "auth_aws" , SUB_TEST_NAME = test_type )
768
769
test_func = FunctionCall (func = "run tests" , vars = test_vars )
769
770
funcs = [assume_func , test_func ]
770
771
if test_type == "ecs" :
771
- server_vars = dict (AUTH_AWS = "1" , VERSION = version )
772
+ server_vars = dict (AUTH_AWS = "1" )
772
773
server_func = FunctionCall (func = "run server" , vars = server_vars )
773
- base_name += "-latest"
774
774
funcs = [assume_func , server_func , test_func ]
775
- name = get_task_name (base_name )
776
775
tasks .append (EvgTask (name = name , tags = tags , commands = funcs ))
777
776
778
777
return tasks
You can’t perform that action at this time.
0 commit comments