hainich/gitlab-runner: Move registration token

Move it to /etc instead so that it's persisted across reboots
This commit is contained in:
hexchen 2021-02-10 22:40:03 +00:00
parent 0d362a17fc
commit 0ea8daad24

View file

@ -9,10 +9,10 @@
buildsDir = "/var/lib/gitlab-runner/builds";
dockerImage = "nixos/nix";
executor = "docker";
registrationConfigFile = "/run/gitlab-runner.env";
registrationConfigFile = "/etc/gitlab-runner/gitlab-runner.env";
};
nix = {
registrationConfigFile = "/run/gitlab-runner.env";
registrationConfigFile = "/etc/gitlab-runner/gitlab-runner.env";
dockerImage = "alpine";
dockerVolumes = [
"/nix/store:/nix/store:ro"