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
5631a3b301
commit
f563b8c810
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.
@ -47,11 +47,10 @@ class KubernetesTaskRunner {
|
||||
CloudRunnerLogger.log(`Loghash found`);
|
||||
}
|
||||
if (chunk.includes(`LOGS:`)) {
|
||||
const result = RemoteClientLogger.HandleLogChunkLine(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}`);
|
||||
const result = RemoteClientLogger.HandleLogChunkLine(unpacked);
|
||||
CloudRunnerLogger.log(`Logs found HandleLogChunkLineResult:${result}`);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user