mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
stream logs through standard input and new remote client cli command
This commit is contained in:
parent
1867dcefbb
commit
d92ce4dc13
@ -31,6 +31,7 @@ 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:
|
||||||
|
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -94,7 +94,27 @@ class KubernetesStorage {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
if (process.env['CLOUD_RUNNER_MINIKUBE']) {
|
||||||
|
pvc.spec.storageClassName = `manual`;
|
||||||
|
}
|
||||||
const result = await kubeClient.createNamespacedPersistentVolumeClaim(namespace, pvc);
|
const result = await kubeClient.createNamespacedPersistentVolumeClaim(namespace, pvc);
|
||||||
|
if (process.env['CLOUD_RUNNER_MINIKUBE']) {
|
||||||
|
const hostPathVolume = {
|
||||||
|
metadata: {
|
||||||
|
name: ``,
|
||||||
|
labels: {
|
||||||
|
type: `local`,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
spec: {
|
||||||
|
storageClassName: `manual`,
|
||||||
|
capacity: { storage: `10Gi` },
|
||||||
|
accessModes: ['ReadWriteOnce'],
|
||||||
|
hostPath: { path: `/data` },
|
||||||
|
},
|
||||||
|
};
|
||||||
|
await kubeClient.createPersistentVolume(hostPathVolume);
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user