You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ branding:
5
5
color: 'orange'
6
6
inputs:
7
7
task-definition:
8
-
description: 'The path to the ECS task definition file to register'
8
+
description: 'The path to the ECS task definition file to register or the name of the task definition family to use. If the task definition family is given, the action will use the latest ACTIVE revision of the task definition.'
9
9
required: true
10
10
service:
11
11
description: 'The name of the ECS service to deploy to. The action will only register the task definition if no service is given.'
expect(core.info).toBeCalledWith("Deployment started. Watch this deployment's progress in the Amazon ECS console: https://console.aws.amazon.com/ecs/home?region=fake-region#/clusters/cluster-789/services/service-456/events");
194
+
});
195
+
196
+
test("should be able to throw an error when the task definition family is not found",async()=>{
expect(core.info).not.toBeCalledWith("Deployment started. Watch this deployment's progress in the Amazon ECS console: https://console.aws.amazon.com/ecs/home?region=fake-region#/clusters/cluster-789/services/service-456/events");
222
+
});
223
+
154
224
test('registers the task definition contents and updates the service',async()=>{
0 commit comments