Commit Graph

415 Commits (bd677723fde6cdff8edb30bd4d0ee72e88ea17d2)

Author SHA1 Message Date
Frostebite bd677723fd test fix 2022-08-12 19:17:31 +01:00
Frostebite 3fad71572b Cleanup build folder after use 2022-08-12 02:50:11 +01:00
Frostebite 839644736e Fix: watch input 2022-08-11 20:45:15 +01:00
Frostebite 5ed6e400ff Fix: watch input 2022-08-11 20:42:31 +01:00
Frostebite 7e91f32726 Fix: read git branch from project path git repo 2022-08-11 05:08:39 +01:00
Frostebite 24b1c3dbbd Fix: read git branch from project path git repo 2022-08-11 04:55:54 +01:00
Frostebite 0f688d08b8 Fix: read git branch from project path git repo 2022-08-11 04:48:55 +01:00
Frostebite 3e83089881 Fix: read git branch from project path git repo 2022-08-11 04:16:33 +01:00
Frostebite 8ca1e9012b Fix: read git branch from project path git repo 2022-08-11 04:11:46 +01:00
Frostebite 47a13c3787 Fix: read git branch from project path git repo 2022-08-11 03:38:42 +01:00
Frostebite c4ddb44d27 Support for inspect builds 2022-08-11 03:36:53 +01:00
Frostebite efb293b015 Support for inspect builds 2022-08-10 04:59:12 +01:00
Frostebite 294a39ed33 Support for inspect builds 2022-08-10 04:49:04 +01:00
Frostebite 2b4e2c44e1 Support for inspect builds 2022-08-10 04:36:22 +01:00
Frostebite 824f017b0b Cleanup log streaming dependencies to enable cli option 2022-08-02 20:21:46 +01:00
Frostebite 6ffc4c6508 cleanup provider interface to support editor workbench 2022-08-02 20:09:40 +01:00
Frostebite 2b7c589c7b cloud runner options 2022-08-02 20:03:52 +01:00
Frostebite dcbdfba6ad custom hooks and renaming 2022-08-02 19:37:26 +01:00
Frostebite 388a42d514 fix age calculations 2022-08-01 13:06:22 +01:00
Frostebite ebca70b530 merge main 2022-07-27 02:39:25 +01:00
Frostebite 024ea4441c list jobs cli 2022-07-27 02:32:01 +01:00
Frostebite 39b9932526 logs 2022-07-09 20:19:45 +01:00
Frostebite 863163cc43 tar.lz4 2022-07-08 01:43:49 +01:00
Frostebite 777f2fb495 tar.lz4 2022-07-07 23:56:35 +01:00
Frostebite 7f901ae0f1 cloud-runner-preview 2022-07-07 21:41:37 +01:00
Frostebite 84b9dacaa4 cloud runner preview 2022-07-07 21:30:05 +01:00
Frostebite 17faf202fb
Update cloud-runner-pipeline.yml 2022-06-02 22:32:33 +01:00
David Finol 47b25cf3b1
Fixes #409 (#412) 2022-06-01 12:11:32 +02:00
David Finol 36891ec921
Fix missing Android custom keystore (#400) 2022-05-20 18:40:23 -05:00
Frostebite a4c0e7626d
Update cloud-runner-pipeline.yml 2022-05-19 01:58:33 +01:00
Frostebite 8bd51be73f improve cleanup to not delete in use task clusters 2022-05-14 17:29:09 +01:00
Frostebite 1d2c23fdad Merge remote-tracking branch 'origin/main' into cloud-runner-develop 2022-05-14 17:13:02 +01:00
David Finol 2652cb78a7
Fix mac return license (#397) 2022-05-08 06:18:37 -05:00
Frostebite f77696efae
Cloud runner develop v0.1 (#395)
* Correct aws logs link

* Correct aws logs link

* better aws cli commands and better cleanup for aws

* better aws cli commands and better cleanup for aws

* improved garbage collection cli options

* Only allow ephemeral runners when using cloud runner integration tests flag to avoid unexpected hangup

* Only allow ephemeral runners when using cloud runner integration tests flag to avoid unexpected hangup

* fix issue #393

* Extract follow log stream service

* consolidate into one pipeline file

* consolidate into one pipeline file
2022-05-05 00:25:17 +01:00
Frostebite bb9323399f
Merge branch 'main' into cloud-runner-develop 2022-05-02 18:30:16 +01:00
Khalid.Sani 4556fc4ff1
fix: git private token not being set correctly for https (#394) 2022-05-02 17:04:05 +02:00
Frostebite f9492052d8 consolidate into one pipeline file 2022-05-02 09:21:07 +01:00
Frostebite ef19bdf03a consolidate into one pipeline file 2022-05-02 09:19:34 +01:00
Frostebite 16b81cc6c8 Extract follow log stream service 2022-05-02 09:11:29 +01:00
Frostebite 795ae32499 fix issue #393 2022-05-01 20:56:08 +01:00
Frostebite 76fc76bbcd Only allow ephemeral runners when using cloud runner integration tests flag to avoid unexpected hangup 2022-05-01 19:50:29 +01:00
Frostebite 6668e1133e Only allow ephemeral runners when using cloud runner integration tests flag to avoid unexpected hangup 2022-05-01 19:34:48 +01:00
Frostebite a47d096f5c improved garbage collection cli options 2022-05-01 19:32:59 +01:00
Frostebite 606102aae4
Merge branch 'main' into cloud-runner-develop 2022-05-01 18:16:23 +01:00
Frostebite fc3724600e better aws cli commands and better cleanup for aws 2022-05-01 08:29:04 +01:00
Frostebite 3bd297d1c8 better aws cli commands and better cleanup for aws 2022-05-01 08:24:55 +01:00
Frostebite a184b7abae Correct aws logs link 2022-05-01 05:43:17 +01:00
Frostebite 483bcf9dd4 Correct aws logs link 2022-05-01 05:40:56 +01:00
David Finol d066039c26
Fix for 2021.3 (#392)
As a workaround for an error in 2021.3, write logs to file, and display the logs later: https://forum.unity.com/threads/exception-occurred-inside-beedriver.1139905/
2022-04-27 20:02:18 -05:00
Frostebite 8abce48a48
Cloud runner v0.2 - continued quality of life improvements (#387)
* Update cloud-runner-aws-pipeline.yml

* Update cloud-runner-k8s-pipeline.yml

* yarn build

* yarn build

* correct branch ref

* correct branch ref passed to target repo

* Create k8s-tests.yml

* Delete k8s-tests.yml

* correct branch ref passed to target repo

* correct branch ref passed to target repo

* Always describe AWS tasks for now, because unstable error handling

* Remove unused tree commands

* Use lfs guid sum

* Simple override cache push

* Simple override cache push and pull override to allow pure cloud storage driven caching

* Removal of early branch (breaks lfs caching)

* Remove unused tree commands

* Update action.yml

* Update action.yml

* Support cache and input override commands as input + full support custom hooks

* Increase k8s timeout

* replace filename being appended for unknclear reason

* cache key should not contain whitespaces

* Always try and deploy rook for k8s

* Apply k8s files for rook

* Update action.yml

* Apply k8s files for rook

* Apply k8s files for rook

* cache test and action description for kuber storage class

* Correct test and implement dependency health check and start

* GCP-secret run, cache key

* lfs smudge set explicit and undo explicit

* Run using external secret provider to speed up input

* Update cloud-runner-aws-pipeline.yml

* Add nodejs as build step dependency

* Add nodejs as build step dependency

* Cloud Runner Tests must be specified to capture logs from cloud runner for tests

* Cloud Runner Tests must be specified to capture logs from cloud runner for tests

* Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs

* Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs

* Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs

* Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs

* Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs

* better defaults for new inputs

* better defaults

* merge latest

* force build update

* use npm n to update node in unity builder

* use npm n to update node in unity builder

* use npm n to update node in unity builder

* correct new line

* quiet zipping

* quiet zipping

* default secrets for unity username and password

* default secrets for unity username and password

* ls active directory before lfs install

* Get cloud runner secrets from

* Get cloud runner secrets from

* Cleanup setup of default secrets

* Various fixes

* Cleanup setup of default secrets

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* Various fixes

* AWS secrets manager support

* less caching logs

* default k8s storage class to pd-standard

* more readable build commands

* Capture aws exit code 1 reliably

* Always replace /head from branch

* k8s default storage class to standard-rwo

* cleanup

* further cleanup input

* further cleanup input

* further cleanup input

* further cleanup input

* further cleanup input

* folder sizes to inspect caching

* dir command for local cloud runner test

* k8s wait for pending because pvc will not create earlier

* prefer k8s standard storage

* handle empty string as cloud runner cluster input

* local-system is now used for cloud runner test implementation AND correctly unset test CLI input

* local-system is now used for cloud runner test implementation AND correctly unset test CLI input

* fix unterminated quote

* fix unterminated quote

* do not share build parameters in tests - in cloud runner this will cause conflicts with resouces of the same name

* remove head and heads from branch prefix

* fix reversed caching direction of cache-push

* fixes

* fixes

* fixes

* cachePull cli

* fixes

* fixes

* fixes

* fixes

* fixes

* order cache test to be first

* order cache test to be first

* fixes

* populate cache key instead of using branch

* cleanup cli

* garbage-collect-aws cli can iterate over aws resources and cli scans all ts files

* import cli methods

* import cli files explicitly

* import cli files explicitly

* import cli files explicitly

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* import cli methods

* log parameters in cloud runner parameter test

* log parameters in cloud runner parameter test

* log parameters in cloud runner parameter test

* Cloud runner param test before caching because we have a fast local cache test now

* Using custom build path relative to repo root rather than project root

* aws-garbage-collect at end of pipeline

* aws-garbage-collect do not actually delete anything for now - just list

* remove some legacy du commands

* Update cloud-runner-aws-pipeline.yml

* log contents after cache pull and fix some scenarios with duplicate secrets

* log contents after cache pull and fix some scenarios with duplicate secrets

* log contents after cache pull and fix some scenarios with duplicate secrets

* PR comments

* Replace guid with uuid package

* use fileExists lambda instead of stat to check file exists in caching

* build failed results in core error message

* Delete sample.txt

* cloud-runner-system prefix changed to cloud-runner

* Update cloud-runner-aws-pipeline.yml

* remove du from caching, should run manually if interested in size, adds too much runtime to job to include by default

* github ephemeral pipeline support

* github ephemeral pipeline support

* Merge remote-tracking branch 'origin/main' into cloud-runner-develop

# Conflicts:
#	dist/index.js.map
#	src/model/cloud-runner/providers/aws/aws-task-runner.ts
#	src/model/cloud-runner/providers/aws/index.ts

* garbage collection

* garbage collection

* self hosted runner pipeline

* self hosted runner pipeline

* self hosted runner pipeline

* self hosted runner pipeline

* self hosted runner pipeline

* self hosted runner pipeline

* self hosted runner pipeline

* self hosted runner pipeline

* self hosted runner pipeline

* self hosted runner pipeline

* ephemeral runner pipeline

* ephemeral runner pipeline

* ephemeral runner pipeline

* download runner each time

* download runner each time

* download runner each time

* garbage collect all older than 1d as part of cleanup

* download runner each time

* number container cpu and memory for aws

* per provider container defaults

* per provider container defaults

* per provider container defaults

* per provider container defaults

* Skip printing size unless cloudRunnerIntegrationTests is true

* transition zip usage in cache to uncompressed tar for speed

* transition zip usage in cache to uncompressed tar for speed

* transition zip usage in cache to uncompressed tar for speed

* transition zip usage in cache to uncompressed tar for speed

* per provider container defaults

* per provider container defaults

* per provider container defaults

* per provider container defaults

* per provider container defaults

* per provider container defaults

* per provider container defaults

* per provider container defaults

* baked in cloud formation template

* baked in cloud formation template

* baked in cloud formation template

* baked in cloud formation template

* baked in cloud formation template

* baked in cloud formation template

* baked in cloud formation template

* baked in cloud formation template

* better aws commands

* better aws commands

* parse number for cloud formation template

* remove container resource defaults from actions yaml

* remove container resource defaults from actions yaml

* skip all input readers when cloud runner is local

* prefer fs/promises

* actually set aws cloud runner step as failure if unity build fails

* default to 3gb of ram - webgl fails on 2
2022-04-22 00:47:45 +01:00