Kubernetes use env var based secrets

pull/310/head
Frostebite 2021-12-29 22:39:09 +00:00
parent 18828c059e
commit c54883ec7c
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -1786,6 +1786,7 @@ class Kubernetes {
//run
cloud_runner_logger_1.default.log('Creating build job');
yield this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
yield new Promise((promise) => setTimeout(promise, 5000));
cloud_runner_logger_1.default.log('Job created');
this.setPodNameAndContainerName(yield Kubernetes.findPodFromJob(this.kubeClient, this.jobName, this.namespace));
cloud_runner_logger_1.default.log('Watching pod until running');

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -99,6 +99,7 @@ class Kubernetes implements CloudRunnerProviderInterface {
//run
CloudRunnerLogger.log('Creating build job');
await this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
await new Promise((promise) => setTimeout(promise, 5000));
CloudRunnerLogger.log('Job created');
this.setPodNameAndContainerName(await Kubernetes.findPodFromJob(this.kubeClient, this.jobName, this.namespace));
CloudRunnerLogger.log('Watching pod until running');