Commit Graph

28 Commits (42e1a2a4a5b12c401d15483f4eb13a323503f7a8)

Author SHA1 Message Date
Frostebite a320cf893c cleanup 2022-10-14 20:04:14 +01:00
Frostebite 1a0bc6d1ce cleanup 2022-10-14 19:51:16 +01:00
Frostebite 7fcd51349b
Cloud Runner 1.0 (#459)
* Fix: post build caching, use linux path conversion

* Fix: post build caching via CLI

* Fix: post build caching via CLI

* Fix: post build caching via CLI

* Fix: post build caching via CLI

* Fix: post build caching via CLI

* Log if retained workspace option is present for testing

* Log if retained workspace option is present for testing

* Use retained workspace :O

* Use retained workspace :O

* Use retained workspace :O

* Use retained workspace :O

* Ignore garbage creating lock actions in test for now

* Lock workspace when using Get or Create Locked Workspace

* Lock workspace before creating workspace file to allow for an unblockable creation sequence with guarenteed lock for the original creator

* intuitive locking logs from the most important flow

* test naming

* consider lock folders without workspace file locked

* Use cache key to segment lock folders

* Use cache key to segment lock folders

* Use cache key to segment lock folders

* Use cache key to segment lock folders

* Use cache key to segment lock folders

* Skip all locking actions test as we now have two useful test flows

* Skip all locking actions test as we now have two useful test flows

* Skip all locking actions test as we now have two useful test flows

* Copy all of data folder to docker volume to enable local-docker retained workspace

* Fix: check for retained workspace

* Fix: check for retained workspace

* Fix: check for retained workspace

* Fix: check for retained workspace

* Fix: check for retained workspace

* Fix: check for retained workspace

* Fix: check for retained workspace

* Fix: check for retained workspace

* Skip main clone if game repo exists

* handle cloud runner git sync via sha not only branch

* handle cloud runner git sync via sha not only branch

* handle cloud runner git sync via sha not only branch

* handle cloud runner git sync via sha not only branch

* handle cloud runner git sync via sha not only branch

* handle cloud runner git sync via sha not only branch

* handle cloud runner git sync via sha not only branch

* handle cloud runner git sync via sha not only branch

* transfer locked workspace to static CloudRunner field

* transfer locked workspace to static CloudRunner field

* transfer locked workspace to static CloudRunner field

* custom hook files and test

* custom hook files and test

* custom hook files and test
2022-10-06 20:42:33 +01:00
Frostebite d4992d2f65 Fix: post build caching, use linux path conversion 2022-10-02 18:26:52 +01:00
Frostebite cbde7b54ac Extract post build steps into CLI command 2022-10-02 17:52:38 +01:00
Frostebite aca6752ecd Simple retained workspace check exploration and stubbing post build steps as a CLI command 2022-10-02 16:44:55 +01:00
Frostebite 7bfb341904 For now we won't run a full k8s build, doesn't exit at end of workflow 2022-10-01 00:33:27 +01:00
Frostebite 728801a531 Better locking 2022-09-29 23:34:31 +01:00
Frostebite 6ab62f966c Better locking 2022-09-29 22:25:43 +01:00
Frostebite d4c5218b39 Better locking 2022-09-29 22:03:16 +01:00
Frostebite 3a5400080b Better locking 2022-09-29 21:30:34 +01:00
Frostebite fd513da260 serialize build params via prefixed env var 2022-09-19 00:48:05 +01:00
Frostebite a330d4e9a3 better startup and teardown for tests 2022-09-17 05:44:07 +01:00
Frostebite 5bf0ad0367 better startup and teardown for tests 2022-09-17 05:09:36 +01:00
Frostebite 51d46c2cc0 lock put timestamp first 2022-09-17 04:49:44 +01:00
Frostebite cefd469364 lock test 2022-09-17 04:41:41 +01:00
Frostebite 9ed3251455 lock test 2022-09-17 04:38:00 +01:00
Frostebite 54eab9797b Fix s3 command for workspace locking 2022-09-17 04:25:29 +01:00
Frostebite f72739254b Fix s3 command for workspace locking 2022-09-17 04:20:09 +01:00
Frostebite 33eb514ce6 Fix cloud runner test - format secret names for validation 2022-09-17 03:52:50 +01:00
Frostebite b964d3100a Stub custom hook+step file parameter and CLI command to run 2022-09-17 01:27:38 +01:00
Frostebite df240154da Test secrets are serialized correctly 2022-09-16 23:51:19 +01:00
Frostebite 01ccc8ee10 fix push to cache 2022-09-16 22:24:23 +01:00
Frostebite f226bef5af
Cloud runner preview (#419) 2022-09-16 19:48:40 +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 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 03ae77dc7c
Cloud Runner v2 (#310) 2022-02-01 02:31:20 +00:00