Commit Graph

97 Commits (e2e84372e3f9fc61369be94d41b0ff0a916f26d4)

Author SHA1 Message Date
Frostebite e2e84372e3 ls active directory before lfs install 2022-04-04 19:59:57 +01: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
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
David Finol 419c5bb965 Test push block 2022-04-01 13:08:09 -05: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 4d9d9991d1 Merge branch 'main' into cloud-runner-develop 2022-03-05 16:28:48 +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