workspace timestamp in workspace name
parent
04c8b2bf77
commit
8e558941e5
|
|
@ -3029,9 +3029,9 @@ class Kubernetes {
|
||||||
try {
|
try {
|
||||||
cloud_runner_logger_1.default.log('Cloud Runner K8s workflow!');
|
cloud_runner_logger_1.default.log('Cloud Runner K8s workflow!');
|
||||||
// Setup
|
// Setup
|
||||||
this.buildGuid = buildGuid;
|
this.buildGuid = buildGuid + Date.now();
|
||||||
this.secretName = `build-credentials-${buildGuid}`;
|
this.secretName = `build-credentials-${this.buildGuid}`;
|
||||||
this.jobName = `unity-builder-job-${buildGuid}`;
|
this.jobName = `unity-builder-job-${this.buildGuid}`;
|
||||||
this.containerName = `main`;
|
this.containerName = `main`;
|
||||||
yield this.createSecret(secrets);
|
yield this.createSecret(secrets);
|
||||||
yield this.createNamespacedJob(commands, image, mountdir, workingdir, environment, secrets);
|
yield this.createNamespacedJob(commands, image, mountdir, workingdir, environment, secrets);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -109,9 +109,9 @@ class Kubernetes implements ProviderInterface {
|
||||||
CloudRunnerLogger.log('Cloud Runner K8s workflow!');
|
CloudRunnerLogger.log('Cloud Runner K8s workflow!');
|
||||||
|
|
||||||
// Setup
|
// Setup
|
||||||
this.buildGuid = buildGuid;
|
this.buildGuid = buildGuid + Date.now();
|
||||||
this.secretName = `build-credentials-${buildGuid}`;
|
this.secretName = `build-credentials-${this.buildGuid}`;
|
||||||
this.jobName = `unity-builder-job-${buildGuid}`;
|
this.jobName = `unity-builder-job-${this.buildGuid}`;
|
||||||
this.containerName = `main`;
|
this.containerName = `main`;
|
||||||
await this.createSecret(secrets);
|
await this.createSecret(secrets);
|
||||||
await this.createNamespacedJob(commands, image, mountdir, workingdir, environment, secrets);
|
await this.createNamespacedJob(commands, image, mountdir, workingdir, environment, secrets);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue