hainich/gitlab-runner: Move registration token

Move it to /etc instead so that it's persisted across reboots
keep-around/0ea8daad24feaa32e01c44acf3971f13910ce098
hexchen 2021-02-10 22:40:03 +00:00
parent 0d362a17fc
commit 0ea8daad24
1 changed files with 2 additions and 2 deletions

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"