deleted PVC log message
							parent
							
								
									9fd4d4da48
								
							
						
					
					
						commit
						7a91f5062f
					
				|  | @ -2000,6 +2000,7 @@ class Kubernetes { | ||||||
|                 yield this.kubeClientBatch.deleteNamespacedJob(this.jobName, this.namespace); |                 yield this.kubeClientBatch.deleteNamespacedJob(this.jobName, this.namespace); | ||||||
|                 yield this.kubeClient.deleteNamespacedPod(this.podName, this.namespace); |                 yield this.kubeClient.deleteNamespacedPod(this.podName, this.namespace); | ||||||
|                 yield this.kubeClient.deleteNamespacedSecret(this.secretName, this.namespace); |                 yield this.kubeClient.deleteNamespacedSecret(this.secretName, this.namespace); | ||||||
|  |                 yield new Promise((promise) => setTimeout(promise, 5000)); | ||||||
|             } |             } | ||||||
|             catch (error) { |             catch (error) { | ||||||
|                 cloud_runner_logger_1.default.log('Failed to cleanup, error:'); |                 cloud_runner_logger_1.default.log('Failed to cleanup, error:'); | ||||||
|  |  | ||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -147,6 +147,7 @@ class Kubernetes implements CloudRunnerProviderInterface { | ||||||
|       await this.kubeClientBatch.deleteNamespacedJob(this.jobName, this.namespace); |       await this.kubeClientBatch.deleteNamespacedJob(this.jobName, this.namespace); | ||||||
|       await this.kubeClient.deleteNamespacedPod(this.podName, this.namespace); |       await this.kubeClient.deleteNamespacedPod(this.podName, this.namespace); | ||||||
|       await this.kubeClient.deleteNamespacedSecret(this.secretName, this.namespace); |       await this.kubeClient.deleteNamespacedSecret(this.secretName, this.namespace); | ||||||
|  |       await new Promise((promise) => setTimeout(promise, 5000)); | ||||||
|     } catch (error) { |     } catch (error) { | ||||||
|       CloudRunnerLogger.log('Failed to cleanup, error:'); |       CloudRunnerLogger.log('Failed to cleanup, error:'); | ||||||
|       core.error(JSON.stringify(error, undefined, 4)); |       core.error(JSON.stringify(error, undefined, 4)); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue