K8s log and stringify error for k8s cleanup

pull/461/head
Frostebite 2022-09-29 17:59:45 +01:00
parent 2342501554
commit f68dc13959
3 changed files with 1 additions and 5 deletions

2
dist/index.js vendored
View File

@ -3011,8 +3011,6 @@ class Kubernetes {
cloud_runner_logger_1.default.log(`Cleanup failed ${JSON.stringify(error, undefined, 4)}`);
}
yield __1.Output.setBuildVersion(buildParameters.buildVersion);
// eslint-disable-next-line unicorn/no-process-exit
process.exit(1);
});
}
static findPodFromJob(kubeClient, jobName, namespace) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -210,8 +210,6 @@ class Kubernetes implements ProviderInterface {
CloudRunnerLogger.log(`Cleanup failed ${JSON.stringify(error, undefined, 4)}`);
}
await Output.setBuildVersion(buildParameters.buildVersion);
// eslint-disable-next-line unicorn/no-process-exit
process.exit(1);
}
static async findPodFromJob(kubeClient: CoreV1Api, jobName: string, namespace: string) {