Stream from k8s main container

pull/310/head
Frostebite 2021-09-15 05:35:56 +01:00
parent 541099b899
commit dc4820452f
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -1432,7 +1432,7 @@ class Kubernetes {
core.info('Watching pod until running');
yield kubernetes_utils_1.default.watchUntilPodRunning(this.kubeClient, this.podName, this.namespace);
core.info('Pod running, streaming logs');
yield kubernetes_logging_1.default.streamLogs(this.kubeConfig, this.kubeClient, this.jobName, this.podName, this.containerName, this.namespace, core.info);
yield kubernetes_logging_1.default.streamLogs(this.kubeConfig, this.kubeClient, this.jobName, this.podName, 'main', this.namespace, core.info);
yield this.cleanupTaskResources();
}
catch (error) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -109,7 +109,7 @@ class Kubernetes implements CloudRunnerProviderInterface {
this.kubeClient,
this.jobName,
this.podName,
this.containerName,
'main',
this.namespace,
core.info,
);