mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-16 04:56:47 -07:00
Merge remote-tracking branch 'origin/ci/orchestrator-integrity-speedup' into release/lts-infrastructure
# Conflicts: # .github/workflows/orchestrator-integrity.yml # dist/index.js.map
This commit is contained in:
@@ -221,27 +221,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --frozen-lockfile
|
||||||
# ==========================================
|
# =================================== timeout-minutes: 5
|
||||||
# FAST UNIT TESTS (no infra required, fast-fail gate)
|
|
||||||
# ==========================================
|
|
||||||
- name: Run orchestrator unit tests (fast, no infra)
|
|
||||||
timeout-minutes: 2
|
|
||||||
run: >-
|
|
||||||
yarn run test
|
|
||||||
--testPathPattern="orchestrator-guid|orchestrator-folders|task-parameter-serializer|follow-log-stream-service|runner-availability-service|provider-url-parser|provider-loader|provider-git-manager|orchestrator-image|orchestrator-hooks|orchestrator-github-checks"
|
|
||||||
--verbose --detectOpenHandles --forceExit --runInBand
|
|
||||||
# ==========================================
|
|
||||||
# K8S TESTS SECTION
|
|
||||||
# ==========================================
|
|
||||||
- name: Clean up disk space before K8s tests
|
|
||||||
run: |
|
|
||||||
echo "Cleaning up disk space before K8s tests..."
|
|
||||||
rm -rf ./orchestrator-cache/* || true
|
|
||||||
sudo apt-get clean || true
|
|
||||||
docker system prune -f || true
|
|
||||||
df -h
|
|
||||||
- name: Create k3s cluster (k3d)
|
|
||||||
timeout-minutes: 5
|
|
||||||
run: |
|
run: |
|
||||||
LOCALSTACK_IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' localstack-main 2>/dev/null || echo "")
|
LOCALSTACK_IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' localstack-main 2>/dev/null || echo "")
|
||||||
echo "LocalStack container IP: $LOCALSTACK_IP"
|
echo "LocalStack container IP: $LOCALSTACK_IP"
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user