Fix: read git branch from project path git repo

pull/419/head
Frostebite 2022-08-11 04:16:33 +01:00
parent 8ca1e9012b
commit 3e83089881
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -1402,7 +1402,7 @@ class AWSTaskRunner {
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}`);
if (cloud_runner_options_1.default.watchCloudRunnerToEnd) { if (!cloud_runner_options_1.default.watchCloudRunnerToEnd) {
const shouldCleanup = false; const shouldCleanup = false;
const output = ''; const output = '';
return { output, shouldCleanup }; return { output, shouldCleanup };

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -58,7 +58,7 @@ class AWSTaskRunner {
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}`,
); );
if (CloudRunnerOptions.watchCloudRunnerToEnd) { if (!CloudRunnerOptions.watchCloudRunnerToEnd) {
const shouldCleanup: boolean = false; const shouldCleanup: boolean = false;
const output: string = ''; const output: string = '';