mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
hashed logging k8s
This commit is contained in:
parent
51c1da5a82
commit
368f63e404
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.
@ -40,6 +40,14 @@ class KubernetesTaskRunner {
|
|||||||
if (outputChunk.includes(`Collected Logs`)) {
|
if (outputChunk.includes(`Collected Logs`)) {
|
||||||
CloudRunnerLogger.log(`Log Start found in logs`);
|
CloudRunnerLogger.log(`Log Start found in logs`);
|
||||||
}
|
}
|
||||||
|
if (outputChunk.includes(`LOGHASH:`)) {
|
||||||
|
RemoteClientLogger.HandleLogChunkLine(outputChunk);
|
||||||
|
CloudRunnerLogger.log(`Loghash found`);
|
||||||
|
}
|
||||||
|
if (outputChunk.includes(`LOGS:`)) {
|
||||||
|
const result = RemoteClientLogger.HandleLogChunkLine(outputChunk);
|
||||||
|
CloudRunnerLogger.log(`Logs found HandleLogChunkLineResult:${result}`);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
logs = await CloudRunnerSystem.Run(`kubectl logs ${podName}${extraFlags}`, false, true, callback);
|
logs = await CloudRunnerSystem.Run(`kubectl logs ${podName}${extraFlags}`, false, true, callback);
|
||||||
|
Loading…
Reference in New Issue
Block a user