cleanup & retained mode test for k8s and aws

pull/437/head
Frostebite 2022-11-03 18:12:55 +00:00
parent bf1ef144b0
commit f03fe8b423
3 changed files with 4 additions and 1 deletions

1
dist/index.js vendored
View File

@ -1605,6 +1605,7 @@ class AWSTaskRunner {
const output = '';
return { output, shouldCleanup };
}
cloud_runner_logger_1.default.log(`Streaming...`);
const { output, shouldCleanup } = yield this.streamLogsUntilTaskStops(cluster, taskArn, streamName);
const taskData = yield AWSTaskRunner.describeTasks(cluster, taskArn);
const containerState = (_q = taskData.containers) === null || _q === void 0 ? void 0 : _q[0];

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -64,6 +64,8 @@ class AWSTaskRunner {
return { output, shouldCleanup };
}
CloudRunnerLogger.log(`Streaming...`);
const { output, shouldCleanup } = await this.streamLogsUntilTaskStops(cluster, taskArn, streamName);
const taskData = await AWSTaskRunner.describeTasks(cluster, taskArn);
const containerState = taskData.containers?.[0];