mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
stream logs through standard input and new remote client cli command
This commit is contained in:
parent
c366060834
commit
1867dcefbb
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.
@ -101,6 +101,12 @@ class KubernetesTaskRunner {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const configMapLogs = await kubeClient.readNamespacedConfigMap(`${jobName}-logs`, namespace);
|
||||||
|
if (configMapLogs.body.data) {
|
||||||
|
const logs = configMapLogs.body.data[`logs`] || ``;
|
||||||
|
CloudRunnerLogger.log(logs);
|
||||||
|
}
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user