Commit Graph

125 Commits (a8c48b2fb616aaa68225bc288d58812c60dea66e)

Author SHA1 Message Date
Frostebite 86412dd25d per provider container defaults 2022-04-20 17:51:32 +01:00
Frostebite b283091d80 per provider container defaults 2022-04-20 16:58:01 +01:00
Frostebite 04808b449d garbage collect all older than 1d as part of cleanup 2022-04-19 19:24:53 +01:00
Frostebite 8543c3ca5a download runner each time 2022-04-17 15:25:53 +01:00
Frostebite 391a630b75 download runner each time 2022-04-17 15:09:31 +01:00
Frostebite 06f4b21e3b download runner each time 2022-04-17 14:54:27 +01:00
Frostebite 2622a99bb2 ephemeral runner pipeline 2022-04-17 14:37:12 +01:00
Frostebite e262aec982 ephemeral runner pipeline 2022-04-17 14:20:20 +01:00
Frostebite 67f74da614 ephemeral runner pipeline 2022-04-17 14:04:12 +01:00
Frostebite c7f0b4fcf3 self hosted runner pipeline 2022-04-17 02:22:36 +01:00
Frostebite 8e356f212d self hosted runner pipeline 2022-04-17 02:17:48 +01:00
Frostebite 0727a97fdd self hosted runner pipeline 2022-04-17 02:11:55 +01:00
Frostebite 6e877cbc01 self hosted runner pipeline 2022-04-17 02:09:50 +01:00
Frostebite f211dc47b7 self hosted runner pipeline 2022-04-17 02:03:27 +01:00
Frostebite cf6f489116 self hosted runner pipeline 2022-04-17 01:59:47 +01:00
Frostebite 187897f549 self hosted runner pipeline 2022-04-17 01:55:54 +01:00
Frostebite 55102fb56d self hosted runner pipeline 2022-04-17 01:53:00 +01:00
Frostebite 6daab9d8b3 self hosted runner pipeline 2022-04-17 01:49:25 +01:00
Frostebite d0eda30185 self hosted runner pipeline 2022-04-17 01:45:36 +01:00
Frostebite bcd33296b6 github ephemeral pipeline support 2022-04-16 18:40:57 +01:00
Frostebite 75d418b96e
Update cloud-runner-aws-pipeline.yml 2022-04-14 20:13:35 +01:00
Webber Takken 5ae03dfef6
Streamline code styles (#384)
* feat: streamline code styles

* feat: spacing for comments and return statements

* chore: enforce camelcase

* fix: remove npm lock file

* fix: add integrity test

* fix: remove logfile

* chore: update node in test workflow
2022-04-12 00:43:41 +02:00
Frostebite a61c02481f
Cloud Runner v0 - Reliable and trimmed down cloud runner (#353)
* 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
2022-04-11 00:00:37 +01:00
Frostebite 40dd6b8b37
Update cloud-runner-aws-pipeline.yml 2022-04-10 01:18:44 +01:00
Frostebite e0b0ccd6a5 import cli methods 2022-04-08 22:53:35 +01:00
Frostebite 88080f9f75 import cli methods 2022-04-08 22:19:19 +01:00
Frostebite 6e44166ca9 import cli methods 2022-04-08 22:14:41 +01:00
Frostebite 6c59d79191 import cli methods 2022-04-08 21:55:26 +01:00
Frostebite 762843eeba import cli methods 2022-04-08 21:51:23 +01:00
Frostebite f3377ec5e1 import cli methods 2022-04-08 21:18:00 +01:00
Frostebite e3e8be4d6c populate cache key instead of using branch 2022-04-07 01:16:38 +01:00
Frostebite 17d59a308b fixes 2022-04-06 23:14:01 +01:00
Frostebite 412578be66 fix reversed caching direction of cache-push 2022-04-06 23:01:08 +01:00
Frostebite 14b33a0602 Various fixes 2022-04-04 23:30:02 +01:00
Frostebite 6de43a9018 Various fixes 2022-04-04 23:28:16 +01:00
Frostebite 141fd46c08 Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs 2022-04-03 01:39:26 +01:00
David Finol ca9d445c3c
Revert windows and mac builds on PR (#367) 2022-03-31 05:31:57 -05:00
David Finol 89c1b38c3b Test windows and mac in PRs 2022-03-31 04:45:42 -05:00
Frostebite b7590245fa Cloud Runner Tests must be specified to capture logs from cloud runner for tests 2022-03-22 20:48:05 +00:00
Frostebite 8977c6db50 Cloud Runner Tests must be specified to capture logs from cloud runner for tests 2022-03-22 20:13:08 +00:00
Frostebite c269d49b4e
Update cloud-runner-aws-pipeline.yml 2022-03-15 23:12:58 +00:00
Frostebite efa2eddee9
Update cloud-runner-aws-pipeline.yml 2022-03-15 23:09:38 +00:00
Frostebite d975f3b80f
Minor tweaks and corrections for cloud runner pipeline and branch parameter (#351)
* 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
2022-03-04 19:42:24 +00:00
Frostebite bc982b6ee1 correct branch ref 2022-03-04 18:32:28 +00:00
Frostebite dfc003f69b yarn build 2022-03-04 18:25:23 +00:00
Frostebite 61eecec677
Update cloud-runner-k8s-pipeline.yml 2022-03-04 18:12:10 +00:00
Frostebite 550b5642c9
Update cloud-runner-aws-pipeline.yml 2022-03-04 18:11:51 +00:00
AndrewKahr a6ebcb5b75
Fix minor typo in mac build test workflow (#333) 2022-02-02 12:38:35 +01:00
AndrewKahr c7907c7e78
Initial Support for MacOS IL2CPP Builds (#326)
* Add intial framework for macos builds. Test install editor

* Fix unity hub path space

* Single quote space in path

* Escape space character

* More backslashes

* Move to bash scripts for setup

* Add path to command args

* Different command to run shell script

* Use full path to scripts

* Unpack changeset value and fix missing escape characters

* Print changeset

* More debug

* Remove debug

* Fix script paths

* Printenv debug

* Write environment variables to file to read in bash script

* Debug file write

* More debug

* Fix missing await

* Move back to process.env

* Fix path typo

* Add missing flags

* Make directory for license activation

* Add missing sudo

* Give permissions to license folder

* Fix path issues

* Add build tests

* Try ts setup again

* Try quoting path

* Further migrate mac scripts to align with linux scripts

* print pwd

* Fix changeset and remove unneeded env vars

* Ignore return code

* fix missing current directory

* Fix project path

* pwd

* Remove project path

* Revert to cwd being the workspace folder and pass action folder as an env variable.

* Add blank project to use for activation

* Add blank project path

* Fix build tests

* Don't rebuild library on windows

* Fix project path windows

* Fix platform specific workspace env variable

* Fix incorrect variable name

* Update .github/workflows/mac-build-tests.yml

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Update .github/workflows/mac-build-tests.yml

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Update dist/BlankProject/Packages/packages-lock.json

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Update src/model/platform-setup/setup-mac.ts

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Update src/model/platform-setup/setup-mac.ts

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Fix formatting

Co-authored-by: Webber Takken <webber.nl@gmail.com>
2022-02-02 10:15:37 +01:00
Frostebite 03ae77dc7c
Cloud Runner v2 (#310) 2022-02-01 02:31:20 +00:00