ci: move Go steps to gobuilder with S3 build cache #2

Merged
benvin merged 2 commits from benvin/gocache into main 2026-10-03 00:24:14 +10:00

2 Commits

Author SHA1 Message Date
unkin-agent 08dd51fc44 ci: bump gobuilder to 0.1.3-alma9
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/integration Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
0.1.2-alma9 left $GOPATH/bin off PATH, so release.yaml's goreleaser
step would have exited 127 after `go install` on the next tag.
0.1.3-alma9 sets GOPATH=/go and PATH=/go/bin:$PATH.
2026-10-03 00:18:16 +10:00
unkin-agent 0821d50df2 ci: move Go steps to gobuilder with S3 build cache
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/integration Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Switches the estate's older base images off in favor of the
shared gobuilder image and wires up the S3-backed Go build cache.

- Point build/test/lint-adjacent test/pre-commit/integration/release
  steps at artifactapi.k8s.syd1.au.unkin.net/docker-internal/gobuilder:0.1.2-alma9
- Add GOCACHE_S3_* env and GOCACHEPROG=go-cache-plugin with an
  absolute --cache-dir to each Go-toolchain step
- Leave the dedicated golangci-lint step and the RPM upload step
  on their existing images
2026-10-02 23:53:39 +10:00