cleanup local pipeline, log aws formation

pull/479/head
Frostebite 2022-12-15 00:23:17 +00:00
parent 6cde00e65d
commit eb76d1bd1f
3 changed files with 5 additions and 3 deletions

2
dist/index.js vendored
View File

@ -1661,7 +1661,7 @@ class AWSTaskRunner {
const taskArn = ((_o = task.tasks) === null || _o === void 0 ? void 0 : _o[0].taskArn) || ''; const taskArn = ((_o = task.tasks) === null || _o === void 0 ? void 0 : _o[0].taskArn) || '';
cloud_runner_logger_1.default.log('Cloud runner job is starting'); cloud_runner_logger_1.default.log('Cloud runner job is starting');
yield AWSTaskRunner.waitUntilTaskRunning(taskArn, cluster); yield AWSTaskRunner.waitUntilTaskRunning(taskArn, cluster);
cloud_runner_logger_1.default.log(`Cloud runner job status is running ${(_p = (yield AWSTaskRunner.describeTasks(cluster, taskArn))) === null || _p === void 0 ? void 0 : _p.lastStatus}`); cloud_runner_logger_1.default.log(`Cloud runner job status is running ${(_p = (yield AWSTaskRunner.describeTasks(cluster, taskArn))) === null || _p === void 0 ? void 0 : _p.lastStatus} Watch:${cloud_runner_options_1.default.watchCloudRunnerToEnd} Async:${cloud_runner_options_1.default.asyncCloudRunner}`);
if (!cloud_runner_options_1.default.watchCloudRunnerToEnd) { if (!cloud_runner_options_1.default.watchCloudRunnerToEnd) {
const shouldCleanup = false; const shouldCleanup = false;
const output = ''; const output = '';

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -57,7 +57,9 @@ class AWSTaskRunner {
CloudRunnerLogger.log('Cloud runner job is starting'); CloudRunnerLogger.log('Cloud runner job is starting');
await AWSTaskRunner.waitUntilTaskRunning(taskArn, cluster); await AWSTaskRunner.waitUntilTaskRunning(taskArn, cluster);
CloudRunnerLogger.log( CloudRunnerLogger.log(
`Cloud runner job status is running ${(await AWSTaskRunner.describeTasks(cluster, taskArn))?.lastStatus}`, `Cloud runner job status is running ${(await AWSTaskRunner.describeTasks(cluster, taskArn))?.lastStatus} Watch:${
CloudRunnerOptions.watchCloudRunnerToEnd
} Async:${CloudRunnerOptions.asyncCloudRunner}`,
); );
if (!CloudRunnerOptions.watchCloudRunnerToEnd) { if (!CloudRunnerOptions.watchCloudRunnerToEnd) {
const shouldCleanup: boolean = false; const shouldCleanup: boolean = false;