nixpkgs-suyu/nixos/modules
Vincent Haupert 847774470e nixos/github-runners: restart service if exit code signals a retryable error
On some occasions, the GitHub runner service encounters errors which are
deemed retryable but result in the runner's termination. To signal a
retryable error, the runner exits with status code 2:

https://github.com/actions/runner/blob/40ed7f8/src/Runner.Common/Constants.cs#L146

To account for that behavior, this commit sets
`RestartForceExitStatus=2` which results in a service restart regardless
of using an ephemeral runner or not.
2022-11-10 11:06:04 -05:00
..
config rmem_max: define merge function 2022-11-08 10:30:10 -05:00
hardware Merge pull request #185688 from bb2020/usbstor 2022-11-03 22:33:20 -03:00
i18n/input-method
installer calamares-cd: default supporting all locales 2022-11-02 13:59:53 -04:00
misc nixos/modules/misc/documentation.nix: Don't use toString on a path 2022-10-28 17:05:03 +02:00
profiles nixos/profiles/minimal: don't install freedesktop files 2022-10-21 14:54:38 +02:00
programs mepo: init module 2022-11-07 20:27:00 +01:00
security Merge pull request #186628 from ocfox/pam_faildelay 2022-11-07 19:54:57 +08:00
services nixos/github-runners: restart service if exit code signals a retryable error 2022-11-10 11:06:04 -05:00
system Merge pull request #199595 from hercules-ci/nixos-toplevel-maintenance 2022-11-09 13:54:36 +01:00
tasks Merge pull request #194759 from hercules-ci/fqdn-or-hostname 2022-11-09 13:53:57 +01:00
testing
virtualisation Merge pull request #198526 from farnoy/nixos-container-unified-cgroups 2022-11-10 13:37:43 +01:00
module-list.nix Merge pull request #200388 from babbaj/remove-ethminer 2022-11-09 12:06:28 -03:00
rename.nix