diff --git a/docs/sites/colony/git.md b/docs/sites/colony/git.md index d518781..866cb3c 100644 --- a/docs/sites/colony/git.md +++ b/docs/sites/colony/git.md @@ -29,6 +29,8 @@ One Docker-mode instance (`main-docker`) on podman (privileged, `podman` network - Labels for `node:24-trixie` and the self-built `git.nul.ie/dev/actions-ubuntu:26.04` images. - Runs as a fixed `gitea-runner` user (not `DynamicUser`) so it can read its token; jobs have a configured timeout. +- Gitea's `actions.ENDLESS_TASK_TIMEOUT` matches the runner's job timeout. Otherwise the server's + shorter default marks long builds as failed while the runner keeps working on them. - The action cache lives on a dedicated disk (`/var/cache/gitea-runner`). - Executes the repo's own `.gitea/workflows/ci.yaml`. diff --git a/nixos/boxes/colony/vms/git/gitea.nix b/nixos/boxes/colony/vms/git/gitea.nix index 5839f0e..2fa5cd2 100644 --- a/nixos/boxes/colony/vms/git/gitea.nix +++ b/nixos/boxes/colony/vms/git/gitea.nix @@ -119,6 +119,8 @@ in }; actions = { ENABLED = true; + # Match the runner's job timeout; the default (3h) fails long builds that are still running + ENDLESS_TASK_TIMEOUT = "8h"; }; }; };