Commit Graph

259 Commits

Author SHA1 Message Date
Frostebite
eb0a426d67 fix 2024-01-30 14:52:40 +00:00
Frostebite
fd181cc087 fix 2024-01-27 13:04:12 +00:00
Frostebite
aaeb1d1947 fix 2024-01-27 12:51:35 +00:00
Frostebite
71f94af18c Merge branch 'main' into cloud-runner-develop
# Conflicts:
#	dist/index.js.map
2024-01-27 01:38:58 +00:00
Andrew Kahr
2800d14403
Fix Windows Arguments Passed to Unity (#623)
* Add missing parameter, add quotes around variables, bump action versions

* Wrap quotes

* Fix upload artifact naming conflict
2024-01-21 02:45:33 -08:00
Frostebite
74ad7d8498 fix 2024-01-19 19:13:17 +00:00
Paul FIGIEL
5ba81971e2
Fixed manualExit option on Mac machines (#619) 2024-01-12 23:41:19 -08:00
Frostebite
c13079a14e fix 2024-01-11 18:08:10 +00:00
Frostebite
0d70b4d6fa fix 2024-01-07 20:27:21 +00:00
Frostebite
f5ba54041b fix 2024-01-07 20:04:36 +00:00
Frostebite
c262c929e4 fix 2024-01-07 19:00:48 +00:00
Frostebite
66947bd933 fix 2024-01-07 18:01:58 +00:00
Frostebite
37de5b229f fix 2024-01-07 17:41:07 +00:00
Frostebite
f9b7a21005 fix 2024-01-07 17:10:23 +00:00
Frostebite
144045f02e fix 2024-01-07 15:26:43 +00:00
Frostebite
c30f58b3ea fix 2024-01-04 11:27:08 +00:00
Frostebite
5206ee7a3c fix 2023-12-22 02:55:08 +00:00
Frostebite
675443c46c fix 2023-12-21 03:45:27 +00:00
Frostebite
6ffa535fbf fix 2023-12-21 02:35:44 +00:00
Frostebite
3592835a3e fix 2023-12-21 02:23:08 +00:00
Frostebite
94c92620fa fix 2023-12-21 02:06:56 +00:00
Frostebite
557c799e84 fix 2023-12-21 02:04:29 +00:00
Frostebite
6dd49d6f9a fix 2023-12-21 01:45:08 +00:00
Frostebite
5133a0bcd7 fix 2023-12-21 01:25:18 +00:00
Frostebite
328bf4e0ff fix 2023-12-20 01:44:46 +00:00
Andrew Kahr
ff23166e30
Parity Fixes with Test Runner (QOL Changes) (#607)
* Fix missed directory change that isn't used anymore

* Fixes, improvements, and cleanup while reconciling test runner scripts

* Additional cleanup

* Fix possible hang

* Don't mislead with activation server on windows

* Update node version
2023-12-12 22:10:57 -08:00
Frostebite
b4a6b75d2f fix 2023-12-11 03:00:49 +00:00
Frostebite
51919eb89f Merge commit '9406bce8755d1903fa423d9b39de091ae2875506' into cloud-runner-develop 2023-12-11 00:48:48 +00:00
Frostebite
5d52c1d356 fix 2023-12-10 01:50:52 +00:00
Frostebite
41f1f8bd29 fix 2023-12-09 18:29:09 +00:00
Frostebite
bd3de93524 fix 2023-12-09 04:51:39 +00:00
Andrew Kahr
9406bce875
Search legacy path for android sdkmanager. Add 2023.2 to tests (#606) 2023-12-07 22:13:03 -08:00
Frostebite
e9336d7511 fixes 2023-12-06 01:42:33 +00:00
Frostebite
b14cc24bd7 latest main merged 2023-12-01 18:07:14 +00:00
Andrew Kahr
bbd713b05a
Fix pro activation (#602)
- Only randomize uuid for personal licenses
- Add warning annotation for license activation retries
- add `engineExitCode` output
- repo/code cleanup
2023-11-27 23:24:58 -08:00
Andrew Kahr
8ca1282c9e
Allow Running Container as Runner Host User (#600)
- Added `runAsHostUser` to allow running the container as the same user as the host system. This fixes most permissions issues on self-hosted runners.
- Perform android sdk setup during entrypoint.sh to ensure it has root permissions if the user switches to a non-root user
- Automatically detect android sdk target version if parameters are not already provided to configure the sdk
- Generate a new uuid for machineID to ensure separate containers are unique to reduce license activation errors
- Add exponential retry strategy for Ubuntu license activations
2023-11-24 23:24:16 -08:00
Frostebite
e296ef2dc1 cleanup async parameter 2023-11-18 17:16:26 +00:00
Frostebite
df4cc41418 fixes 2023-11-18 17:13:07 +00:00
Andrew Kahr
8da77ace98
Ensure blank project files can be deleted by github runner (#599) 2023-11-16 07:36:39 -08:00
Andrew Kahr
2afd9cd86f
Additional Fixes and Improvements (#596)
- Windows now exits with the proper exit codes. This mirrors Ubuntu behavior properly now and means we do not need the error parsing logic to handle error conditions which means we should be back to v2 behavior.
- Allow customizing image registry/image version
- Only create the licensing directory on Mac if it doesn't already exist. Don't delete the folder on build complete. This means builds nominally shouldn't need sudo permissions, very useful for self-hosted runners.
- Pick correct architecture when installing macos editor to support both x86 and arm-based systems (Credit @dcvz)
2023-11-15 06:17:55 -08:00
Andrew Kahr
caa0a81b47
License Activation fixes and Github Annotations (#590)
* Ensure serial is prioritized

* Add compile listener to create github annotations

* Update node modules

* Don't build ubuntu on PR as secrets are now needed. Update PR template to request an example successful run. Remove 32bit windows build. Build on push to any branch

* Update activation to use blank project

* Ensure exceptions get annotated as well

* More robust console printing

* Update test project

* Build iOS test on macos to verify burst functionality. Add annotation for license activation error. Fix unity version test. Remove minification from android

* Improve license checks

* Mask partially redacted serial in addition to full serial

* Add retry logic to ubuntu builds

* Allow dirty build on retry

* Bump unity version
2023-11-12 05:47:03 -08:00
Andrew Kahr
7afabe74da
Additional Windows Image Updates (#589)
* Update workflows, bump image version for docker

* Fix Unity pathing and cleanup scripts

* Fix Unity pathing

* Fix activation scripts
2023-10-30 23:55:39 -07:00
Andrew Kahr
4c4611c021
Feature/windows upgrades (#588)
- Allow updating container memory and cpu limits for Windows. Previously, they defaulted to 1cpu and 1gb ram which was far too low and it seems docker wouldn't allocate all available resources. Now it will use all available cores and 80% of system memory.
- Allow setting docker isolation mode for windows. Defaults to default to ensure behavior doesn't change from prior versions but now you can do stuff like force process mode on non-server versions which grants a performance uplift during runs
- Added logic to allow building Android on Windows. Android doesn't support burst when built on Linux, only on Windows and macOS. Thus we need to allow building Android on WIndows due to the major performance benefits of Burst.
- Support Windows 2022 and VS2022 by mounting the x64 Visual Studio path in addition to the x86 path to maintain compatibility with VS2019 and older
- Attempted fixes for windows builds hanging by killing the regsvr32 process after registering VS dll and using a different method to launch Unity. Unsure if this is a definite fix so I am leaving in several debug calls to print out running processes so we have more data to work with on chasing down this bug. I suspect there's a process that's hanging around that isn't cleaning itself up or is getting into some kind of deadlock situation and needs to be killed. But the changes I've made have seen no hangs on building during docker test workflows when previously there would be at least 3-5 hanging builds.
2023-10-28 12:21:10 -07:00
Ely Ronnen
6419c8742b
fix android sdkmanager invocation (#582)
Fix "java.lang.NoClassDefFoundError:
javax/xml/bind/annotation/XmlSchema" error caused by invoking the wrongf
sdkmanager script
2023-10-24 09:52:12 -05:00
Frostebite
4b072164b5 Interrupt k8s logs when logs found 2023-10-02 23:58:34 +01:00
Frostebite
9cb82940fb hash comparison logging for log complete in k8s flow 2023-10-02 23:48:00 +01:00
Frostebite
6c6866f27e Fix exit flow for k8s job 2023-09-28 18:59:48 +01:00
Frostebite
534c94e159 Include log chunk when task runner sees log update, clarify if we can pull logs from same line or next line 2023-09-25 18:26:32 +01:00
Frostebite
f563b8c810 Include log chunk when task runner sees log update, clarify if we can pull logs from same line or next line 2023-09-25 18:04:33 +01:00
Frostebite
5631a3b301 Include log chunk when task runner sees log update, clarify if we can pull logs from same line or next line 2023-09-24 14:57:44 +01:00