forked from hacc/haccfiles
hainich/gitlab-runner: Move registration token
Move it to /etc instead so that it's persisted across reboots
This commit is contained in:
parent
0d362a17fc
commit
0ea8daad24
1 changed files with 2 additions and 2 deletions
|
@ -9,10 +9,10 @@
|
||||||
buildsDir = "/var/lib/gitlab-runner/builds";
|
buildsDir = "/var/lib/gitlab-runner/builds";
|
||||||
dockerImage = "nixos/nix";
|
dockerImage = "nixos/nix";
|
||||||
executor = "docker";
|
executor = "docker";
|
||||||
registrationConfigFile = "/run/gitlab-runner.env";
|
registrationConfigFile = "/etc/gitlab-runner/gitlab-runner.env";
|
||||||
};
|
};
|
||||||
nix = {
|
nix = {
|
||||||
registrationConfigFile = "/run/gitlab-runner.env";
|
registrationConfigFile = "/etc/gitlab-runner/gitlab-runner.env";
|
||||||
dockerImage = "alpine";
|
dockerImage = "alpine";
|
||||||
dockerVolumes = [
|
dockerVolumes = [
|
||||||
"/nix/store:/nix/store:ro"
|
"/nix/store:/nix/store:ro"
|
||||||
|
|
Loading…
Reference in a new issue