CICD-054 · Read runner-local diagnostics
Encyclopedia · Gitea runner fundamentals · All snippets
Previous · CICD-053 · Next · CICD-055
1. Where it fits
- Placement Bash run step following checkout, or equivalent lab terminal.
- Prerequisites Gitea Actions enabled, authorized trusted runner registered and local repository checked out when needed.
- Platforms gitea-actions.
2. Copy the snippet
bash
docker logs --since 10m gitea-runner 2>&1 | tail -n 803. How it works
docker logs reads the named runner container instead of an individual workflow log. Use it to investigate daemon failures before job steps start.
4. Verify the result
Run on the authorized runner host and scrub addresses or secrets before sharing logs.
Validation syntax-validated (Bash parse). Status definitions.