+2
-2
nix/modules/spindle.nix
+2
-2
nix/modules/spindle.nix
···
60
description = "Nixery instance to use";
61
};
62
63
-
stepTimeout = mkOption {
64
type = types.str;
65
default = "5m";
66
description = "Timeout for each step of a pipeline";
···
87
"SPINDLE_SERVER_DEV=${lib.boolToString cfg.server.dev}"
88
"SPINDLE_SERVER_OWNER=${cfg.server.owner}"
89
"SPINDLE_PIPELINES_NIXERY=${cfg.pipelines.nixery}"
90
-
"SPINDLE_PIPELINES_STEP_TIMEOUT=${cfg.pipelines.stepTimeout}"
91
];
92
ExecStart = "${self.packages.${pkgs.system}.spindle}/bin/spindle";
93
Restart = "always";
···
60
description = "Nixery instance to use";
61
};
62
63
+
workflowTimeout = mkOption {
64
type = types.str;
65
default = "5m";
66
description = "Timeout for each step of a pipeline";
···
87
"SPINDLE_SERVER_DEV=${lib.boolToString cfg.server.dev}"
88
"SPINDLE_SERVER_OWNER=${cfg.server.owner}"
89
"SPINDLE_PIPELINES_NIXERY=${cfg.pipelines.nixery}"
90
+
"SPINDLE_PIPELINES_WORKFLOW_TIMEOUT=${cfg.pipelines.workflowTimeout}"
91
];
92
ExecStart = "${self.packages.${pkgs.system}.spindle}/bin/spindle";
93
Restart = "always";