starting ws logger and logging task description

pull/218/head
Frostebite 2021-01-31 21:13:43 +00:00
parent dd8e3854cd
commit 0670b94615
4 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -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,