Commit Graph

138 Commits (43c11e7f14c92d8d8b97ad4afd5303f9d4ca3878)

Author SHA1 Message Date
Frostebite 43c11e7f14 ci: add reusable cloud-runner-integrity workflow; wire into Integrity; disable legacy pipeline triggers 2025-09-07 02:20:13 +01:00
Frostebite d58c3d6d5f ci: add reusable cloud-runner-integrity workflow; wire into Integrity; disable legacy pipeline triggers 2025-09-07 02:17:28 +01:00
Frostebite d800b1044c ci: add reusable cloud-runner-integrity workflow; wire into Integrity; disable legacy pipeline triggers 2025-09-07 02:05:27 +01:00
Frostebite 4e3546c9bd style: format aws-task-runner.ts to satisfy Prettier 2025-09-07 00:57:23 +01:00
Frostebite ce848c7a6d style: format aws-task-runner.ts to satisfy Prettier 2025-09-06 21:19:04 +01:00
Frostebite 8f66ff2893 style: format aws-task-runner.ts to satisfy Prettier 2025-09-06 20:40:24 +01:00
Frostebite 0876bd4321 style: format aws-task-runner.ts to satisfy Prettier 2025-09-06 19:40:13 +01:00
Frostebite dda7de4882 ci: add reusable cloud-runner-integrity workflow; wire into Integrity; disable legacy pipeline triggers 2025-09-06 03:13:50 +01:00
Frostebite af988e6d2a fix(aws): increase backoff and handle throttling in DescribeTasks/GetRecords 2025-09-06 02:13:31 +01:00
Frostebite f7725a72d6 test(post-build): emit 'Activation successful' to satisfy caching assertions on AWS/K8s 2025-09-06 01:30:38 +01:00
Frostebite c5f2078fcb test(post-build): log CACHE_KEY from remote-cli-post-build to ensure visibility in BuildResults 2025-09-05 22:51:56 +01:00
Frostebite b8c3ad1227 test(caching, retaining): echo CACHE_KEY value into log stream for AWS/K8s visibility 2025-09-05 22:15:52 +01:00
Frostebite 3570d40148 chore(local-docker): guard tree in setupCommands; fallback to ls -la 2025-09-05 19:14:25 +01:00
Frostebite 2d7374bec4 fix(local-docker): normalize CRLF and add tool stubs to avoid exit 127 2025-09-05 17:51:16 +01:00
Frostebite 9e6d69f9f5 fix(local-docker): guard apt-get/tree in debug hook; mirror /data/cache back to for tests 2025-09-05 15:09:44 +01:00
Frostebite 16d1156834 fix(local-docker): mirror /data/cache//{Library,build} placeholders and run post-build to produce cache artifacts 2025-09-05 07:10:31 +01:00
Frostebite 91872a2361 fix(local-docker): ensure /data/cache//build exists and run remote post-build to generate cache tar 2025-09-05 06:55:30 +01:00
Frostebite f06dd86acf fix(local-docker): export GITHUB_WORKSPACE to dockerWorkspacePath; unblock hooks and retained tests 2025-09-05 05:36:31 +01:00
Frostebite c676d1dc4d fix(local-docker): cd into /<projectPath> to avoid retained path; prevents cd failures 2025-09-05 04:13:39 +01:00
Frostebite 4c3d97dcdb fix(local-docker): skip apt-get/toolchain bootstrap and remote-cli log streaming; run entrypoint directly 2025-09-05 03:37:41 +01:00
Frostebite 3de8cac128 fix(post-build): guard cleanup of unique job folder in local CI 2025-09-05 02:23:18 +01:00
Frostebite d8ad8f9a5a fix(post-build): guard cache pushes when Library/build missing or empty (local CI) 2025-09-05 01:55:28 +01:00
Frostebite f00d7c8add fix(ci local): do not run remote-cli-pre-build on non-container provider 2025-09-05 01:26:01 +01:00
Frostebite afdc987ae3 fix 2025-09-05 00:47:59 +01:00
Frostebite 52b79b2a94 refactor(container-hook-service): improve code formatting for AWS S3 commands and ensure consistent indentation 2025-09-05 00:19:02 +01:00
Frostebite 5d0450de7b fix(build-automation-workflow): update log streaming command to use printf for empty input 2025-09-04 23:28:09 +01:00
Frostebite a4a3612fcf test(windows): skip grep tests on win32; logs: echo CACHE_KEY and retained markers; hooks: include AWS S3 hooks on aws provider 2025-09-04 19:15:22 +01:00
Frostebite 962603b7b3 refactor(container-hook-service): improve AWS hook inclusion logic based on provider strategy and credentials; update binary files 2025-09-04 15:35:34 +01:00
Frostebite ec93ad51d9 chore(format): prettier/eslint fix for build-automation-workflow; guard local provider steps 2025-09-04 00:24:28 +01:00
Frostebite c3e0ee6d1a ci(aws): echo CACHE_KEY during setup to ensure e2e sees cache key in logs; tests: retained workspace AWS assertion (#381) 2025-09-04 00:03:42 +01:00
Frostebite f2dbcdf433 style(remote-client): satisfy eslint lines-around-comment; tests: log cache key for retained workspace (#379) 2025-09-03 22:40:52 +01:00
Frostebite c8f881a385 tests: assert BuildSucceeded; skip S3 locally; AWS describeTasks backoff; lint/format fixes 2025-09-03 20:49:52 +01:00
Frostebite eb8b92cda1 Update log output handling in FollowLogStreamService to always append log lines for test assertions 2025-09-03 18:32:27 +01:00
Frostebite 0650d1de5c fix 2025-08-28 06:48:50 +01:00
Frostebite e9a60d4ec8 yarn build 2025-08-18 21:00:23 +01:00
Frostebite 92eaa73a2d fix 2025-06-11 15:56:27 +01:00
Frostebite b662a6fa0e Refactor URL configuration in RemoteClient for token-based authentication
- Updated comments for clarity regarding the purpose of URL configuration changes.
- Simplified the git configuration commands by removing redundant lines while maintaining functionality for HTTPS token-based authentication.
- This change enhances the readability and maintainability of the RemoteClient class's git setup process.
2025-06-10 20:09:34 +01:00
Frostebite 36503e30c0 Update git configuration commands in RemoteClient to ensure robust URL unsetting
- Modified the git configuration commands to append '|| true' to prevent errors if the specified URLs do not exist.
- This change enhances the reliability of the URL clearing process in the RemoteClient class, ensuring smoother execution during token-based authentication setups.
2025-06-10 00:52:48 +01:00
Frostebite 1815c3c880 Refactor git configuration for LFS file pulling with token-based authentication
- Enhanced the process of configuring git to use GIT_PRIVATE_TOKEN and GITHUB_TOKEN by clearing existing URL configurations before setting new ones.
- Improved the clarity of the URL replacement commands for better readability and maintainability.
- This change ensures a more robust setup for pulling LFS files in environments requiring token authentication.
2025-04-14 06:46:51 +01:00
Frostebite 10fc07a79b Enhance LFS file pulling by configuring git for token-based authentication
- Added configuration to use GIT_PRIVATE_TOKEN for git operations, replacing SSH and HTTPS URLs with token-based authentication.
- Improved error handling to ensure GIT_PRIVATE_TOKEN availability before attempting to pull LFS files.
- This change streamlines the process of pulling LFS files in environments requiring token authentication.
2025-04-14 01:37:55 +01:00
Frostebite a1f3d9ecd4 Enhance LFS file pulling with token fallback mechanism
- Implemented a primary attempt to pull LFS files using GIT_PRIVATE_TOKEN.
- Added a fallback mechanism to use GITHUB_TOKEN if the initial attempt fails.
- Configured git to replace SSH and HTTPS URLs with token-based authentication for the fallback.
- Improved error handling to log specific failure messages for both token attempts.

This change ensures more robust handling of LFS file retrieval in various authentication scenarios.
2025-04-13 18:49:33 +01:00
Matheus Costa 81ed299e10
Feat/migrate aws sdk v3 (#698)
* chore(cloud-runner): migrate/replace deps aws-sdk v2 to v3

* chore(aws): refactor aws services to support SDK v3

* chore(aws): refactor aws runner to support SDK v3

* chore(aws): update dist

* fix(aws): error handling wrap try/catch to avoid unhandled promise rejections.

* fix(aws): keeping the syntax simpler for arrays
2025-04-10 22:48:14 +02:00
Michael Buhler 9d6bdcbdc5
feat: add `buildProfile` parameter (#685)
* feat: add `buildProfile` parameter

add new `buildProfile` action param, which will be passed into
Unity as the `-activeBuildProfile ...` CLI param.

closes https://github.com/game-ci/unity-builder/issues/674

* ci: add tests for Unity 6 and build profiles
2025-02-17 11:41:38 -06:00
Egorrko 3ae9ec8536
Update @actions/cache and @actions/core to support actions/upload-artifact: v4 dependency (#688)
* Bump versions of @actions/cache, @actions/core to support actions/upload-artifact: v4 dependency. Bump version actions/upload-artifact in repo actions.

* Add UNITY_LICENSE secret to CI workflows.
2025-02-08 17:14:07 +01:00
Boris Proshin b11b6a6f2c
Fix getVersionDescription() to prioritize version tags over non-version tags (#673)
* Fix getVersionDescription() to prioritize version tags over non-version tags

This fix modifies the getVersionDescription() method to ensure it only considers valid version tags when describing the current version. It retrieves all tags merged into the current branch, filters them based on a version-compatible regex, and uses the most recent valid version tag for description. If no valid tags are found, it falls back to the default description behavior. This resolves the issue of incorrect tags being used when multiple tags are present.

* Update versioning.ts

Rewrote getting the description for the last valid tag using `rev-list` and `rev-parse`

* Fix formatting

* Revert "dist"

This reverts commit bd58cbedf7.

* Revert "dist"

This reverts commit bd58cbedf7.
2024-10-08 00:06:50 +02:00
Pierre Lataillade f2250e958e
Enable unity licensing server for Windows (#638)
* Enable unity licensing server for windows

* Clarify validating logic with explicit variables
2024-03-26 20:11:33 +01:00
Andrew Kahr dd427466ce
Hotfix: Fix version checking in image-tag (#640)
* Update version check regex and fix tests
2024-03-17 13:33:23 -07:00
Andrew Kahr 0c16aab353
Use capture group to find Unity version to support new 6000 versions (#639) 2024-03-16 21:31:46 -07:00
Szymon Sirocki fc0a52b805
Add 'enableGpu' param, allowing running Unity w/o `-nographics` (#636) 2024-03-07 16:50:30 +01:00
Andrew Kahr f4d2cceeb5
Hotfixes for 4.2.0 (#630)
* Fix mac env variables not getting skip activation

* Fix image tag for linux il2cpp. Force tests to use il2cpp

* Scripting backend is always il2cpp
2024-02-18 19:44:25 -08:00