disable aws pipe for now

pull/531/head
Frostebite 2023-07-10 23:22:53 +01:00
parent 334afd83b2
commit cf758e2db0
3 changed files with 5 additions and 3 deletions

3
dist/index.js generated vendored
View File

@ -3286,7 +3286,8 @@ class Kubernetes {
const body = new k8s.V1ConfigMap();
body.data = {};
body.data['logs'] = logs;
body.metadata = { name: `${this.jobName}-logs` };
body.metadata = { name: `${this.jobName}-logs`, namespace: this.namespace, labels: { app: 'unity-builder' } };
remote_client_logger_1.RemoteClientLogger.log(`Pushing to Kubernetes ConfigMap`);
await this.kubeClient.createNamespacedConfigMap(this.namespace, body);
remote_client_logger_1.RemoteClientLogger.log(`Pushed logs to Kubernetes ConfigMap`);
}

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -50,7 +50,8 @@ class Kubernetes implements ProviderInterface {
const body: k8s.V1ConfigMap = new k8s.V1ConfigMap();
body.data = {};
body.data['logs'] = logs;
body.metadata = { name: `${this.jobName}-logs` };
body.metadata = { name: `${this.jobName}-logs`, namespace: this.namespace, labels: { app: 'unity-builder' } };
RemoteClientLogger.log(`Pushing to Kubernetes ConfigMap`);
await this.kubeClient.createNamespacedConfigMap(this.namespace, body);
RemoteClientLogger.log(`Pushed logs to Kubernetes ConfigMap`);
}