Commit Graph

275 Commits (fc92fb07b925b0b7c38313ea8710f1f2b4df7952)

Author SHA1 Message Date
Frostebite 38525bbc33 Kinesis buffer to string 2021-02-07 16:35:40 +00:00
Frostebite b5a399ba08 Better log message for build job resource creation 2021-02-07 16:33:47 +00:00
Frostebite 00c3867cad to utf8 string logs 2021-02-07 16:30:46 +00:00
Frostebite f5f1b836b1 check for empty kinesis stream 2021-02-07 16:26:34 +00:00
Frostebite 4fee759b56 check for empty kinesis stream 2021-02-07 16:24:06 +00:00
Frostebite 09cd80825e Consume kinesis logs while task is RUNNING status 2021-02-07 16:11:44 +00:00
Frostebite 31a35f9677 Consume kinesis logs while task is RUNNING status 2021-02-07 16:03:25 +00:00
Frostebite 93ee50cb1e Consume kinesis logs while task is RUNNING status 2021-02-07 16:00:59 +00:00
Frostebite 07051a9c9a Consume kinesis logs while task is RUNNING status 2021-02-07 15:59:57 +00:00
Frostebite 6f6177a915 Consume kinesis logs while task is RUNNING status 2021-02-07 15:57:43 +00:00
Frostebite e036cd6b77 Consume kinesis logs while task is RUNNING status 2021-02-07 15:53:59 +00:00
Frostebite 6aec635bd4 Consume kinesis logs while task is RUNNING status 2021-02-07 15:48:22 +00:00
Frostebite aca1ff1974 unique task def per job 2021-02-07 15:42:15 +00:00
Frostebite d9f30b747b unique task def per job 2021-02-07 15:27:24 +00:00
Frostebite f2b1df719a unique task def per job 2021-02-07 14:37:59 +00:00
Frostebite cc58b23bb4 unique task def per job 2021-02-07 14:33:42 +00:00
Frostebite e4e55fb27c unique task def per job 2021-02-07 02:14:58 +00:00
Frostebite 7fa2e0b7f7 unique task def per job 2021-02-07 02:12:46 +00:00
Frostebite 83596d67c2 unique task def per job 2021-02-07 02:08:17 +00:00
Frostebite f3911a785e unique task def per job 2021-02-07 00:58:11 +00:00
Frostebite db0096619c unique task def per job 2021-02-07 00:45:33 +00:00
Frostebite 17455cc5ea unique task def per job 2021-02-07 00:43:46 +00:00
Frostebite b64816eed9 unique task def per job 2021-02-07 00:37:34 +00:00
Frostebite eb1d5c995d try/catch aws logging errors 2021-02-05 23:49:14 +00:00
Frostebite cbb6a9c8b8 try/catch aws logging errors 2021-02-05 23:44:56 +00:00
Frostebite 4bdad18f86 Using region from aws configuration 2021-02-05 23:38:13 +00:00
Frostebite 5bf4de18ce Git clone task 2021-02-05 23:33:28 +00:00
Frostebite 8cf32b1638 Configuring stack region 2021-02-05 23:31:10 +00:00
Frostebite 06dac18b35 Cleanup aws logging 2021-02-05 23:24:01 +00:00
Frostebite 0c952a745e AWS log hose 2021-02-05 23:14:45 +00:00
Frostebite 45f9a907ae Git clone job 2021-01-31 22:11:13 +00:00
Frostebite 120bedc37b starting ws logger and logging task description 2021-01-31 21:54:12 +00:00
Frostebite 99cebf2d68 starting ws logger and logging task description 2021-01-31 21:53:23 +00:00
Frostebite dfb0e56cec starting ws logger and logging task description 2021-01-31 21:30:57 +00:00
Frostebite 9271602943 starting ws logger and logging task description 2021-01-31 21:25:04 +00:00
Frostebite 171c38cf30 starting ws logger and logging task description 2021-01-31 21:19:08 +00:00
Frostebite 0670b94615 starting ws logger and logging task description 2021-01-31 21:13:43 +00:00
Frostebite dd8e3854cd starting ws logger and logging task description 2021-01-31 21:10:50 +00:00
Frostebite b4fa730180 Longer poll time for aws logs 2021-01-31 20:45:40 +00:00
Frostebite 8d0b01d5d3 Alphanumeric image name for stack 2021-01-31 20:43:20 +00:00
Frostebite 55d9b343b6 Alphanumeric image name for stack name 2021-01-31 20:30:46 +00:00
Frostebite 39955181dc add task definition cloud formation file 2021-01-31 20:22:36 +00:00
Frostebite 3a03d6908c Configure AWS with action 2021-01-31 20:18:45 +00:00
Frostebite 9d750597a3 AccessKeyId and SecretAccessKey param for aws 2021-01-31 20:14:20 +00:00
Frostebite 4518ecd122 import space 2021-01-31 20:03:11 +00:00
Frostebite 46e52475bb
Update input.js 2021-01-31 19:47:42 +00:00
Frostebite e441431b5e AWS initial commit 2021-01-31 19:22:28 +00:00
David Finol 05b7ccdc04
Remove debug from versioning (#206)
Would like to remove this debug option, as I don't like how it generates many unnecessary warnings, and I don't think it provides any value.
2021-01-26 12:54:07 -06:00
Kai Biermeier 56b9864426
allow versions with -alpha,-rc,-rc.0 .... + don't fail build on version cannot be determined (#196)
Closes #163
2021-01-12 14:50:52 +01:00
David Finol 32acb22fec
Default unityVersion to auto to use ProjectSettings/ProjectVersion.txt (#162) (#188) 2020-12-28 23:36:31 -06:00
David Finol 9707ad7ad5
Convert version major and minor to numbers (#180)
* Convert version major and minor to numbers

* fix linting error

Co-authored-by: Webber Takken <webber@takken.io>
2020-11-18 00:51:10 +01:00
Webber Takken 8eeb848483
add il2cpp support for linux from 2019.3 (#177) 2020-11-14 00:57:44 +01:00
BLaZeKiLL 72ab50499d linux platform added 2020-10-24 13:09:01 +05:30
BLaZeKiLL 9269fba307 image tags updated 2020-10-24 12:13:29 +05:30
BLaZeKiLL dc54ae10a5 Merge branch 'main' of https://github.com/webbertakken/unity-builder into fix/unity-alias 2020-10-22 23:51:43 +05:30
BLaZeKiLL 483b784253 default docker repository updated to new docker repository 2020-10-22 18:24:42 +05:30
Kai Biermeier e6d3daedbe
revert Fix file ownership issues for self-hosted runners. (#141) (#165) 2020-10-22 10:20:12 +02:00
Kai Biermeier 6a53a9e853
Solution proposal to Issue Add `customImage` parameter #150 (#151)
* add customImage attribute

* add one more test for input passing && check for customImage == ''
2020-09-18 18:41:31 +02:00
Forrest Jones 977683cd5f
Add buildVersion as action output (#144) (#145) 2020-08-27 02:24:33 +02:00
xanantis 24e9c186fd
Fix file ownership issues for self-hosted runners. (#141) 2020-08-22 21:28:57 +02:00
xanantis 3ee15170fd
Use RUNNER_TEMP environment variable instead of a hardcoded path (#138) 2020-08-22 17:59:08 +02:00
Benoit Dion 1f8d196ed0
Fix boolean logic (#129) 2020-08-10 16:30:06 +02:00
Frostebite 21634107c1
K8s Feature (#124)
Adds the ability to use a kubernetes container to run builds that are too large for the local machine running the unity-builder. Logs are streamed back during the build. Build results can then be downloaded separately.
2020-08-09 20:27:47 +01:00
dogboydog ec0cde0c85 avoid double logging of git diff 2020-07-09 13:31:51 +02:00
dogboydog 72ff2983a1 test with short max diff lines 2020-07-09 13:31:51 +02:00
dogboydog fdf71758a9 use System.run for logging Git diff 2020-07-09 13:31:51 +02:00
dogboydog 91ec427695 make logging of git diff unconditional, remove parameter 2020-07-09 13:31:51 +02:00
dogboydog 6fb8550919 increase code coverage with versioning.test.js 2020-07-09 13:31:51 +02:00
dogboydog cb913cd286 Initial implementation of logDiffIfDirty 2020-07-09 13:31:51 +02:00
David Finol 6ece6447b2 Add Android Build Settings 2020-07-06 11:53:40 +02:00
Benoit Dion bdc3a88d22 Add input to set version code
Use action input `androidVersionCode` when provided. Generate the androidVersionCode from the version otherwise.
2020-06-25 00:33:25 +02:00
Benoit Dion 1245bfefc8 Fix fork PR builds
Remove hardcoded reference to the `origin` remote and instead implictly use the current commit or ref
2020-06-20 00:59:05 +02:00
Webber f15f40d265 Use head for tags 2020-05-22 23:01:58 +02:00
Webber 866f364f64 Use ref instead of tag vs branch 2020-05-22 23:01:58 +02:00
Webber a245f08e75 rename to throwContextualError 2020-05-22 23:01:58 +02:00
Webber 3718e05961 Describe errors in System.run 2020-05-22 23:01:58 +02:00
Webber 0159028bb1 Fix missing await 2020-05-22 23:01:58 +02:00
Webber 054c6bfab3 Catch command for in-shell errors 2020-05-22 23:01:58 +02:00
Webber 8c9ff3249e More info if command gives no output, just the exit code. 2020-05-22 23:01:58 +02:00
Webber 7386c669ad Fix no output from errors 2020-05-22 23:01:58 +02:00
Webber ce865270c4 Use commit-ish for git description 2020-05-22 23:01:58 +02:00
Webber 7e17091251 Split responsibilities between Input and BuildParameters models 2020-05-22 00:55:26 +02:00
Webber 02ff5bbef2 Add documentation and tests for allowDirtyBuild 2020-05-22 00:55:26 +02:00
Webber 8c177b1bad Add flag for allowing dirty branch 2020-05-22 00:55:26 +02:00
Webber 699621ed21 Run versioning commands in projectPath instead 2020-05-21 14:26:37 +02:00
Webber 44bde7feb9 Base number of commits off of the branch on origin 2020-05-02 16:37:24 +02:00
Webber 5328bda08e Base number of commits off of the branch 2020-05-02 16:37:24 +02:00
Webber 34e4b86924 Fix case where no tags does not trigger false 2020-05-01 20:32:41 +02:00
Webber 2085eff264 Add missing test for ref getters 2020-05-01 17:55:27 +02:00
Webber 98a1b078fc Update styles to latest unicorn 🦄 and prettier 🦋 2020-05-01 17:55:27 +02:00
Webber a0a5de2a83 Cover all versioning paths 2020-05-01 16:15:56 +02:00
Webber c146049b33 Mock all output methods from core 2020-05-01 16:15:56 +02:00
Webber e46399169f Add tests for System model 2020-05-01 16:15:56 +02:00
Webber b41026b36e Introduce smart fetching, based on type of local repo. 2020-05-01 16:15:56 +02:00
Webber cd1d215dfa Remove unshallow fetch 2020-05-01 16:15:56 +02:00
Webber d01e844eea Fix versioning for push event. 2020-05-01 16:15:56 +02:00
Webber 40564afbaf Fix failed test 2020-04-28 02:02:34 +02:00
Webber b6f8040f4a Add tests for the versioning model 2020-04-28 02:02:34 +02:00
Webber f85e50e499 Fix bug in hasAnyVersionTags 🐜 2020-04-26 21:45:10 +02:00
Webber d75d7890d0 Implement versioning strategies in js 🧉 2020-04-26 21:45:10 +02:00
Webber 2e81e61af3 Add additional tests 🧪 2020-04-26 21:45:10 +02:00
Webber 39a160b789 Allow `versioning` and `version` parameters. 2020-04-26 21:45:10 +02:00
litefeel e1eda1e876 Change UNITY_LICENSE_PATH to UNITY_LICENSE_FILE 2020-03-09 23:23:53 +01:00
litefeel 0088ca3094 Add UNITY_LICENSE_PATH 2020-03-09 23:23:53 +01:00
Webber 1c91a3bf31 Fix custom parameters 2020-02-01 21:02:56 +01:00
Webber f3a984165e Rename builder folder to action folder (unity actions convention) 2020-02-01 20:43:49 +01:00
Webber d8896dc4f5 Update references 2020-01-27 23:15:26 +01:00
Webber 4051832dc0 Add some more basic tests 🤷‍♂️ 2020-01-27 23:15:26 +01:00
Webber fe2311ef4b Hint enabling cache if not already enabled. 2020-01-27 23:15:26 +01:00
Webber 7d51d12262 Allow custom parameters 2020-01-27 20:42:52 +01:00
Webber ca2bcea3ad Minor cleanup 2020-01-26 01:34:34 +01:00
Webber 1d1f81c0bb Refactor models to allow for build parameters...
Build parameters have to be parsed because they can no longer be implicitly passed, as they need to be interpreted for detecting extensions.
2020-01-21 00:28:05 +01:00
Dan Vicarel c3b8284b44 docker.js now sets variables for Pro licenses as well 2020-01-12 17:51:45 +01:00
Webber 298c667fc0 Create unique names for builds 2020-01-11 01:06:22 +01:00
Webber 53bec7beb4 Change exit strategy for activation step 2020-01-11 01:06:22 +01:00
Webber a76c6a7321 Forward UNITY_LICENSE var and add all platforms 2020-01-11 01:06:22 +01:00
Webber 18488f9b04 Update scripts reference to Dockerfile 2020-01-11 01:06:22 +01:00
Dan Vicarel af62defecc README now mentions allowed targetPlatform values 2020-01-07 10:07:26 +01:00
Webber c55fc4eecd Properly check whether code is executed from source 2020-01-07 00:21:27 +01:00
Webber 4e59bb0d2a Always use relative path to action runner workspace 2020-01-07 00:21:27 +01:00
Webber 948a53575b Remove console statements 2019-12-22 22:43:47 +01:00
Webber 250a665fce Make version pattern slightly less strict 2019-12-22 22:43:47 +01:00
Webber b4a1f1ab7b Cleanup targetPlatformMap 2019-12-22 22:43:47 +01:00
Webber bafc8e806b Allow builds for all targets 2019-12-22 22:43:47 +01:00
Webber 2ab738c083 Run docker from javascript 2019-12-22 22:43:47 +01:00