Skip to content

Commit 9d47543

Browse files
frostebiteclaude
andauthored
Rename Cloud Runner to Orchestrator (game-ci#775)
* Rename "Cloud Runner" to "Orchestrator" across entire codebase Breaking change: All CloudRunner classes, options, environment variables, and action.yml inputs have been renamed to Orchestrator equivalents. - Renamed src/model/cloud-runner/ directory to src/model/orchestrator/ - Renamed all cloud-runner-* files to orchestrator-* - Renamed all CloudRunner* classes to Orchestrator* (15+ classes) - Renamed all cloudRunner* properties to orchestrator* equivalents - Renamed CLOUD_RUNNER_* env vars to ORCHESTRATOR_* - Updated action.yml [CloudRunner] markers to [Orchestrator] - Updated workflow files and package.json test scripts - Updated all runtime strings (cache paths, log messages, branch refs) - Rebuilt dist/index.js No backward compatibility layer is provided. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Remove tracked log/temp files and add to .gitignore Remove $LOG_FILE and temp/job-log.txt debug artifacts that should not be in the repository. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f3849ee commit 9d47543

117 files changed

Lines changed: 10392 additions & 10381 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/integrity-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- run: yarn build || { echo "build command should always succeed" ; exit 61; }
3333
# - run: yarn build --quiet && git diff --quiet dist || { echo "dist should be auto generated" ; git diff dist ; exit 62; }
3434

35-
cloud-runner:
36-
name: Cloud Runner Integrity
37-
uses: ./.github/workflows/cloud-runner-integrity.yml
35+
orchestrator:
36+
name: Orchestrator Integrity
37+
uses: ./.github/workflows/orchestrator-integrity.yml
3838
secrets: inherit

.github/workflows/cloud-runner-async-checks.yml renamed to .github/workflows/orchestrator-async-checks.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ env:
1818
GKE_CLUSTER: 'game-ci-github-pipelines'
1919
GCP_LOGGING: true
2020
GCP_PROJECT: unitykubernetesbuilder
21-
GCP_LOG_FILE: ${{ github.workspace }}/cloud-runner-logs.txt
21+
GCP_LOG_FILE: ${{ github.workspace }}/orchestrator-logs.txt
2222
# Commented out: Using LocalStack tests instead of real AWS
2323
# AWS_REGION: eu-west-2
2424
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
2525
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
2626
# AWS_DEFAULT_REGION: eu-west-2
2727
# AWS_STACK_NAME: game-ci-github-pipelines
28-
CLOUD_RUNNER_BRANCH: ${{ github.ref }}
29-
CLOUD_RUNNER_DEBUG: true
30-
CLOUD_RUNNER_DEBUG_TREE: true
28+
ORCHESTRATOR_BRANCH: ${{ github.ref }}
29+
ORCHESTRATOR_DEBUG: true
30+
ORCHESTRATOR_DEBUG_TREE: true
3131
DEBUG: true
3232
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
3333
PROJECT_PATH: test-project
@@ -47,14 +47,14 @@ jobs:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
GIT_PRIVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
TARGET_PLATFORM: StandaloneWindows64
50-
cloudRunnerTests: true
50+
orchestratorTests: true
5151
versioning: None
52-
CLOUD_RUNNER_CLUSTER: local-docker
52+
ORCHESTRATOR_CLUSTER: local-docker
5353
# Commented out: Using LocalStack tests instead of real AWS
5454
# AWS_STACK_NAME: game-ci-github-pipelines
5555
CHECKS_UPDATE: ${{ github.event.inputs.checksObject }}
5656
run: |
57-
git clone -b cloud-runner-develop https://github.com/game-ci/unity-builder
57+
git clone -b orchestrator-develop https://github.com/game-ci/unity-builder
5858
cd unity-builder
5959
yarn
6060
ls

.github/workflows/cloud-runner-integrity.yml renamed to .github/workflows/orchestrator-integrity.yml

Lines changed: 122 additions & 122 deletions
Large diffs are not rendered by default.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ lib/
55
.vsconfig
66
yarn-error.log
77
.orig
8+
$LOG_FILE
9+
temp/

action.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ inputs:
104104
gitPrivateToken:
105105
required: false
106106
default: ''
107-
description: '[CloudRunner] Github private token to pull from github'
107+
description: '[Orchestrator] Github private token to pull from github'
108108
githubOwner:
109109
required: false
110110
default: ''
111-
description: '[CloudRunner] GitHub owner name or organization/team name'
111+
description: '[Orchestrator] GitHub owner name or organization/team name'
112112
runAsHostUser:
113113
required: false
114114
default: 'false'
@@ -149,101 +149,101 @@ inputs:
149149
allowDirtyBuild:
150150
required: false
151151
default: ''
152-
description: '[CloudRunner] Allows the branch of the build to be dirty, and still generate the build.'
152+
description: '[Orchestrator] Allows the branch of the build to be dirty, and still generate the build.'
153153
postBuildSteps:
154154
required: false
155155
default: ''
156156
description:
157-
'[CloudRunner] run a post build job in yaml format with the keys image, secrets (name, value object array),
157+
'[Orchestrator] run a post build job in yaml format with the keys image, secrets (name, value object array),
158158
command string'
159159
preBuildSteps:
160160
required: false
161161
default: ''
162162
description:
163-
'[CloudRunner] Run a pre build job after the repository setup but before the build job (in yaml format with the
163+
'[Orchestrator] Run a pre build job after the repository setup but before the build job (in yaml format with the
164164
keys image, secrets (name, value object array), command line string)'
165165
containerHookFiles:
166166
required: false
167167
default: ''
168168
description:
169-
'[CloudRunner] Specify the names (by file name) of custom steps to run before or after cloud runner jobs, must
169+
'[Orchestrator] Specify the names (by file name) of custom steps to run before or after orchestrator jobs, must
170170
match a yaml step file inside your repo in the folder .game-ci/steps/'
171171
customHookFiles:
172172
required: false
173173
default: ''
174174
description:
175-
'[CloudRunner] Specify the names (by file name) of custom hooks to run before or after cloud runner jobs, must
175+
'[Orchestrator] Specify the names (by file name) of custom hooks to run before or after orchestrator jobs, must
176176
match a yaml step file inside your repo in the folder .game-ci/hooks/'
177177
customCommandHooks:
178178
required: false
179179
default: ''
180-
description: '[CloudRunner] Specify custom commands and trigger hooks (injects commands into jobs)'
180+
description: '[Orchestrator] Specify custom commands and trigger hooks (injects commands into jobs)'
181181
customJob:
182182
required: false
183183
default: ''
184184
description:
185-
'[CloudRunner] Run a custom job instead of the standard build automation for cloud runner (in yaml format with the
185+
'[Orchestrator] Run a custom job instead of the standard build automation for orchestrator (in yaml format with the
186186
keys image, secrets (name, value object array), command line string)'
187187
awsStackName:
188188
default: 'game-ci'
189189
required: false
190-
description: '[CloudRunner] The Cloud Formation stack name that must be setup before using this option.'
190+
description: '[Orchestrator] The Cloud Formation stack name that must be setup before using this option.'
191191
providerStrategy:
192192
default: 'local'
193193
required: false
194194
description:
195-
'[CloudRunner] Either local, k8s or aws can be used to run builds on a remote cluster. Additional parameters must
195+
'[Orchestrator] Either local, k8s or aws can be used to run builds on a remote cluster. Additional parameters must
196196
be configured.'
197197
resourceTracking:
198198
default: 'false'
199199
required: false
200-
description: '[CloudRunner] Enable resource tracking logs for disk usage and allocation summaries.'
200+
description: '[Orchestrator] Enable resource tracking logs for disk usage and allocation summaries.'
201201
containerCpu:
202202
default: ''
203203
required: false
204-
description: '[CloudRunner] Amount of CPU time to assign the remote build container'
204+
description: '[Orchestrator] Amount of CPU time to assign the remote build container'
205205
containerMemory:
206206
default: ''
207207
required: false
208-
description: '[CloudRunner] Amount of memory to assign the remote build container'
208+
description: '[Orchestrator] Amount of memory to assign the remote build container'
209209
readInputFromOverrideList:
210210
default: ''
211211
required: false
212-
description: '[CloudRunner] Comma separated list of input value names to read from "input override command"'
212+
description: '[Orchestrator] Comma separated list of input value names to read from "input override command"'
213213
readInputOverrideCommand:
214214
default: ''
215215
required: false
216216
description:
217-
'[CloudRunner] Extend game ci by specifying a command to execute to pull input from external source e.g cloud
217+
'[Orchestrator] Extend game ci by specifying a command to execute to pull input from external source e.g cloud
218218
provider secret managers'
219219
kubeConfig:
220220
default: ''
221221
required: false
222222
description:
223-
'[CloudRunner] Supply a base64 encoded kubernetes config to run builds on kubernetes and stream logs until
223+
'[Orchestrator] Supply a base64 encoded kubernetes config to run builds on kubernetes and stream logs until
224224
completion.'
225225
kubeVolume:
226226
default: ''
227227
required: false
228-
description: '[CloudRunner] Supply a Persistent Volume Claim name to use for the Unity build.'
228+
description: '[Orchestrator] Supply a Persistent Volume Claim name to use for the Unity build.'
229229
kubeStorageClass:
230230
default: ''
231231
required: false
232232
description:
233-
'[CloudRunner] Kubernetes storage class to use for cloud runner jobs, leave empty to install rook cluster.'
233+
'[Orchestrator] Kubernetes storage class to use for orchestrator jobs, leave empty to install rook cluster.'
234234
kubeVolumeSize:
235235
default: '5Gi'
236236
required: false
237-
description: '[CloudRunner] Amount of disc space to assign the Kubernetes Persistent Volume'
237+
description: '[Orchestrator] Amount of disc space to assign the Kubernetes Persistent Volume'
238238
cacheKey:
239239
default: ''
240240
required: false
241-
description: '[CloudRunner] Cache key to indicate bucket for cache'
241+
description: '[Orchestrator] Cache key to indicate bucket for cache'
242242
watchToEnd:
243243
default: 'true'
244244
required: false
245245
description:
246-
'[CloudRunner] Whether or not to watch the build to the end. Can be used for especially long running jobs e.g
246+
'[Orchestrator] Whether or not to watch the build to the end. Can be used for especially long running jobs e.g
247247
imports or self-hosted ephemeral runners.'
248248
cacheUnityInstallationOnMac:
249249
default: 'false'
@@ -272,12 +272,12 @@ inputs:
272272
cloneDepth:
273273
default: '50'
274274
required: false
275-
description: '[CloudRunner] Specifies the depth of the git clone for the repository. Use 0 for full clone.'
276-
cloudRunnerRepoName:
275+
description: '[Orchestrator] Specifies the depth of the git clone for the repository. Use 0 for full clone.'
276+
orchestratorRepoName:
277277
default: 'game-ci/unity-builder'
278278
required: false
279279
description:
280-
'[CloudRunner] Specifies the repo for the unity builder. Useful if you forked the repo for testing, features, or
280+
'[Orchestrator] Specifies the repo for the unity builder. Useful if you forked the repo for testing, features, or
281281
fixes.'
282282

283283
outputs:

0 commit comments

Comments
 (0)