Commit Graph

186 Commits (0a65f6e2a8a1a61272c9335ba50d1af931331935)

Author SHA1 Message Date
Frostebite 3be46f0967 fixes 2022-04-07 00:06:06 +01:00
Frostebite daf733d898 cachePull cli 2022-04-06 23:52:48 +01:00
Frostebite 7b3ecc56e3 fixes 2022-04-06 23:45:42 +01:00
Frostebite b418993a8d fixes 2022-04-06 23:29:44 +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 86e4c7c856 remove head and heads from branch prefix 2022-04-06 22:12:02 +01:00
Frostebite 912cad6b2a do not share build parameters in tests - in cloud runner this will cause conflicts with resouces of the same name 2022-04-06 21:55:24 +01:00
Frostebite eae5a32b93 fix unterminated quote 2022-04-06 21:29:53 +01:00
Frostebite cd2b381f77 fix unterminated quote 2022-04-06 21:18:57 +01:00
Frostebite e2241e9985 local-system is now used for cloud runner test implementation AND correctly unset test CLI input 2022-04-06 21:07:31 +01:00
Frostebite 096443b669 local-system is now used for cloud runner test implementation AND correctly unset test CLI input 2022-04-06 20:48:23 +01:00
Frostebite 3bc006b05d handle empty string as cloud runner cluster input 2022-04-06 20:17:52 +01:00
Frostebite 54dc0315c3 prefer k8s standard storage 2022-04-06 20:15:21 +01:00
Frostebite c611291cca Merge remote-tracking branch 'origin/main' into cloud-runner-develop 2022-04-06 20:11:52 +01:00
Frostebite 7bc9028ee5 k8s wait for pending because pvc will not create earlier 2022-04-06 20:10:10 +01:00
Frostebite 3c0cc5667a dir command for local cloud runner test 2022-04-06 20:05:48 +01:00
Frostebite 3aed1142be folder sizes to inspect caching 2022-04-06 19:56:53 +01:00
Frostebite fece47ac71 further cleanup input 2022-04-06 19:48:13 +01:00
Philipp Mildenberger 2b399b2641
Add gitPrivateToken support again (#377) 2022-04-05 17:46:52 +02:00
Frostebite 27c3a51e7a further cleanup input 2022-04-05 04:09:04 +01:00
Frostebite c648446252 further cleanup input 2022-04-05 04:06:09 +01:00
Frostebite 06d1a20e83 further cleanup input 2022-04-05 03:58:57 +01:00
Frostebite 5568402e54 cleanup 2022-04-05 00:38:29 +01:00
Frostebite f63e8b279c k8s default storage class to standard-rwo 2022-04-05 00:32:42 +01:00
Frostebite 3ca6426707 Always replace /head from branch 2022-04-05 00:30:43 +01:00
Frostebite 755df48342 Capture aws exit code 1 reliably 2022-04-05 00:27:58 +01:00
Frostebite b3b7645126 more readable build commands 2022-04-05 00:24:37 +01:00
Frostebite bd291b3824 default k8s storage class to pd-standard 2022-04-05 00:06:34 +01:00
Frostebite b1b4c572b5 less caching logs 2022-04-05 00:01:55 +01:00
Frostebite 52f8013be0 Various fixes 2022-04-04 23:46:44 +01:00
Frostebite ec2ef44bda Various fixes 2022-04-04 23:27:19 +01:00
Frostebite 55cc9f9ff1 Various fixes 2022-04-04 23:12:59 +01:00
Frostebite bb7ac06baf Various fixes 2022-04-04 23:09:26 +01:00
Frostebite 4165f16f0c Various fixes 2022-04-04 22:48:53 +01:00
Frostebite b969dbb14a Various fixes 2022-04-04 22:44:44 +01:00
Frostebite a5dc42af42 Various fixes 2022-04-04 22:05:46 +01:00
Frostebite bc6e89c036 Various fixes 2022-04-04 21:12:14 +01:00
Frostebite 120ae89ca7 Various fixes 2022-04-04 21:09:14 +01:00
Frostebite 8a2500b459 Various fixes 2022-04-04 20:59:13 +01:00
Frostebite c9d25d9edf Various fixes 2022-04-04 20:54:48 +01:00
Frostebite 34838741bb Various fixes 2022-04-04 20:36:42 +01:00
Frostebite dcd08cf7e8 Various fixes 2022-04-04 20:34:24 +01:00
Frostebite d8c8385cea Cleanup setup of default secrets 2022-04-04 20:30:17 +01:00
Frostebite f0532ed5e9 Various fixes 2022-04-04 20:24:50 +01:00
Frostebite 0bf23325a5 Cleanup setup of default secrets 2022-04-04 20:21:37 +01:00
Frostebite 5327094620 Get cloud runner secrets from 2022-04-04 20:14:02 +01:00
Frostebite ea0af36589 Get cloud runner secrets from 2022-04-04 20:12:43 +01:00
Frostebite e2e84372e3 ls active directory before lfs install 2022-04-04 19:59:57 +01:00
David Finol 40891d6b43
Fix mac builds (#376) 2022-04-04 10:19:40 +02:00
Mark D fd4aa8b7e9 default secrets for unity username and password 2022-04-03 22:44:57 +01:00
Mark D 32e25599b7 default secrets for unity username and password 2022-04-03 22:23:36 +01:00
Mark D 89a630d302 quiet zipping 2022-04-03 21:54:42 +01:00
Mark D ff51a4a617 quiet zipping 2022-04-03 21:39:20 +01:00
Mark D b6133c86b3 correct new line 2022-04-03 21:05:03 +01:00
Frostebite a912667ec6 use npm n to update node in unity builder 2022-04-03 20:32:04 +01:00
Frostebite d136867f4c use npm n to update node in unity builder 2022-04-03 20:23:41 +01:00
Frostebite b6824ac46b use npm n to update node in unity builder 2022-04-03 20:20:06 +01:00
Mark D 57da2b54bb force build update 2022-04-03 17:39:54 +01:00
Webber Takken 441be81543
Switch to version 1 images (#374)
* feat: upgrade to images of version 1 (rolling tag)

* chore: indicate what needs to move out of the input class
2022-04-03 17:59:14 +02:00
Mark D 807621b4f3 Merge remote-tracking branch 'game-ci/HEAD' into cloud-runner-develop 2022-04-03 04:17:40 +01:00
Mark D 609c8c968f better defaults 2022-04-03 03:26:49 +01:00
Frostebite d3390f85ce Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs 2022-04-03 01:46:45 +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
Frostebite f24b458d21 Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs 2022-04-03 01:31:08 +01:00
Frostebite cfc9d23ea3 Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs 2022-04-03 00:41:12 +01:00
Frostebite 8dffcc1c5c Refactor and cleanup - no async input, combined setup/build, removed github logs for cli runs 2022-04-03 00:12:35 +01:00
Paul Pacheco d98a0ed32d
fix: windows build (#368) 2022-03-31 21:28:40 +02:00
Paul Pacheco b72639aac0
perf: avoid building docker image (#365)
* avoid building a custom image

* fix: remove unnecessary double-dash

* Rebuild with -- fix

* linting

* Remove unused variable

* support windows as well

* Fix -- command not found

* Fix unused import, remove docker build test

* no dockerfile anymore

Co-authored-by: Webber Takken <webber.nl@gmail.com>
2022-03-31 01:16:30 +02:00
Webber Takken 9a40b8903e
fix: ensure line endings (#366)
* fix: ensure line endings

* fix: only affect specific files

* chore: rearrange attributes order
2022-03-30 23:27:10 +02:00
Webber Takken f1c154a23c
Attempt to streamline dev lifecycle (git hooks) (#357)
* fix: misalignments in dev lifecycle

* fix: dist no longer added to staged

* fix: misalignments in dev lifecycle

* chore: multi-platform hooks and tests

* chore: multi-platform hooks and tests

* chore: add intention for colors

* chore: update lint-staged to fix color

* chore: update dist files

* feat: move to lefthook (remove husky and lint-staged)

* feat: move to lefthook (remove husky and lint-staged)

* fix: test aftereach

* fix: test aftereach

* fix: early restore call

* feat: jest fails if something gets logged to console

* chore: add todos of misplaced code

* chore: update dist files

* chore: move jest file
2022-03-28 01:23:32 +02:00
Paul Pacheco 9440c54d51
feat: work with rootless docker (#362)
Running docker currently mounts the docker.sock file into the container.
This was introduced in 2ab738c083 but
there is no explanation provided.

The docker.sock file is only needed if we want to run docker inside the container
to create other images or start other containers.
I searched through the code and I did not find any such use.

In particular, on fedora this gives permission denied because docker.sock
is owned by root and the container runs under an unprivileged user.
One has to change the permissions of docker.sock
(which is actually a link to /run/podman/podman.sock) to be writeable by the user.

If we don't need to use docker inside the containers,  then we can remove this file,
thus we can run this GitHub action as an unprivileged user out of the box.
2022-03-27 03:05:15 +02:00
Paul Pacheco 8ed8ccb20c
fix: op not permitted in self-hosted runner (#359)
In self hosted runners in fedora with SELinux enabled,
it sometimes gives a random error
```
Error: lsetxattr /var/run/docker.sock: operation not permitted

Error: The process '/usr/bin/docker' failed with exit code 126
```

This seems to happen with docker.sock which is a link to
/run/podman/podman.sock
looks like lsetxattr is broken for links.
2022-03-23 19:41:57 +01:00
Frostebite 9b623cdeaa Add nodejs as build step dependency 2022-03-16 23:11:05 +00:00
Frostebite c5d2d8d27b Add nodejs as build step dependency 2022-03-16 21:52:25 +00:00
Frostebite 14c9af3592 Run using external secret provider to speed up input 2022-03-15 00:27:00 +00:00
Frostebite 99f9a7179b lfs smudge set explicit and undo explicit 2022-03-15 00:00:52 +00:00
Frostebite e4490cd3ca GCP-secret run, cache key 2022-03-14 23:50:59 +00:00
Frostebite 73149fb464 Correct test and implement dependency health check and start 2022-03-14 23:14:38 +00:00
Frostebite 1ab37c64da Apply k8s files for rook 2022-03-13 23:56:34 +00:00
Frostebite cebe329680 Apply k8s files for rook 2022-03-13 23:32:37 +00:00
Frostebite 1814ab4f64 Always try and deploy rook for k8s 2022-03-09 21:47:53 +00:00
Frostebite 5e53df432d cache key should not contain whitespaces 2022-03-09 21:42:44 +00:00
Frostebite 755ae366fb replace filename being appended for unknclear reason 2022-03-07 20:28:14 +00:00
Frostebite 931aa95dc9 Increase k8s timeout 2022-03-07 17:02:28 +00:00
Frostebite c022d6e656 Support cache and input override commands as input + full support custom hooks 2022-03-07 15:17:13 +00:00
Frostebite b732b6befb Remove unused tree commands 2022-03-06 02:14:50 +00:00
Frostebite 3b7982c721 Removal of early branch (breaks lfs caching) 2022-03-06 02:08:40 +00:00
Frostebite d8278dc24a Simple override cache push and pull override to allow pure cloud storage driven caching 2022-03-06 02:04:27 +00:00
Frostebite a8be343564 Simple override cache push 2022-03-06 01:58:02 +00:00
Frostebite 035e59e774 Use lfs guid sum 2022-03-06 01:45:27 +00:00
Frostebite 2247a37a2c Remove unused tree commands 2022-03-05 19:08:38 +00:00
Frostebite d838bef87c Always describe AWS tasks for now, because unstable error handling 2022-03-04 19:42:46 +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 3d538c6395 correct branch ref passed to target repo 2022-03-04 19:19:05 +00:00
Frostebite 8fdaf4fb0e correct branch ref passed to target repo 2022-03-04 18:54:46 +00:00
Frostebite a6e29f74df correct branch ref passed to target repo 2022-03-04 18:48:24 +00:00
Frostebite dfc003f69b yarn build 2022-03-04 18:25:23 +00:00
Frostebite faacaec191 yarn build 2022-03-04 18:19:36 +00:00
David Finol 693ff829de
Yarn dependencies upgrade & yarn lint update (#347)
* Run yarn upgrade in order to resolve security vulnerability

* Remove unneeded git add from pre-commit hook

* Update packages

* Update non-eslint packages
2022-02-28 05:30:59 -06:00