Logging improvements

pull/273/head
Frostebite 2021-06-18 20:02:16 +01:00
parent 2d0bc453aa
commit 06efbd07c4
3 changed files with 5 additions and 1 deletions

2
dist/index.js vendored
View File

@ -994,7 +994,9 @@ class Kubernetes {
yield this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec); yield this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
core.info('Job created'); core.info('Job created');
yield this.watchPersistentVolumeClaimUntilBoundToContainer(); yield this.watchPersistentVolumeClaimUntilBoundToContainer();
core.info('PVC Bound');
this.setPodNameAndContainerName(yield this.getPod()); this.setPodNameAndContainerName(yield this.getPod());
core.info('Watching pod and streaming logs');
yield this.watchUntilPodRunning(); yield this.watchUntilPodRunning();
yield this.streamLogs(); yield this.streamLogs();
yield this.cleanup(); yield this.cleanup();

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -278,7 +278,9 @@ class Kubernetes implements RemoteBuilderProviderInterface {
await this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec); await this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
core.info('Job created'); core.info('Job created');
await this.watchPersistentVolumeClaimUntilBoundToContainer(); await this.watchPersistentVolumeClaimUntilBoundToContainer();
core.info('PVC Bound');
this.setPodNameAndContainerName(await this.getPod()); this.setPodNameAndContainerName(await this.getPod());
core.info('Watching pod and streaming logs');
await this.watchUntilPodRunning(); await this.watchUntilPodRunning();
await this.streamLogs(); await this.streamLogs();
await this.cleanup(); await this.cleanup();