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
fix: support new 'ECS' deployment type rather than relying on a null value (#387)
* revert to working build and add check
* Support nil for deployment controller as well
* package
* check `type`
* add a test
Co-authored-by: Braden Simpson <[email protected]>
Copy file name to clipboardExpand all lines: index.test.js
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,41 @@ describe('Deploy to ECS', () => {
167
167
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");
168
168
});
169
169
170
+
test('registers the task definition contents and updates the service if deployment controller type is ECS',async()=>{
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");
203
+
});
204
+
170
205
test('prints Chinese console domain for cn regions',async()=>{
0 commit comments