Commit Graph

219 Commits (261397221a6aac02d952673fe1940a7613fc7f29)

Author SHA1 Message Date
Frostebite 261397221a better aws commands 2022-04-21 02:50:23 +01:00
Frostebite fa7bd794ae better aws commands 2022-04-21 00:14:31 +01:00
Frostebite 1ff1597a05 baked in cloud formation template 2022-04-21 00:07:36 +01:00
Frostebite 2e971d93a4 baked in cloud formation template 2022-04-21 00:02:55 +01:00
Frostebite d26cc2b620 baked in cloud formation template 2022-04-20 23:51:30 +01:00
Frostebite 09c6df818f baked in cloud formation template 2022-04-20 23:47:47 +01:00
Frostebite ae4d84f7f6 baked in cloud formation template 2022-04-20 23:45:20 +01:00
Frostebite ff12d4e434 baked in cloud formation template 2022-04-20 23:38:32 +01:00
Frostebite 709c102c38 baked in cloud formation template 2022-04-20 22:59:33 +01:00
Frostebite fe99ed800f baked in cloud formation template 2022-04-20 22:46:03 +01:00
Frostebite c59ad06451 per provider container defaults 2022-04-20 22:30:40 +01:00
Frostebite 278feb10e1 per provider container defaults 2022-04-20 22:27:38 +01:00
Frostebite abd49ce7ee per provider container defaults 2022-04-20 22:18:12 +01:00
Frostebite bbb0daaf48 per provider container defaults 2022-04-20 22:11:48 +01:00
Frostebite cff3bb9113 per provider container defaults 2022-04-20 20:53:10 +01:00
Frostebite b13a4aa02f per provider container defaults 2022-04-20 19:57:09 +01:00
Frostebite b9165d71f3 per provider container defaults 2022-04-20 19:34:32 +01:00
Frostebite 08b7519064 transition zip usage in cache to uncompressed tar for speed 2022-04-20 18:50:28 +01:00
Frostebite ea91f49de6 transition zip usage in cache to uncompressed tar for speed 2022-04-20 18:42:57 +01:00
Frostebite a8c48b2fb6 transition zip usage in cache to uncompressed tar for speed 2022-04-20 18:36:59 +01:00
Frostebite 7fbfc6780d Skip printing size unless cloudRunnerIntegrationTests is true 2022-04-20 18:18:46 +01:00
Frostebite 382b9c444a per provider container defaults 2022-04-20 15:07:47 +01:00
Frostebite ad94099026 number container cpu and memory for aws 2022-04-20 15:01:19 +01:00
Frostebite 42226d5972 download runner each time 2022-04-19 22:01:33 +01:00
Frostebite 04808b449d garbage collect all older than 1d as part of cleanup 2022-04-19 19:24:53 +01:00
Frostebite b2d2a1501a garbage collection 2022-04-16 19:26:00 +01:00
Frostebite eb7bcf718a garbage collection 2022-04-16 19:13:13 +01:00
Frostebite bcd33296b6 github ephemeral pipeline support 2022-04-16 18:40:57 +01:00
Frostebite e34cd89c08 github ephemeral pipeline support 2022-04-16 16:13:40 +01:00
Frostebite 3987a5687b github ephemeral pipeline support 2022-04-16 15:20:38 +01:00
Frostebite 96d34f546d remove du from caching, should run manually if interested in size, adds too much runtime to job to include by default 2022-04-16 13:20:28 +01:00
Frostebite 0a65f6e2a8 cloud-runner-system prefix changed to cloud-runner 2022-04-13 21:31:37 +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 8b944a640a build failed results in core error message 2022-04-10 23:17:25 +01:00
Frostebite 76d9019b01 use fileExists lambda instead of stat to check file exists in caching 2022-04-10 23:11:36 +01:00
Frostebite e4c0fbfa6f Replace guid with uuid package 2022-04-10 23:05:17 +01:00
Frostebite f2a9adf736 PR comments 2022-04-10 23:01:03 +01:00
Frostebite 30410eaaac log contents after cache pull and fix some scenarios with duplicate secrets 2022-04-10 15:41:15 +01:00
Frostebite 7913901814 log contents after cache pull and fix some scenarios with duplicate secrets 2022-04-10 15:29:51 +01:00
Frostebite cd86d9403e remove some legacy du commands 2022-04-10 00:54:31 +01:00
Frostebite 09c06d936d aws-garbage-collect do not actually delete anything for now - just list 2022-04-09 14:42:09 +01:00
Frostebite 3648e43fc5 aws-garbage-collect at end of pipeline 2022-04-09 14:10:26 +01:00
Frostebite 2481d75d71 Using custom build path relative to repo root rather than project root 2022-04-09 13:38:15 +01:00
Frostebite e0b0ccd6a5 import cli methods 2022-04-08 22:53:35 +01:00
Frostebite 205360e9c2 import cli methods 2022-04-08 22:31:39 +01:00
Frostebite 6e44166ca9 import cli methods 2022-04-08 22:14:41 +01:00
Frostebite fb9530048f import cli methods 2022-04-08 21:53:52 +01:00
Frostebite 762843eeba import cli methods 2022-04-08 21:51:23 +01:00
Frostebite b225664081 import cli methods 2022-04-08 21:31:45 +01:00