Commit Graph

113 Commits (4165f16f0c9e47bfa38aa29d9e6fed4b0a1b055e)

Author SHA1 Message Date
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
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