shack/gitlab-ci: enable graceful shutdown
This commit is contained in:
parent
497eecef31
commit
19e25f5856
|
@ -13,9 +13,12 @@ in
|
|||
imports = [
|
||||
"${runner-src}/gitlab-runner.nix"
|
||||
];
|
||||
services.gitlab-runner2.enable = true;
|
||||
services.gitlab-runner2 = {
|
||||
enable = true;
|
||||
## registrationConfigurationFile contains:
|
||||
# CI_SERVER_URL=<CI server URL>
|
||||
# REGISTRATION_TOKEN=<registration secret>
|
||||
services.gitlab-runner2.registrationConfigFile = <secrets/shackspace-gitlab-ci>;
|
||||
registrationConfigFile = <secrets/shackspace-gitlab-ci>;
|
||||
gracefulTermination = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue