Commit Graph

182 Commits (cloud-runner-develop)

Author SHA1 Message Date
Frostebite 464a9d1265
feat: Add dynamic provider loader with improved error handling (#734)
* feat: Add dynamic provider loader with improved error handling

- Create provider-loader.ts with function-based dynamic import functionality
- Update CloudRunner.setupSelectedBuildPlatform to use dynamic loader for unknown providers
- Add comprehensive error handling for missing packages and interface validation
- Include test coverage for successful loading and error scenarios
- Maintain backward compatibility with existing built-in providers
- Add ProviderLoader class wrapper for backward compatibility
- Support both built-in providers (via switch) and external providers (via dynamic import)

* fix: Resolve linting errors in provider loader

- Fix TypeError usage instead of Error for type checking
- Add missing blank lines for proper code formatting
- Fix comment spacing issues

* build: Update built artifacts after linting fixes

- Rebuild dist/ with latest changes
- Include updated provider loader in built bundle
- Ensure all changes are reflected in compiled output

* build: Update built artifacts after linting fixes

- Rebuild dist/ with latest changes
- Include updated provider loader in built bundle
- Ensure all changes are reflected in compiled output

* build: Update built artifacts after linting fixes

- Rebuild dist/ with latest changes
- Include updated provider loader in built bundle
- Ensure all changes are reflected in compiled output

* build: Update built artifacts after linting fixes

- Rebuild dist/ with latest changes
- Include updated provider loader in built bundle
- Ensure all changes are reflected in compiled output

* fix: Fix AWS job dependencies and remove duplicate localstack tests

- Update AWS job to depend on both k8s and localstack jobs
- Remove duplicate localstack tests from k8s job (now only runs k8s tests)
- Remove unused cloud-runner-localstack job from main integrity check
- Fix AWS SDK warnings by using Uint8Array(0) instead of empty string for S3 PutObject
- Rename localstack-and-k8s job to k8s job for clarity

* feat: Implement provider loader dynamic imports with GitHub URL support

- Add URL detection and parsing utilities for GitHub URLs, local paths, and NPM packages
- Implement git operations for cloning and updating repositories with local caching
- Add automatic update checking mechanism for GitHub repositories
- Update provider-loader.ts to support multiple source types with comprehensive error handling
- Add comprehensive test coverage for all new functionality
- Include complete documentation with usage examples
- Support GitHub URLs: https://github.com/user/repo, user/repo@branch
- Support local paths: ./path, /absolute/path
- Support NPM packages: package-name, @scope/package
- Maintain backward compatibility with existing providers
- Add fallback mechanisms and interface validation

* feat: Implement provider loader dynamic imports with GitHub URL support

- Add URL detection and parsing utilities for GitHub URLs, local paths, and NPM packages
- Implement git operations for cloning and updating repositories with local caching
- Add automatic update checking mechanism for GitHub repositories
- Update provider-loader.ts to support multiple source types with comprehensive error handling
- Add comprehensive test coverage for all new functionality
- Include complete documentation with usage examples
- Support GitHub URLs: https://github.com/user/repo, user/repo@branch
- Support local paths: ./path, /absolute/path
- Support NPM packages: package-name, @scope/package
- Maintain backward compatibility with existing providers
- Add fallback mechanisms and interface validation

* feat: Fix provider-loader tests and URL parser consistency

- Fixed provider-loader test failures (constructor validation, module imports)
- Fixed provider-url-parser to return consistent base URLs for GitHub sources
- Updated error handling to use TypeError consistently
- All provider-loader and provider-url-parser tests now pass
- Fixed prettier and eslint formatting issues

* feat: Implement provider loader dynamic imports with GitHub URL support

- Add URL detection and parsing utilities for GitHub URLs, local paths, and NPM packages
- Implement git operations for cloning and updating repositories with local caching
- Add automatic update checking mechanism for GitHub repositories
- Update provider-loader.ts to support multiple source types with comprehensive error handling
- Add comprehensive test coverage for all new functionality
- Include complete documentation with usage examples
- Support GitHub URLs: https://github.com/user/repo, user/repo@branch
- Support local paths: ./path, /absolute/path
- Support NPM packages: package-name, @scope/package
- Maintain backward compatibility with existing providers
- Add fallback mechanisms and interface validation

* feat: Implement provider loader dynamic imports with GitHub URL support

- Add URL detection and parsing utilities for GitHub URLs, local paths, and NPM packages
- Implement git operations for cloning and updating repositories with local caching
- Add automatic update checking mechanism for GitHub repositories
- Update provider-loader.ts to support multiple source types with comprehensive error handling
- Add comprehensive test coverage for all new functionality
- Include complete documentation with usage examples
- Support GitHub URLs: https://github.com/user/repo, user/repo@branch
- Support local paths: ./path, /absolute/path
- Support NPM packages: package-name, @scope/package
- Maintain backward compatibility with existing providers
- Add fallback mechanisms and interface validation

* m

* m
2025-09-13 00:54:21 +01:00
Frostebite bd1be2e474
Cloud runner develop rclone (#732)
* ci(k8s): remove in-cluster LocalStack; use host LocalStack via localhost:4566 for all; rely on k3d host mapping

* ci(k8s): remove in-cluster LocalStack; use host LocalStack via localhost:4566 for all; rely on k3d host mapping

* ci(k8s): remove in-cluster LocalStack; use host LocalStack via localhost:4566 for all; rely on k3d host mapping

* ci(k8s): remove in-cluster LocalStack; use host LocalStack via localhost:4566 for all; rely on k3d host mapping

* ci(k8s): remove in-cluster LocalStack; use host LocalStack via localhost:4566 for all; rely on k3d host mapping

* ci(k8s): remove in-cluster LocalStack; use host LocalStack via localhost:4566 for all; rely on k3d host mapping
2025-09-09 21:25:12 +01:00
Frostebite a0cb4ff559 ci: add reusable cloud-runner-integrity workflow; wire into Integrity; disable legacy pipeline triggers 2025-09-07 22:59:53 +01:00
Frostebite 307a2aa562 ci: add reusable cloud-runner-integrity workflow; wire into Integrity; disable legacy pipeline triggers 2025-09-07 04:21:45 +01:00
Frostebite 94daf5affe ci: add reusable cloud-runner-integrity workflow; wire into Integrity; disable legacy pipeline triggers 2025-09-07 03:30:20 +01:00
Frostebite c2a7091efa ci: add reusable cloud-runner-integrity workflow; wire into Integrity; disable legacy pipeline triggers 2025-09-07 02:32:37 +01:00
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 6e13713bb2 Merge branch 'main' into cloud-runner-develop
# Conflicts:
#	dist/index.js
#	dist/index.js.map
#	jest.config.js
#	yarn.lock
2025-08-18 20:54:05 +01:00
Frostebite a0833df59e fix 2025-06-30 15:46:52 +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
Eric_Lian 9cd9f7e0e7
fix: androidCreateSymbols has been deprecated (#701) 2025-06-08 21:21:32 -05:00
David Finol 0b822c28fb
Update Unity version (#711) 2025-06-08 11:00:16 -04:00
Daniel Lupiañez Casares 65607f9ebb
Adds support for .upmconfig.toml in Windows Docker images (#705)
* Supports github_home in windows-latest

* Attempt at copying from specific volume

* Adding some more logging

* Fix and compiles index.js

* Debugging and some other approach

* Another attempt at debugging

* Testing two more approaches

* Try only copying the file

* Cleanup

* Updates index.js, index.js.map and licenses.txt

After `yarn` + `npm run build`

* Update index.js.map
2025-06-07 16:11:18 -05:00
Daniel Lupiañez Casares a1ebdb7abd
Adds support for VisionOS in UnityHub in macos (#710)
* Adds support for VisionOS in UnityHub in macos

* Adds support for VisionOS in UnityHub in macos

* Syncs index.js.map
2025-06-07 20:20:18 +02:00