Commit graph

5 commits

Author SHA1 Message Date
24adf4d642
fix(ci): use goreleaser config version 1
Some checks failed
ci / build (push) Successful in 1m12s
ci / goreleaser (push) Failing after 17s
2026-02-04 14:50:11 +01:00
820ebb72ac
fix(ci): use compatible action versions for Forgejo runner
Some checks failed
ci / build (push) Failing after 1m4s
- Downgrade actions/setup-go from v6 to v5 (node24 not supported)
- Downgrade goreleaser-action from v6 to v5
- Add CI workflow with goreleaser snapshot on push to main
- Add .goreleaser.yaml configuration
2026-02-04 14:46:51 +01:00
ddaf5fbd0f
chore: update module path to DevFW-CICD org
Some checks failed
ci / goreleaser (push) Failing after 1s
Rename module from edp.buildth.ing/DevFW/forgejo-runner-resource-collector
to edp.buildth.ing/DevFW-CICD/forgejo-runner-resource-collector
2026-02-04 14:25:50 +01:00
74ac653e58
chore: add Dockerfile with Go 1.25
Add multi-stage Dockerfile for building minimal container image
using golang:1.25-alpine base.
2026-02-04 14:19:47 +01:00
219d26959f
feat: add resource collector for Forgejo runners
Add Go application that collects CPU and RAM metrics from /proc filesystem:
- Parse /proc/[pid]/stat for CPU usage (user/system time)
- Parse /proc/[pid]/status for memory usage (RSS, VmSize, etc.)
- Aggregate metrics across all processes
- Output via structured logging (JSON/text)
- Continuous collection with configurable interval

Designed for monitoring pipeline runner resource utilization to enable
dynamic runner sizing.
2026-02-04 14:13:24 +01:00