starting ws logger and logging task description
parent
dd8e3854cd
commit
0670b94615
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
|
|
@ -100,11 +100,11 @@ class AWS {
|
||||||
// });
|
// });
|
||||||
// });
|
// });
|
||||||
|
|
||||||
await this.watch(async () => {
|
// await this.watch(async () => {
|
||||||
return (
|
// return (
|
||||||
await ECS.describeTasks({ tasks: [task.tasks[0].taskArn], cluster: clusterName }).promise()
|
// await ECS.describeTasks({ tasks: [task.tasks[0].taskArn], cluster: clusterName }).promise()
|
||||||
).tasks[0].lastStatus;
|
// ).tasks[0].lastStatus;
|
||||||
}, 'example');
|
// }, 'example');
|
||||||
|
|
||||||
await ECS.waitFor('tasksStopped', {
|
await ECS.waitFor('tasksStopped', {
|
||||||
cluster: clusterName,
|
cluster: clusterName,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue