Logging improvements
parent
2d0bc453aa
commit
06efbd07c4
|
|
@ -994,7 +994,9 @@ class Kubernetes {
|
|||
yield this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
|
||||
core.info('Job created');
|
||||
yield this.watchPersistentVolumeClaimUntilBoundToContainer();
|
||||
core.info('PVC Bound');
|
||||
this.setPodNameAndContainerName(yield this.getPod());
|
||||
core.info('Watching pod and streaming logs');
|
||||
yield this.watchUntilPodRunning();
|
||||
yield this.streamLogs();
|
||||
yield this.cleanup();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -278,7 +278,9 @@ class Kubernetes implements RemoteBuilderProviderInterface {
|
|||
await this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
|
||||
core.info('Job created');
|
||||
await this.watchPersistentVolumeClaimUntilBoundToContainer();
|
||||
core.info('PVC Bound');
|
||||
this.setPodNameAndContainerName(await this.getPod());
|
||||
core.info('Watching pod and streaming logs');
|
||||
await this.watchUntilPodRunning();
|
||||
await this.streamLogs();
|
||||
await this.cleanup();
|
||||
|
|
|
|||
Loading…
Reference in New Issue