colony/git: Match Gitea task timeout to runner
Gitea's default `ENDLESS_TASK_TIMEOUT` of 3h marked long CI jobs as failed while the runner kept building, leaving an orphaned job container. Raise it to the runner's 8h job timeout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7694945041
commit
139afc004e
2 files changed
+4
No files matched your search
@@ -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`.
|
||||
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user