nixpkgs-suyu/nixos/modules/services/continuous-integration
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
..
buildbot nixos/*: literalDocBook -> literalMD 2022-08-27 19:18:29 +02:00
github-runner nixos/github-runners: restart service if exit code signals a retryable error 2022-11-10 11:06:04 -05:00
gocd-agent nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
gocd-server gocd-server: 19.3.0 -> 22.2.0 2022-10-15 13:34:50 +01:00
hercules-ci-agent nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
hydra treewide: makeWrapper to nativeBuildInputs 2022-09-26 17:53:26 +03:00
jenkins nixos/jenkins-job-builder: better defaults for accessUser/accessTokenFile 2022-10-30 19:01:48 +01:00
buildkite-agents.nix nixos/*: fix docbook deprecation notices 2022-09-10 18:23:13 +02:00
github-runner.nix Add comments to explain about the name defaults 2022-10-17 00:04:52 -07:00
github-runners.nix Use config name by default, falling back to attr name 2022-10-19 03:33:30 -07:00
gitlab-runner.nix nixos/gitlab-runner: Add gitlab-runner.clear-docker-cache service 2022-10-10 18:17:19 +01:00
hail.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00