fixes
parent
654638c18a
commit
383a40ec6c
|
|
@ -31,7 +31,6 @@ env:
|
||||||
USE_GKE_GCLOUD_AUTH_PLUGIN: true
|
USE_GKE_GCLOUD_AUTH_PLUGIN: true
|
||||||
GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
|
GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CLOUD_RUNNER_MINIKUBE: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
smokeTests:
|
smokeTests:
|
||||||
|
|
@ -143,6 +142,7 @@ jobs:
|
||||||
TARGET_PLATFORM: StandaloneWindows64
|
TARGET_PLATFORM: StandaloneWindows64
|
||||||
cloudRunnerTests: true
|
cloudRunnerTests: true
|
||||||
versioning: None
|
versioning: None
|
||||||
|
KUBE_STORAGE_CLASS: local-path
|
||||||
PROVIDER_STRATEGY: ${{ matrix.providerStrategy }}
|
PROVIDER_STRATEGY: ${{ matrix.providerStrategy }}
|
||||||
buildTargetTests:
|
buildTargetTests:
|
||||||
name: Local Build Target Tests
|
name: Local Build Target Tests
|
||||||
|
|
|
||||||
|
|
@ -3348,9 +3348,7 @@ class Kubernetes {
|
||||||
? cloud_runner_1.default.lockedWorkspace
|
? cloud_runner_1.default.lockedWorkspace
|
||||||
: this.buildParameters.buildGuid;
|
: this.buildParameters.buildGuid;
|
||||||
this.pvcName = `unity-builder-pvc-${id}`;
|
this.pvcName = `unity-builder-pvc-${id}`;
|
||||||
if (!process.env['CLOUD_RUNNER_MINIKUBE']) {
|
await kubernetes_storage_1.default.createPersistentVolumeClaim(this.buildParameters, this.pvcName, this.kubeClient, this.namespace);
|
||||||
await kubernetes_storage_1.default.createPersistentVolumeClaim(this.buildParameters, this.pvcName, this.kubeClient, this.namespace);
|
|
||||||
}
|
|
||||||
this.buildGuid = buildGuid;
|
this.buildGuid = buildGuid;
|
||||||
this.secretName = `build-credentials-${this.buildGuid}`;
|
this.secretName = `build-credentials-${this.buildGuid}`;
|
||||||
this.jobName = `unity-builder-job-${this.buildGuid}`;
|
this.jobName = `unity-builder-job-${this.buildGuid}`;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -127,14 +127,12 @@ class Kubernetes implements ProviderInterface {
|
||||||
? CloudRunner.lockedWorkspace
|
? CloudRunner.lockedWorkspace
|
||||||
: this.buildParameters.buildGuid;
|
: this.buildParameters.buildGuid;
|
||||||
this.pvcName = `unity-builder-pvc-${id}`;
|
this.pvcName = `unity-builder-pvc-${id}`;
|
||||||
if (!process.env['CLOUD_RUNNER_MINIKUBE']) {
|
await KubernetesStorage.createPersistentVolumeClaim(
|
||||||
await KubernetesStorage.createPersistentVolumeClaim(
|
this.buildParameters,
|
||||||
this.buildParameters,
|
this.pvcName,
|
||||||
this.pvcName,
|
this.kubeClient,
|
||||||
this.kubeClient,
|
this.namespace,
|
||||||
this.namespace,
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
this.buildGuid = buildGuid;
|
this.buildGuid = buildGuid;
|
||||||
this.secretName = `build-credentials-${this.buildGuid}`;
|
this.secretName = `build-credentials-${this.buildGuid}`;
|
||||||
this.jobName = `unity-builder-job-${this.buildGuid}`;
|
this.jobName = `unity-builder-job-${this.buildGuid}`;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue