I’ve configured gitlab-runner
with nix-darwin
on a MacOS (Ventura) VM, however it doesn’t seem to get configured.
I have added users.knownUsers = [ "gitlab-runner" ];
which makes sure the user is created, but I had to manually create /var/lib/gitlab-runner
(which appears to be) the correct default, and I chown
ed it correctly and put a registration file in there with registrationConfigFile = "/var/lib/gitlab-runner/macos.reg";
(in lieu of being able to use sops-nix
).
macos.reg
sets
RUNNER_NAME="macvent-vm2-shell"
CI_SERVER_URL=http://ryzerv.gtnet.lan:6080/
CI_SERVER_TOKEN=...
(similar to other (NixOS) runners I’m operating)
However when I rebuild and (even) run sudo launchctl start org.nixos.gitlab-runner
I see no such process (ps auxc | grep gitlab
), but no failure messages either. (Checking out the syslog via Console gives either too much or too litle, but nothing related to gitlab-runner
)
Any ideas where to go from here/what might be the case?