stream logs through standard input and new remote client cli command

pull/531/head
Frostebite 2023-06-05 23:15:49 +01:00
parent 596f3fb648
commit 76e8818089
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -3957,7 +3957,7 @@ class KubernetesTaskRunner {
await async_wait_until_1.default(async () => {
const status = await kubeClient.readNamespacedPodStatus(podName, namespace);
const phase = status?.body.status?.phase;
waitComplete = phase !== 'Pending' && phase !== 'Unknown';
waitComplete = phase !== 'Pending';
message = `Phase:${status.body.status?.phase} \n Reason:${status.body.status?.conditions?.[0].reason || ''} \n Message:${status.body.status?.conditions?.[0].message || ''}`;
// CloudRunnerLogger.log(
// JSON.stringify(

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -118,7 +118,7 @@ class KubernetesTaskRunner {
async () => {
const status = await kubeClient.readNamespacedPodStatus(podName, namespace);
const phase = status?.body.status?.phase;
waitComplete = phase !== 'Pending' && phase !== 'Unknown';
waitComplete = phase !== 'Pending';
message = `Phase:${status.body.status?.phase} \n Reason:${
status.body.status?.conditions?.[0].reason || ''
} \n Message:${status.body.status?.conditions?.[0].message || ''}`;