mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
Include log chunk when task runner sees log update, clarify if we can pull logs from same line or next line
This commit is contained in:
parent
a760ee803f
commit
5631a3b301
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -48,7 +48,10 @@ class KubernetesTaskRunner {
|
|||||||
}
|
}
|
||||||
if (chunk.includes(`LOGS:`)) {
|
if (chunk.includes(`LOGS:`)) {
|
||||||
const result = RemoteClientLogger.HandleLogChunkLine(chunk);
|
const result = RemoteClientLogger.HandleLogChunkLine(chunk);
|
||||||
CloudRunnerLogger.log(`Logs found HandleLogChunkLineResult:${result}\n${chunk}`);
|
|
||||||
|
// remove "LOGS: " and decode base64 remaining
|
||||||
|
const unpacked = Buffer.from(chunk.split(`LOGS: `)[1], 'base64').toString('ascii');
|
||||||
|
CloudRunnerLogger.log(`Logs found HandleLogChunkLineResult:${result}\n${unpacked}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user