starting ws logger and logging task description

pull/218/head
Frostebite 2021-01-31 21:30:57 +00:00
parent 9271602943
commit dfb0e56cec
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -60,7 +60,7 @@ class AWS {
containerOverrides: [ containerOverrides: [
{ {
name: 'example', name: 'example',
// command: ["echo 't'"], command: ['bin/bash', '-c', 'echo "test"'],
// environment: [] // environment: []
}, },
], ],
@ -95,7 +95,7 @@ class AWS {
tasks: [task.tasks[0].taskArn], tasks: [task.tasks[0].taskArn],
cluster: clusterName, cluster: clusterName,
}).promise(); }).promise();
core.info(taskDescriptions.tasks[0].toString()); core.info(JSON.stringify(taskDescriptions.tasks[0]));
// const client = new WebSocketClient('ws://'); // const client = new WebSocketClient('ws://');
// client.on('connect', (con) => { // client.on('connect', (con) => {
// con.on('message', (message) => { // con.on('message', (message) => {