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
Member

Why: estate-standard gobuilder image replaces the older base images and adds a shared, S3-backed Go build cache to CI.

  • Switch build/test/pre-commit/integration/release Go steps to artifactapi.../gobuilder:0.1.3-alma9 (0.1.3 puts $GOPATH/bin on PATH, so the release step's go install goreleaser is runnable)
  • Add GOCACHE_S3_* env, GOCACHE_METRICS, and GOCACHEPROG=go-cache-plugin with an absolute --cache-dir to each
  • Leave the dedicated golangci-lint step and the RPM-upload step on their existing images
  • Trim the integration step's now-stale "golang image lacks CA trust" comment
Why: estate-standard gobuilder image replaces the older base images and adds a shared, S3-backed Go build cache to CI. - Switch build/test/pre-commit/integration/release Go steps to artifactapi.../gobuilder:0.1.3-alma9 (0.1.3 puts $GOPATH/bin on PATH, so the release step's `go install goreleaser` is runnable) - Add GOCACHE_S3_* env, GOCACHE_METRICS, and GOCACHEPROG=go-cache-plugin with an absolute --cache-dir to each - Leave the dedicated golangci-lint step and the RPM-upload step on their existing images - Trim the integration step's now-stale "golang image lacks CA trust" comment
unkin-agent added 1 commit 2026-10-02 23:54:15 +10:00
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
0821d50df2
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
unkin-agent added 1 commit 2026-10-03 00:18:17 +10:00
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
08dd51fc44
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.
benvin merged commit 02be33f7fe into main 2026-10-03 00:24:14 +10:00
benvin deleted branch benvin/gocache 2026-10-03 00:24:14 +10:00
Sign in to join this conversation.