cleanup & retained mode test for k8s and aws
parent
bf1ef144b0
commit
f03fe8b423
|
|
@ -1605,6 +1605,7 @@ class AWSTaskRunner {
|
||||||
const output = '';
|
const output = '';
|
||||||
return { output, shouldCleanup };
|
return { output, shouldCleanup };
|
||||||
}
|
}
|
||||||
|
cloud_runner_logger_1.default.log(`Streaming...`);
|
||||||
const { output, shouldCleanup } = yield this.streamLogsUntilTaskStops(cluster, taskArn, streamName);
|
const { output, shouldCleanup } = yield this.streamLogsUntilTaskStops(cluster, taskArn, streamName);
|
||||||
const taskData = yield AWSTaskRunner.describeTasks(cluster, taskArn);
|
const taskData = yield AWSTaskRunner.describeTasks(cluster, taskArn);
|
||||||
const containerState = (_q = taskData.containers) === null || _q === void 0 ? void 0 : _q[0];
|
const containerState = (_q = taskData.containers) === null || _q === void 0 ? void 0 : _q[0];
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -64,6 +64,8 @@ class AWSTaskRunner {
|
||||||
|
|
||||||
return { output, shouldCleanup };
|
return { output, shouldCleanup };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloudRunnerLogger.log(`Streaming...`);
|
||||||
const { output, shouldCleanup } = await this.streamLogsUntilTaskStops(cluster, taskArn, streamName);
|
const { output, shouldCleanup } = await this.streamLogsUntilTaskStops(cluster, taskArn, streamName);
|
||||||
const taskData = await AWSTaskRunner.describeTasks(cluster, taskArn);
|
const taskData = await AWSTaskRunner.describeTasks(cluster, taskArn);
|
||||||
const containerState = taskData.containers?.[0];
|
const containerState = taskData.containers?.[0];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue