Commit Graph

279 Commits (8ca921403e810eff4f67995661d91da888b5fe1e)

Author SHA1 Message Date
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
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 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 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
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
Frostebite a760ee803f Include log chunk when task runner sees log update, clarify if we can pull logs from same line or next line 2023-09-23 16:25:25 +01:00
Frostebite b452c2b8f7 Include log chunk when task runner sees log update, clarify if we can pull logs from same line or next line 2023-09-23 16:14:26 +01:00
Toby Harris a13443a746
`manualExit` suppresses `-quit`, useful for buildMethods with async calls (#574)
* `manualExit` suppresses `-quit`, useful for buildMethods with async calls

* Use boolean
2023-09-20 23:41:17 +02:00
Frostebite 6bd6fddf40 hashed logging k8s 2023-09-20 21:11:36 +01:00
Frostebite 368f63e404 hashed logging k8s 2023-09-20 20:33:43 +01:00
Frostebite 51c1da5a82 hashed logging k8s 2023-09-19 17:30:41 +01:00
Frostebite df456df645 hashed logging k8s 2023-09-19 16:37:42 +01:00
Frostebite cc57addcc7 hashed logging k8s 2023-09-18 23:55:33 +01:00
Frostebite c0f9b06f04 hashed logging k8s 2023-09-18 21:32:45 +01:00
Frostebite b0b1cf8a0d k8s reliable log hashing 2023-09-18 19:35:14 +01:00
Frostebite b91e21f29f k8s reliable log hashing 2023-09-18 19:21:44 +01:00
Ely Ronnen 2190fd5667
Support multiple GitHub SSH deploy keys (#568)
* add sshPublicKeysDirectoryPath and GIT_CONFIG_EXTENSIONS parameters that adds git configs and mounts .ssh/config and public keys to the container, in order to allow multiple sh deploy key trick by webplatform@ssh-agent

* remove sshPublicKeysDirectoryPath and GIT_CONFIG_EXTENSIONS from windows runner for now
2023-09-06 23:35:24 +02:00
Webber Takken a073719c29
BREAKING (potentially) - Bump docker version (Ubuntu 22.04 LTS) (#556)
* fix: resolution errors and vulnerability

* feat: bump (major) docker image rolling tag

* chore: bump major version

* fix: up workflow node to lts

* fix: conventions
2023-08-22 10:03:32 +02:00
Frostebite 2e9e9dfb6a Fix path 2023-08-19 22:36:59 +01:00
Frostebite c5580f8a34 Push to steam test 2023-08-19 22:13:54 +01:00
Frostebite b489bd595c Push to steam test 2023-08-19 20:58:14 +01:00
Frostebite c6b0f25f8d check missing log file 2023-08-18 19:23:49 +01:00
Frostebite 499ad8784a check missing log file 2023-08-18 01:58:53 +01:00
Frostebite 2b1e4cb7fd test fix - kubernetes - name typo in github yaml 2023-08-18 00:09:14 +01:00
Frostebite 39392a1578 remove typo - double await 2023-08-17 17:54:20 +01:00
Frostebite eba396b69e no wait, just repeat logs 2023-08-16 00:39:32 +01:00
Frostebite a31896bdeb no wait, just repeat logs 2023-08-15 22:13:24 +01:00
Frostebite 9900a91ede no wait, just repeat logs 2023-08-15 22:03:39 +01:00
Frostebite c658a08c00 hashed logs 2023-08-14 22:35:49 +01:00
Frostebite debe4730fa hashed logs 2023-08-14 22:19:26 +01:00
Frostebite 174bda8060 hashed logs 2023-08-14 19:54:01 +01:00
Frostebite 4225feb1b3 hashed logs 2023-08-14 19:33:59 +01:00
Frostebite 358cf1c399 hashed logs 2023-08-14 19:24:06 +01:00
Frostebite 87c7a1f553 hashed logs 2023-08-14 19:14:28 +01:00
Frostebite 2019e730cb podname logs for log service 2023-08-14 18:59:05 +01:00