mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-02-02 06:39:05 +08:00
2.0 KiB
2.0 KiB
PR #686 Integration Notes
PR Details
- Title: Fixed AWS to work when no secrets specified
- Author: brian-golfplusvr
- Base: main
- Head: brian-golfplusvr:main
Integration Status: COMPLETE
Changes Applied
-
AWS Secrets Fix ✅
task-definition-formation.ts: Removed hardcodedSecrets:key from templateaws-cloud-formation-templates.ts: AddedSecrets:key togetSecretDefinitionTemplate()function- Result: CloudFormation now works with OR without secrets
-
Clone Depth Parameter ✅
- Added
cloneDepthaction input (default: 50, use 0 for full clone) - Added getter in
cloud-runner-options.ts - Added property in
build-parameters.ts - Updated
remote-client/index.tsto use--depthparameter
- Added
-
Cloud Runner Repo Name ✅
- Added
cloudRunnerRepoNameaction input (default: game-ci/unity-builder) - Added getter in
cloud-runner-options.ts - Added property in
build-parameters.ts - Updated
cloud-runner-folders.tsto use dynamic repo name
- Added
-
Image Rolling Version Type ✅
- Changed
imageRollingVersionfromnumbertostringinimage-tag.ts - Allows dot versions (e.g., "3.1.0")
- Changed
Files Modified
action.yml- Added cloneDepth, cloudRunnerRepoName inputssrc/model/build-parameters.ts- Added propertiessrc/model/cloud-runner/options/cloud-runner-options.ts- Added getterssrc/model/cloud-runner/options/cloud-runner-folders.ts- Dynamic repo URLsrc/model/cloud-runner/remote-client/index.ts- Clone depth parametersrc/model/cloud-runner/providers/aws/cloud-formations/task-definition-formation.ts- Secrets fixsrc/model/cloud-runner/providers/aws/aws-cloud-formation-templates.ts- Secrets fixsrc/model/image-tag.ts- imageRollingVersion type change
Not Applicable (Already in our branch)
- AWS SDK v3 migration (we already have it)
- Additional debug logging (we have better logging)
- Stack wait time config (we already have CLOUD_RUNNER_AWS_STACK_WAIT_TIME)