summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-07-07 21:18:32 +0200
committermakefu <github@syntax-fehler.de>2019-07-07 21:18:32 +0200
commit19e25f58566866b7c5182ab0d26ff66cba2eeffd (patch)
treeed25023b2b87854ff24dabb8aeac53521824500b
parent497eecef31c9e41848c4bb5a0c80ca7308607846 (diff)
shack/gitlab-ci: enable graceful shutdown
-rw-r--r--krebs/2configs/shack/gitlab-runner.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/krebs/2configs/shack/gitlab-runner.nix b/krebs/2configs/shack/gitlab-runner.nix
index 0fd06426a..f1bb94f37 100644
--- a/krebs/2configs/shack/gitlab-runner.nix
+++ b/krebs/2configs/shack/gitlab-runner.nix
@@ -13,9 +13,12 @@ in
imports = [
"${runner-src}/gitlab-runner.nix"
];
- 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>;
+ services.gitlab-runner2 = {
+ enable = true;
+ ## registrationConfigurationFile contains:
+ # CI_SERVER_URL=<CI server URL>
+ # REGISTRATION_TOKEN=<registration secret>
+ registrationConfigFile = <secrets/shackspace-gitlab-ci>;
+ gracefulTermination = true;
+ };
}