deleted PVC log message

pull/310/head
Frostebite 2022-01-30 21:11:13 +00:00
parent 9fd4d4da48
commit 7a91f5062f
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -2000,6 +2000,7 @@ class Kubernetes {
yield this.kubeClientBatch.deleteNamespacedJob(this.jobName, this.namespace);
yield this.kubeClient.deleteNamespacedPod(this.podName, this.namespace);
yield this.kubeClient.deleteNamespacedSecret(this.secretName, this.namespace);
yield new Promise((promise) => setTimeout(promise, 5000));
}
catch (error) {
cloud_runner_logger_1.default.log('Failed to cleanup, error:');

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -147,6 +147,7 @@ class Kubernetes implements CloudRunnerProviderInterface {
await this.kubeClientBatch.deleteNamespacedJob(this.jobName, this.namespace);
await this.kubeClient.deleteNamespacedPod(this.podName, this.namespace);
await this.kubeClient.deleteNamespacedSecret(this.secretName, this.namespace);
await new Promise((promise) => setTimeout(promise, 5000));
} catch (error) {
CloudRunnerLogger.log('Failed to cleanup, error:');
core.error(JSON.stringify(error, undefined, 4));