Commit Graph

126 Commits (6dbb6e8ccb34463f6a9ac1219df122c861720f1f)

Author SHA1 Message Date
Frostebite 07ea45bd83 Remove bin/sh from command 2021-06-06 03:40:01 +01:00
Frostebite 792dbec1a5 Log stream attempt #3 - get podname 2021-06-06 03:28:42 +01:00
Frostebite 464e5f0caa Log stream attempt #2 2021-06-06 03:01:49 +01:00
Frostebite 926e500b89 Run build with input commands 2021-05-28 23:47:20 +01:00
Frostebite 34ee8bde5f Run build with input commands 2021-05-28 21:31:43 +01:00
Frostebite fce88635b8 Run build with input commands 2021-05-28 21:20:04 +01:00
Frostebite 821b9eeddf Run build with input commands 2021-05-28 21:03:41 +01:00
Frostebite 148569023b Catch errors and always cleanup 2021-05-28 20:38:12 +01:00
Frostebite bec61120bd Test include: more recent log dates 2021-05-28 20:29:08 +01:00
Frostebite 0ae8dc9a20 cleanup 2021-05-28 20:27:39 +01:00
Frostebite 6dc4d12ac5 Previous pod logs included for fast completion scenarios 2021-05-28 20:10:00 +01:00
Frostebite ec58c24ea7 fix logging 2021-05-28 19:58:43 +01:00
Frostebite caeeeb4573 fix logging 2021-05-28 19:44:47 +01:00
Frostebite e8a987ea7e Higher default CPU, lower default memory 2021-05-28 19:24:36 +01:00
Frostebite ecd865f092 Delete PVC 2021-05-28 18:57:05 +01:00
Frostebite 1051a8c125 error handling 2021-05-28 18:54:54 +01:00
Frostebite 292f787c26 remove logs 2021-05-28 18:51:29 +01:00
Frostebite 7c7f996432 longer poll interval 2021-05-28 18:46:22 +01:00
Frostebite 3d6ce570a0 polling logs from kubernetes api with pollInterval 2021-05-28 18:39:20 +01:00
Frostebite c281250358 polling logs from kubernetes api 2021-05-28 18:37:30 +01:00
Frostebite d8ea2bd701 log stream from k8s http api 2021-05-24 23:10:03 +01:00
Frostebite afb7c16348 log stream from k8s http api 2021-05-24 22:18:46 +01:00
Frostebite cc45b2d8bf log stream from k8s http api 2021-05-24 21:54:41 +01:00
Frostebite 5dab3928b9 log stream from k8s http api 2021-05-24 16:41:44 +01:00
Frostebite 7be71eba31 log stream from k8s http api 2021-05-24 16:13:11 +01:00
Frostebite c96560b9c5 log stream from k8s http api 2021-05-24 15:06:44 +01:00
Frostebite e75427a6be log stream from k8s http api 2021-05-24 15:01:23 +01:00
Frostebite 1d4028c426 logging improvement 2021-05-23 23:19:04 +01:00
Frostebite 7995193cd8 logging improvement 2021-05-23 23:12:39 +01:00
Frostebite 85cfaadc14 stop logging job creation results 2021-05-23 22:58:03 +01:00
Frostebite 46afe94364 read container by name 2021-05-23 22:55:53 +01:00
Frostebite 3289d95fb1 log container state 2021-05-23 22:43:48 +01:00
Frostebite f7fa00bbed log container state 2021-05-23 22:31:59 +01:00
Frostebite c9cb010cfa log container state 2021-05-23 22:26:18 +01:00
Frostebite fe370d44d8 abstract out generateBuildName to RemoteBuilderNamespace 2021-05-23 22:24:26 +01:00
Frostebite 41534d2ec6 follow logs 2021-05-23 22:15:16 +01:00
Frostebite f058aabb4f follow logs 2021-05-23 22:07:48 +01:00
Frostebite 6136d05e28 follow logs 2021-05-23 22:00:50 +01:00
Frostebite 645ce0ff06 follow logs 2021-05-23 21:37:51 +01:00
Frostebite 0bc5cf2adb follow logs 2021-05-23 21:28:28 +01:00
Frostebite fd9e9d058a follow logs 2021-05-23 21:02:39 +01:00
Frostebite 968a9190d6 follow logs 2021-05-23 17:38:44 +01:00
Frostebite 729c7ce14f copy from correct directory 2021-05-23 17:22:58 +01:00
Frostebite 0b5a3d8c6a copy from correct directory 2021-05-23 17:19:18 +01:00
Frostebite 7f78ead03a adding logs 2021-05-23 17:15:21 +01:00
Frostebite 06549368d9 adding logs 2021-05-23 17:07:30 +01:00
Frostebite 013e54aa7c k8s full refactoring to simpler and better api client 2021-05-23 16:08:32 +01:00
Frostebite 5929a988d3 k8s refactoring started, new k8s api client 2021-05-23 15:26:57 +01:00
Frostebite 356f79e94a Get GKE cluster credentials directly 2021-05-23 14:31:02 +01:00
Frostebite ec1e4a4733 Add @kubernetes/client-node 2021-05-23 14:11:06 +01:00
Frostebite a6d9115e7e Use build path for steam deploy input ROOT PATH 2021-05-23 14:07:07 +01:00
Frostebite eb482957db ls contents of compression step 2021-05-23 14:03:29 +01:00
Frostebite c96b8cf443
Remote builder refactoring (#264)
Remote builder refactoring
2021-05-23 05:08:40 +01:00
Webber Takken 9fff362775
Remove -nographics flag, ensure single -batchmode flag (#261)
* Remove -nographics flag, ensure -batchmode

* Remove explicit batch mode

* Add libnotify4 and bin for notify-send

* non-interactive frontend

* Move docker changes to base image (docker repo)
2021-05-22 21:07:54 +02:00
Zhou Xinwei f0e18ea3a5
Fixed addressable build failing on Addressable 1.17.17+ (#262) 2021-05-20 17:51:54 +02:00
Webber Takken a5de621fe2
Ensure proper read permissions and cleanup build.sh (#259)
* Add linux read permissions and cleanup build.sh

* More verbose dirty branch

* Simplify added verbosity
2021-05-10 01:08:53 +02:00
Gaeel Bradshaw-Rodriguez e31af20466
Chown files to a custom user after building (fix file ownership) (#250)
* Chown files to a custom user after building

* Better describe `chownFilesTo` input

As suggested by @webbertakken: https://github.com/game-ci/unity-builder/pull/250#discussion_r624575666

Co-authored-by: Webber Takken <webber@takken.io>

* Simplify chown step in `build.sh`

Co-authored-by: Webber Takken <webber@takken.io>

Co-authored-by: Webber Takken <webber@takken.io>
2021-05-02 01:23:15 +02:00
Frostebite a1f68ab26c hotfix - use input parameter instead of env var 2021-05-01 22:26:06 +01:00
David Finol 7e7938581c
Closes #243 (#249) 2021-04-23 17:30:09 -05:00
Frostebite 501c67e40c
Implement AWS Fargate support [Large build support] (#246)
* Implement AWS Fargate support

* Update aws-tests workflow to include aws-ts-clean

* support remoteBuildCpu and remoteBuildContainer parameters for aws

* Syntax fix

* remove package-lock add yarn.lock

* yarn lock

* if: github.event.pull_request.draft == false

Co-authored-by: mdugdale <mark.dugdale@bossastudios.com>
2021-04-20 22:46:37 +02:00
Webber Takken 398eda622f
Add Discord link in issues (#239) 2021-04-03 12:30:00 +02:00
Sakari Bergen 8419046c0f
Fix build script for Unity 2018, by using reflection instead of version defines (#238) 2021-04-02 11:11:56 +02:00
Sakari Bergen 224f973562
Run default addressables build conditionally (#231)
* Add asmdef and Addressable content build in the builder

* Move asmdef content into its own directory

* Mark UnityBuilderAction as Editor-only
2021-03-19 18:50:39 +01:00
Webber Takken 4fde4e47b6
Refactor action to typescript (#226)
* Refactor to typescript (config part)

* Refactor to typescript (convert extensions, minor fixes)

* Refactor to typescript (move from `action` to `dist`)

* Re-enable integrity-check for dist index.js

* Fix all tests and lints

* fix parsing major versions

* Test patch level to be digits only

* debug

* debug

* uncache

* manual compile

* debug

* debug

* Debug

* Build lib - doh

* remove diff check

* Make kubernetes workflow manual

* Properly generate 3 digit for simple major tags

* Remove ts-ignore

* re-enable cache
2021-03-14 00:44:01 +01:00
Webber 2166833f11 Create builder folder for docker + bootstrap combo 2020-01-11 01:06:22 +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 5952e3d2f6 Fix build path 2020-01-06 23:32:50 +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 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
Webber 0130f1d603 Fix tag 2019-12-22 22:43:47 +01:00
Webber 454ff6054c Set build args for container 2019-12-22 22:43:47 +01:00
Webber dccdec9d3b Bootstrap docker from js 2019-12-22 22:43:47 +01:00
Webber 0bb0dbd7be Package to dist folder using @zeit/ncc 2019-12-22 22:43:47 +01:00