ci: switch Go steps to gobuilder, enable S3 build cache #4

Merged
benvin merged 1 commits from benvin/gocache into main 2026-10-02 23:55:36 +10:00
Member

Why: estate gobuilder image + shared S3 Go cache speeds builds and
standardizes on the verified image.

  • Replace golang:1.25 and almalinux9-gobuilder:20260606 with
    artifactapi gobuilder:0.1.2-alma9 on every Go-toolchain step
  • Add GOCACHE_S3_* env and GOCACHEPROG (absolute /tmp/gocache dir)
    pointing go-cache-plugin at the shared bucket
  • Leave RPM package/upload/release steps untouched (no Go toolchain)
Why: estate gobuilder image + shared S3 Go cache speeds builds and standardizes on the verified image. - Replace golang:1.25 and almalinux9-gobuilder:20260606 with artifactapi gobuilder:0.1.2-alma9 on every Go-toolchain step - Add GOCACHE_S3_* env and GOCACHEPROG (absolute /tmp/gocache dir) pointing go-cache-plugin at the shared bucket - Leave RPM package/upload/release steps untouched (no Go toolchain)
unkin-agent added 1 commit 2026-10-02 23:46:33 +10:00
ci: switch Go steps to gobuilder:0.1.2-alma9, enable S3 build cache
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
a839db4106
Swap golang:1.25 and almalinux9-gobuilder:20260606 to the estate
gobuilder image on every step invoking the Go toolchain (build, test,
pre-commit, release test/build). Add GOCACHE_S3_* env and GOCACHEPROG
pointing go-cache-plugin at an absolute /tmp/gocache cache dir, backed
by the shared S3 bucket via org secrets.
benvin merged commit cb9a264e54 into main 2026-10-02 23:55:36 +10:00
benvin deleted branch benvin/gocache 2026-10-02 23:55:36 +10:00
Sign in to join this conversation.