ci: gobuilder image + S3 build cache for Go steps #5

Merged
benvin merged 1 commits from benvin/gocache into main 2026-10-02 23:48:37 +10:00

1 Commits

Author SHA1 Message Date
unkin-agent 93f30053ef ci: use gobuilder image + S3 build cache for Go steps
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Go compile steps ran on vanilla golang:1.25 with no shared cache,
paying full module/build cost every run. Switch to the estate
gobuilder image (plugin binary baked in) and wire GOCACHEPROG to the
shared S3-backed cache; best-effort, degrades to misses on S3 issues.

- pre-commit, test: image -> gobuilder:0.1.2-alma9
- add GOCACHE_* env + AWS creds from org secrets
- GOCACHEPROG uses absolute /tmp/gocache cache-dir
- add backend_options.kubernetes resources + serviceAccountName
2026-10-02 23:38:44 +10:00