test timeout 1_000_000_000_000
parent
40eca8c2e0
commit
eecce6bf20
|
|
@ -89,6 +89,7 @@ jobs:
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
|
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
|
||||||
if: github.ref != 'refs/heads/cloud-runner-develop' && github.ref != 'refs/heads/cloud-runner-preview'
|
if: github.ref != 'refs/heads/cloud-runner-develop' && github.ref != 'refs/heads/cloud-runner-preview'
|
||||||
|
timeout-minutes: 90
|
||||||
env:
|
env:
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
PROJECT_PATH: ${{ matrix.projectPath }}
|
||||||
|
|
@ -157,7 +158,7 @@ jobs:
|
||||||
- run: yarn run cli --help
|
- run: yarn run cli --help
|
||||||
- uses: ./
|
- uses: ./
|
||||||
id: unity-build
|
id: unity-build
|
||||||
timeout-minutes: 25
|
timeout-minutes: 90
|
||||||
env:
|
env:
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
with:
|
with:
|
||||||
|
|
@ -183,6 +184,7 @@ jobs:
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
|
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
|
||||||
if: ${{ matrix.targetPlatform == 'StandaloneWindows64' }}
|
if: ${{ matrix.targetPlatform == 'StandaloneWindows64' }}
|
||||||
|
timeout-minutes: 90
|
||||||
env:
|
env:
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
PROJECT_PATH: ${{ matrix.projectPath }}
|
||||||
|
|
|
||||||
|
|
@ -3076,7 +3076,9 @@ class Kubernetes {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
for (let index = 0; index < 3; index++) {
|
for (let index = 0; index < 3; index++) {
|
||||||
try {
|
try {
|
||||||
|
yield new Promise((promise) => setTimeout(promise, 5000));
|
||||||
const jobSpec = kubernetes_job_spec_factory_1.default.getJobSpec(commands, image, mountdir, workingdir, environment, secrets, this.buildGuid, this.buildParameters, this.secretName, this.pvcName, this.jobName, k8s);
|
const jobSpec = kubernetes_job_spec_factory_1.default.getJobSpec(commands, image, mountdir, workingdir, environment, secrets, this.buildGuid, this.buildParameters, this.secretName, this.pvcName, this.jobName, k8s);
|
||||||
|
cloud_runner_logger_1.default.log(`Job spec created`);
|
||||||
yield this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
|
yield this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
|
||||||
cloud_runner_logger_1.default.log(`Build job created`);
|
cloud_runner_logger_1.default.log(`Build job created`);
|
||||||
yield new Promise((promise) => setTimeout(promise, 5000));
|
yield new Promise((promise) => setTimeout(promise, 5000));
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -166,6 +166,7 @@ class Kubernetes implements ProviderInterface {
|
||||||
) {
|
) {
|
||||||
for (let index = 0; index < 3; index++) {
|
for (let index = 0; index < 3; index++) {
|
||||||
try {
|
try {
|
||||||
|
await new Promise((promise) => setTimeout(promise, 5000));
|
||||||
const jobSpec = KubernetesJobSpecFactory.getJobSpec(
|
const jobSpec = KubernetesJobSpecFactory.getJobSpec(
|
||||||
commands,
|
commands,
|
||||||
image,
|
image,
|
||||||
|
|
@ -180,6 +181,7 @@ class Kubernetes implements ProviderInterface {
|
||||||
this.jobName,
|
this.jobName,
|
||||||
k8s,
|
k8s,
|
||||||
);
|
);
|
||||||
|
CloudRunnerLogger.log(`Job spec created`);
|
||||||
await this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
|
await this.kubeClientBatch.createNamespacedJob(this.namespace, jobSpec);
|
||||||
CloudRunnerLogger.log(`Build job created`);
|
CloudRunnerLogger.log(`Build job created`);
|
||||||
await new Promise((promise) => setTimeout(promise, 5000));
|
await new Promise((promise) => setTimeout(promise, 5000));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue