Stream from k8s main container

pull/310/head
Frostebite 2021-09-15 04:35:57 +01:00
parent 7706f45feb
commit 541099b899
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ echo "Checked out $githubSha"
git lfs ls-files -l | cut -d ' ' -f1 | sort > .lfs-assets-guid
md5sum .lfs-assets-guid > .lfs-assets-guid-sum
export LFS_ASSETS_HASH="$(cat ${repoPathFull}/.lfs-assets-guid)"
export LFS_ASSETS_HASH="$(cat $repoPathFull/.lfs-assets-guid)"
echo ' '
echo 'Contents of .lfs-assets-guid file:'

2
dist/index.js vendored
View File

@ -1421,7 +1421,7 @@ class Kubernetes {
this.buildGuid = buildGuid;
this.secretName = `build-credentials-${buildGuid}`;
this.jobName = `unity-builder-job-${buildGuid}`;
this.containerName = 'main';
this.containerName = `main`;
yield kubernetes_secret_1.default.createSecret(secrets, this.secretName, this.namespace, this.kubeClient);
const jobSpec = kubernetes_job_spec_factory_1.default.getJobSpec(commands, image, mountdir, workingdir, environment, this.buildGuid, this.buildParameters, this.secretName, this.pvcName, this.jobName, k8s);
//run

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -78,7 +78,7 @@ class Kubernetes implements CloudRunnerProviderInterface {
this.buildGuid = buildGuid;
this.secretName = `build-credentials-${buildGuid}`;
this.jobName = `unity-builder-job-${buildGuid}`;
this.containerName = 'main';
this.containerName = `main`;
await KubernetesSecret.createSecret(secrets, this.secretName, this.namespace, this.kubeClient);
const jobSpec = KubernetesJobSpecFactory.getJobSpec(
commands,