mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-05-31 22:06:16 -07:00
Add generic enterprise-grade features to the orchestrator, enabling Unity projects with complex CI/CD pipelines to adopt game-ci/unity-builder with built-in support for: - CLI provider protocol: JSON-over-stdin/stdout bridge enabling providers in any language (Go, Python, Rust, shell) via the `providerExecutable` input - Submodule profiles: YAML-based selective submodule initialization with glob patterns and variant overlays (`submoduleProfilePath`, `submoduleVariantPath`) - Local build caching: Filesystem-based Library and LFS caching for local builds without external cache actions (`localCacheEnabled`, `localCacheRoot`) - Custom LFS transfer agents: Register external transfer agents like elastic-git-storage (`lfsTransferAgent`, `lfsTransferAgentArgs`, `lfsStoragePaths`) - Git hooks support: Detect and install lefthook/husky with configurable skip lists (`gitHooksEnabled`, `gitHooksSkipList`) Also removes all `orchestrator-develop` branch references, replacing with `main`. 13 new action inputs, 13 new files, 14 new CLI provider tests, 17 submodule tests, plus cache/LFS/hooks unit tests. All 452 tests pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
62 lines
1.8 KiB
YAML
62 lines
1.8 KiB
YAML
name: Async Checks API
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
checksObject:
|
|
description: ''
|
|
required: false
|
|
default: ''
|
|
|
|
permissions:
|
|
checks: write
|
|
|
|
env:
|
|
GKE_ZONE: 'us-central1'
|
|
GKE_REGION: 'us-central1'
|
|
GKE_PROJECT: 'unitykubernetesbuilder'
|
|
GKE_CLUSTER: 'game-ci-github-pipelines'
|
|
GCP_LOGGING: true
|
|
GCP_PROJECT: unitykubernetesbuilder
|
|
GCP_LOG_FILE: ${{ github.workspace }}/orchestrator-logs.txt
|
|
# Commented out: Using LocalStack tests instead of real AWS
|
|
# AWS_REGION: eu-west-2
|
|
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
# AWS_DEFAULT_REGION: eu-west-2
|
|
# AWS_STACK_NAME: game-ci-github-pipelines
|
|
ORCHESTRATOR_BRANCH: ${{ github.ref }}
|
|
ORCHESTRATOR_DEBUG: true
|
|
ORCHESTRATOR_DEBUG_TREE: true
|
|
DEBUG: true
|
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
PROJECT_PATH: test-project
|
|
UNITY_VERSION: 2019.3.15f1
|
|
USE_IL2CPP: false
|
|
|
|
jobs:
|
|
asyncChecks:
|
|
name: Async Checks
|
|
if: github.event.event_type != 'pull_request_target'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- timeout-minutes: 180
|
|
env:
|
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
PROJECT_PATH: test-project
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GIT_PRIVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
TARGET_PLATFORM: StandaloneWindows64
|
|
orchestratorTests: true
|
|
versioning: None
|
|
ORCHESTRATOR_CLUSTER: local-docker
|
|
# Commented out: Using LocalStack tests instead of real AWS
|
|
# AWS_STACK_NAME: game-ci-github-pipelines
|
|
CHECKS_UPDATE: ${{ github.event.inputs.checksObject }}
|
|
run: |
|
|
git clone -b main https://github.com/game-ci/unity-builder
|
|
cd unity-builder
|
|
yarn
|
|
ls
|
|
yarn run cli -m checks-update
|