Commit Graph

609 Commits (f5ba54041b4991684ba82a790d5e0240b286851f)

Author SHA1 Message Date
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 cdbb9e6200 fix 2023-12-22 03:34:33 +00:00
Frostebite 4ade8905c1 fix 2023-12-22 03:27:51 +00:00
Frostebite 5206ee7a3c fix 2023-12-22 02:55:08 +00:00
Frostebite 37339385bd fix 2023-12-21 08:24:09 +00:00
Frostebite 6488cc32d0 fix 2023-12-21 06:30:37 +00:00
Frostebite 1d38f8aa2a fix 2023-12-21 06:14:30 +00:00
Frostebite b595403796 fix 2023-12-21 04:56:16 +00:00
Frostebite dd76efeed2 fix 2023-12-21 04:49:59 +00:00
Frostebite 675443c46c fix 2023-12-21 03:45:27 +00:00
Frostebite b109ad0e3c fix 2023-12-21 03:27:30 +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 c3ec13930c fix 2023-12-21 00:55:21 +00:00
Frostebite 115a9d4f36 fix 2023-12-20 08:53:07 +00:00
Frostebite 328bf4e0ff fix 2023-12-20 01:44:46 +00: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 8ca921403e fix 2023-12-09 20:46:47 +00:00
Frostebite a624d7b8fd fix 2023-12-09 18:56:30 +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
Webber Takken 96cfb845ae
Update CONTRIBUTING.md (#601) 2023-11-25 19:33:36 +01: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 f547cb21ca cleanup async parameter 2023-11-18 17:22:47 +00:00
Frostebite dd13cba2ce cleanup async parameter 2023-11-18 17:20:17 +00: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